Re: Problems compiling BUILDING from STABLE



Daniel Molina Wegener wrote:
On Saturday 26 May 2007 13:14:52 Maslan wrote:
Have u missed with the CFLAGS ?
Sorry, i mean "messed up"

Sorry, I can't understand... what's wrong with my CFLAGS.
These flags works for STABLE -- in my make.conf:

--------------------------------8<-------------------------
LOCLACFLAGS=-march=prescott -O2 -pipe
CFLAGS=$(LOCLACFLAGS)
COPTFLAGS=$(LOCLACFLAGS)
CXXFLAGS+=$(LOCLACFLAGS)
CXXOPTFLAGS+=$(LOCLACFLAGS)
--------------------------------8<-------------------------

Why shouln't work for CURRENT?

All the other CFLAGS are added because the targets are using the level 6 of warnings in sys/mk/bsd.sys.mk


---
OS Developer
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
---
http://libosdk.berlios.de
[SNIP]

Regards,

Set CPUTYPE to prescott. You don't need to pass it in as -march, like the manpage for gcc says.

Only pass it in as -march=prescott if you're compiling your own program outside of make/gmake.

-Garrett
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [PATCH] More accessible usage of custom flags
    ... > the individual config options for gcc flags and integrate them into ... options differ between gcc versions. ... for the entire kernel build process. ... >> I'm hoping we don't need any stern warnings in the kernel configuration. ...
    (Linux-Kernel)
  • Re: [PATCH] More accessible usage of custom flags
    ... the individual config options for gcc flags and integrate them into ... having config options like CC_OPTIMIZE_FOR_SIZE ... Although I expect configuring bogus gcc flags is going to break the ... the entire kernel configuration for what they did wrong. ...
    (Linux-Kernel)
  • Re: Options enabled under optimization
    ... > Ex Some flags that are enabled when -O is enabled is ... For Python, the answer is "none at all". ... For gcc, the answer can be found in the gcc documentation, available ... (this is the first hit if you google for "gcc optimization options") ...
    (comp.lang.python)
  • Re: [PATCH] More accessible usage of custom flags
    ... > allows for one to set the flags via the configuration interface. ... > micro-optimization (facilitated by such features as the upcoming gcc ... > CFLAGS used for the entire kernel do not impact the safety of the ... I'm hoping we don't need any stern warnings in the kernel configuration. ...
    (Linux-Kernel)
  • Re: [PATCH] More accessible usage of custom flags
    ... allows for one to set the flags via the configuration interface. ... Though it would be excellent if the kernel had more gcc ... CFLAGS used for the entire kernel do not impact the safety of the ... I'm hoping we don't need any stern warnings in the kernel configuration. ...
    (Linux-Kernel)