Subject: Re: CVS commit: basesrc
To: =?iso-8859-1?Q?Jarom=EDr_Dolecek?= <>
From: Andrew Brown <>
List: tech-toolchain
Date: 11/14/2000 10:48:39
>>     if ${CC} -E endian-test.i >/dev/null 2>&1; then
>>         [...little-endian...]
>>     else
>>         [...big-endian...]
>>     fi
>Would it be desirable to put this into basesrc/etc/endian-test.i
>and add the check to Makefile ? Or is it better to add appropriate flag
>to individual basesrc/etc/etc.*/ ?

change '${CC}' to '${CC} -nostdinc -I${DESTDIR}/usr/include' and you
might be onto something.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."