Subject: Re: CFLAGS and building X from xsrc
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
List: current-users
Date: 09/04/2004 16:11:30
>> I might be the zillionth one to ask this (in which case I apologize),
>> but what is the trick to get gcc compile things in xsrc with the
>> CFLAGS
>> defined in /etc/mk.conf ?
>>
>> Unlike kernel or userland builds, X builds seem to ignore totally what
>> is in this file.
>
> If you are building xsrc from within xsrc, you are NOT using
> /etc/mk.conf settings. You need to tweak the imake configuration
> (local.def, iirc).
dreyfus: {28} find / -name local.def
/usr/xsrc/xfree/xc/extras/fontconfig/local.def
dreyfus: {29}
?
>
> If you use src/x11 to (cross)build, settings from /etc/mk.conf should
> work just fine.
that is symlinking or mv /usr/xsrc to /usr/src/x11?
tia uwe!
>
> SY, Uwe
> --
> uwe@ptc.spbu.ru | Zu Grunde kommen
> http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
--
mit vorzueglichster Hochachtung/best regards,
Timo Schoeler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin |
Germany
Fon ++49 30 25 20 30 20 | Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt