Date: Sat, 31 Aug 2002 22:12:27 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Peter Wemm <peter@wemm.org> Cc: Henri-Pierre CHARLES <Henri-Pierre.Charles@prism.uvsq.fr>, FreeBSD-ia64@FreeBSD.ORG Subject: Re: Build cross gcc i386 -> ia64 Message-ID: <20020901051227.GA1819@dhcp01.pn.xcllnt.net> In-Reply-To: <20020901045806.6A0A12A7D6@canning.wemm.org> References: <20020901034607.GB1623@dhcp01.pn.xcllnt.net> <20020901045806.6A0A12A7D6@canning.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 31, 2002 at 09:58:06PM -0700, Peter Wemm wrote: > > > > > > binutils 2.12 build and install correctly > > > gcc build correctly, but I can't build libgcc. > > > > I believe this is a header conflict. IINM, you only have to remove the > > headers that get installed under /usr/local/lib/gcc-lib/$TARGET/$VER/include > > Is it about being unable to include <machine/ansi.h>? No, gcc installs some dummy headers (I believe with fixincludes) that apparently need to solve some portability problems. It is said those headers are reasonable, but they seem to conflict with our headers. > I usually solve that > one by doing a 'cd src/include; make MACHINE_ARCH=ia64 \ > DESTDIR=/usr/local/ia64-unknown-freebsd all install' after doing some > preliminary mkdirs to create /usr/local/ia64-unknown-freebsd/usr/include/* > directories. Then make a symlink from as > /usr/local/ia64-unknown-freebsd/include to point to there. Yes. Once a cross-gcc is installed, that's what I do as well. I even had patches to do this automagically for a build world by creating a symlink from within the temporary root (under /usr/obj) to the gcc include and lib directories. Whenever a buildworld was populating the temporary root, it was immediately updating my cross-gcc env. I think the libgcc problem H-P mentioned happens as part of a make install for gcc (just chime in H-P if I'm wrong...). -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020901051227.GA1819>