On 2/9/2010 9:01 AM, Joel Sherrill wrote:
On 02/08/2010 12:57 PM, Andrew Whitworth wrote:
I'm pretty strongly in favor of this change. Having more information
available about how individual files are compiled is always a good
thing. %2 improvement on build times isn't itself a motivating factor,
but a more straight-forward build process is.

Since we (RTEMS folks) want Parrot on RTEMS don't forget
that cross-builds often will have to specify flags for CPU
model. We will add "-BBSPDIR/ -specs bsp_specs -qrtems" on
every compile line. This adds a directory to the system
path for the compiler that is board specific and augments
gcc's rules with bsp_specs.

If Parrot builds tools on the host require to build the target code there needs to be 2 separate sets of flags. Does it ? Typically HOST_CFLAGS handles the host and CFLAGS handles the target. This also goes for CC where HOST_CC handles the host compiler and CC is the target compiler.

Chris
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to