DragonFly BSD
DragonFly submit List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Buildworld from FreeBSD4.8


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 7 Feb 2004 18:04:20 -0800 (PST)

:germain@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

    I think David was just suggesting a quick hack to be sure that was the
    issue.  The real fix is to use both __FreeBSD__ and __DragonFly__
    tests in the build tools (not the entirety of the buildworld source base,
    just the parts that buildworld compiles up using the local compiler
    to generate the tools it needs to compile the rest of the world).

					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]