[SM-Discuss] Compiling xfree86 with gcc2

Duane Macolm d.malcolm at auckland.ac.nz
Mon Nov 25 13:43:46 EST 2002


Does the host.def file get regenerated if if I run "cast -c xfree86" 
because this is what I do and I don't get any of my previously saved 
settings showing up.

Arwed von Merkatz wrote:

>On Mon, Nov 25, 2002 at 04:54:45PM +1300, Duane Malcolm wrote:
>  
>
>>I THINK the problem has to do with the CONFIGURE script for xfree86, 
>>specifically the "generate_host_def"  function. Where it generates the 
>>host.def file to include the optimization flags using $CFLAGS. But I 
>>have a feeling it doesn't take the USEGCC2 into account when it 
>>generates the file and uses the gcc3 optimization flags. So host.def has 
>>set the gcc3 flags even though it is using gcc2 and cast is setting the 
>>gcc2 optimization flags, I think this explains the repeated optimization 
>>flags.
>>    
>>
>
>Just a note, the host.def file is only regenerated if you cast -r xfree,
>so you have to do this if you changed optimization settings.
>
>--
>Arwed
>aka alley_cat
>_______________________________________________
>SM-Discuss mailing list
>SM-Discuss at lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>  
>






More information about the SM-Discuss mailing list