Date: Thu, 10 Sep 1998 06:08:33 -0500 (CDT) From: "Daniel M. Eischen" <deischen@iworks.interworks.org> To: b0l6604@unix.tamu.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: GNAT cross compiler Message-ID: <199809101108.GAA18460@iworks.interworks.org>
next in thread | raw e-mail | index | archive | help
> Can GNAT port be used to build a cross compiler? My target is x86 and > Coldfire. I saw GCC cross compiler for Coldfire in the port collection, so > I kinda hope that GNAT port can do the same. No, not without modification. Note that this is not a trival thing to do. GNAT can be built as a cross compiler, and I actually did this for VxWorks targets, but you really have to know what your are doing. You first need to build the GCC cross compiler for x86/Coldfire, and this includes binutils and newlib (for the same target). You can start by trying to modify the crossm68k port to be crossx86. If you get that far, then you'll have to target GNAT for the same target (by default, if GNAT doesn't recognize the configure target, you'll get a GNAT with no run-time, so even the Ada delay statement will not work). Then you'll have to figure out how to add basic run-time support. Dan Eischen deischen@iworks.InterWorks.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809101108.GAA18460>