cross compile libc

Peter Grehan grehan at freebsd.org
Tue Mar 8 06:32:39 GMT 2005


> 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

later,

Peter.


More information about the freebsd-ppc mailing list