Setting gcc default to different mabi&mcpu&others at runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

  Out of curiosity, I wonder if it is posible (via spec file or other)
to set compiler defaults without changing any line in the application
build.

  Let me explain it as an example. Let's think I have an application
and I have several ARM boards and I want to execute the code in
several boards, but those ARM processors have different ABI and CPU
with different floating point extensions. As a requirement I should
not touch the application build system, so I can build a particular
compiler for each board and compile the code with that compiler, but
hence my question, would it be possible to change compiler default
values at runtime by setting them in a file and not passing them as
arguments?

  Apologies if I am not precise enough in my comments, I am not native
english speaker.

Kind regards,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux