Date: Thu, 18 Nov 1999 17:20:47 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: marcel@scc.nl (Marcel Moolenaar) Cc: arch@freebsd.org Subject: Re: Cross compilation goals. Message-ID: <199911181720.KAA14611@usr02.primenet.com> In-Reply-To: <3833C40B.EC5290CF@scc.nl> from "Marcel Moolenaar" at Nov 18, 99 10:16:59 am
next in thread | previous in thread | raw e-mail | index | archive | help
> My history of thoughts (in no particular order): > > The sigset_t changes revealed 2 problems: > 1) I wasn't able to at least compile any changes I made to the Alpha > port, because I didn't have an Alpha during that time, > 2) makeworld broke because the newly compiled tools were made against > the new sigset_t while the system wasn't using it yet. > > If we fix 1), then 2) is gone too, right? right! One non-obvious issue, until you try to compile the system with a different GCC or EGCS compiler than the default, is that the .mk files override the correct compiler defaults with incorrect system defaults for include and compiler library paths when DESTDIR is set. Obviously, you have to set this for a proper cross-compile. Another issue is that the GCC/EGCS code "front ending" is not very well integrated; you end up with huge amounts of installed headers, even if you are cross-compiling the same OS on another platform. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911181720.KAA14611>