Re: Build Probs. - CFLAGS ignored

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

 



Jason Ouellette <jouellette@xxxxxxxxx> writes:

> My CFLAGS environment variable is completely ignored and as a result,
> some of the files get compiled for 32bits and some 64bits, so when it
> tries to link them, it fails. At least, that's what I think is
> happening.

Next time, tell us exactly how you ran configure and exactly how you ran
make.

What you are looking for is STAGE1_CFLAGS to set the flags to use when
building stage 1 and BOOT_CFLAGS to set the flags to use when building
stages 2 and 3.  Perhaps something like:
    make STAGE1_CFLAGS="-m64" BOOT_CFLAGS="-m64 -O2"

Ian

[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