Click to See Complete Forum and Search --> : XFLAGS in redhat?


panther
02-19-2003, 12:37 PM
Hi,
I just wonder, and perhaps it is very stupid question
but is ti possible to use XFlags and USE in redhat,
just from curiousity really

z0mbix
02-19-2003, 12:53 PM
Yes, just export these variables before you compile anything e.g.:

export CFLAGS="-O3 -march=<architecture>" && CXXFLAGS=$CFLAGS

This will fill you in on the details:

http://hints.linuxfromscratch.org/hints/optimization.txt

panther
02-19-2003, 01:06 PM
hi again, still newbies questions but.. When we type architecture
do we put pentium4
or 686?:D

thanks

panther
02-19-2003, 01:08 PM
yes now I read the actuall page, yes .. I can see
I hope that this can really optimize red hat

Cheers
:D