Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 08:44:22 -0700
From:      Warner Losh <imp@village.org>
To:        Marcel Moolenaar <marcel@scc.nl>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src Makefile.inc1 src/usr.bin/make Makefile 
Message-ID:  <199911161544.IAA08642@harmony.village.org>
In-Reply-To: Your message of "Tue, 16 Nov 1999 08:41:08 %2B0100." <38310A94.B1939A83@scc.nl> 
References:  <38310A94.B1939A83@scc.nl>  <199911151707.JAA03820@freefall.freebsd.org> <199911160533.WAA02391@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <38310A94.B1939A83@scc.nl> Marcel Moolenaar writes:
: If make is compiled against the right set of headers, you are never
: going to need this. The Makefiles are full of those `cross-compilation'
: hacks that are basicly only needed because cross-building is broken by
: design. The only way to fix cross-building is to get to the bones of
: things and CROSS_MAKE_FLAGS is currently in the way.

But without them, make won't define MACHINE and MACHINE_ARCH
correctly, which is critical to have any sort of cross building work.
I was unable to get cross compiling working at all by defining MACHINE
and MACHINE_ARCH on the command line, but I think that is due to make
trying to second guess things (maybe this code has been slain inside
of make).  That's why it was needed.  What are you replacing it with?
What's your cross building direction?

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911161544.IAA08642>