Buildworld from FreeBSD4.8

Matthew Dillon dillon at apollo.backplane.com
Sat Feb 7 18:04:51 PST 2004


: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

    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 at xxxxxxxxxxxxx>





More information about the Submit mailing list