Hector Oron <hector.oron@xxxxxxxxx> writes: > 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? Since these can be controlled by command line options, the easiest way is to just write a tiney wrapper script which adds the appropriate options to the command line. Ian