Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2007 14:42:37 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        dmw@unete.cl
Cc:        freebsd-hackers@freebsd.org, Maslan <maslanbsd@gmail.com>
Subject:   Re: Problems compiling BUILDING from STABLE
Message-ID:  <4658A9CD.2040607@u.washington.edu>
In-Reply-To: <200705261343.30607.dmw@unete.cl>
References:  <200705261242.58950.dmw@unete.cl>	<319cceca0705260959s24574b11u5947fec0ff1a8577@mail.gmail.com>	<319cceca0705261014s5bde07e1p770aabb6301a6b7f@mail.gmail.com> <200705261343.30607.dmw@unete.cl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4658A9CD.2040607>