XFree86-4.01 and Flags

Rudolf Floers r.floers at web.de
Mon Nov 20 16:20:34 PST 2000


the gcc info page says: "-march=xxx implies -mcpu=xxx",
so i think you don't need "-mcpu=xxx".
and iirc, gerard said he's gonna change that in the next version of the
lfs-book.


>Try making both flags say the same thing, like "-O3 -march=pentium
>-mcpu=pentium". I've never compiled X, but here's something else to
>check: when you do the "make" (or is it "make world" or something in
>X), do you see your CFLAG settings actually included in the various
>compilation commands? If not, you might need to work harder at
>finding the right magic words to get X's make to pick them up.
>---scott
>
>On Sun, 19 Nov 2000 23:20:13 -0800, John E. Garrott Sr said:
>
>> After much research, both in my system docs and on the
>>  net, I set CFLAGS="-O3 -mcpu=i586 -march=pentium" in
>>  my .bash_profile.
>>
>>  i586 and pentium were the only values I found that
>>  would work.
>>
>>  However, following Sergey Ostrovsky's X11Guide, X4.01
>>  tripped over -march=pentium, converting the "pentium"
>>  into "1" and choking.
>>
>>  This leads me to suspect that I don't really know
>>  what is supposed to be in the "-mcpu" and "-march"
>>  arguments.
>>
>>  Could someone explain these to me, or point me to
>>  some simple documentation on it?  Preferably in
>>  words of one syllable -- I might, on a good day,
>>  be able to handle two syllables, if there aren't
>>  too many of them :)
>>
>>  TIA,
>>
>>  John
>>
>>  --
>>  Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
>>  and put unsubscribe in the subject header of the message
>>
>>
>
>
>--
>Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
>and put unsubscribe in the subject header of the message




-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list