Buildworld from FreeBSD4.8

Robert Garrett rg70 at sbcglobal.net
Sat Feb 7 18:12:35 PST 2004


Hiten Pandya wrote:

> germain at xxxxxxxxxx wrote:
>> This made the buildworld work when going from freebsd 4.8 to dragonfly
>> 
>> 
>> gold# diff -uN exec_aout.c.old  exec_aout.c
>> --- exec_aout.c.old     Sat Feb  7 17:52:53 2004
>> +++ exec_aout.c Sat Feb  7 17:24:56 2004
>> @@ -42,6 +42,10 @@
>> 
>>  #include "extern.h"
>> 
>> +#ifndef __DragonFly__
>> +#define __DragonFly__
>> +#endif
>> +
> 
> Shouldn't this be somewhere in sys/cdefs.h or some other
> compiler related header?
> 
> -- Hiten
NO!! ... this is an overide expecially for the cross build,
its only purpose is to allow the buildtools to build on FreeBSD

Rob





More information about the Submit mailing list