cross compile libc

Martin Minkus diskiller at diskiller.net
Tue Mar 8 06:36:18 GMT 2005


On 8/3/05 5:08 PM, "Peter Grehan" <grehan at freebsd.org> wrote:

>> Just a warning. Make sure you edit your /etc/make.conf
>> 
>> And change any lines that contain something like this:
>> 
>> CFLAGS=-O -pipe -march=pentiumpro -mtune=pentiumpro
>> 
>> To this:
>> 
>> CFLAGS=-O -pipe
> 
>   You might be able to conditionalize your make.conf with something like:
> 
> .if ${TARGET_ARCH} == "i386"
> CFLAGS=-O -pipe -march=pentiumpro -mtune=pentiumpro
> .endif

Not a bad idea! I'll do that.

Thanks,
Martin.




More information about the freebsd-ppc mailing list