From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,df1307cb45fd3f71,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-22 10:03:58 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!colt.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: How to build a bare GNAT compiler? Date: Mon, 22 Dec 2003 18:03:57 +0000 Message-ID: NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1072116237 17787 62.49.62.197 (22 Dec 2003 18:03:57 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 22 Dec 2003 18:03:57 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:3705 Date: 2003-12-22T18:03:57+00:00 List-Id: Hi, I want to try building a kernel image in Ada for MIPS-ELF. I can build a C/C++ compiler and just not use the runtime libraries, but not for Ada. What exactly do I have to do to achieve this? I currently have the latest gcc-3.3.2 (core, g++, objc & Ada) built. For GNAT, there exists only mips-elf-gnatbind & gnat1, no other cross binaries get build because it wants the RTS built before the tools can be built. So, if I try to build an empty Ada program, I get the following error: laguest@rogue ada-test $ mips-elf-gcc -c -v empty.adb Reading specs from /home/laguest/opt/xgcc-mips-elf/lib/gcc-lib/mips-elf/3.3.2/specs Configured with: ../gcc-3.3.2/configure --prefix=/home/laguest/opt/xgcc-mips-elf --target=mips-elf --disable-nls --with-gnu-as --with-gnu-ld Thread model: single gcc version 3.3.2 /home/laguest/opt/xgcc-mips-elf/lib/gcc-lib/mips-elf/3.3.2/gnat1 -quiet -dumpbase empty.adb empty.adb -o /tmp/cc1YjQUf.s fatal error, run-time library not installed correctly cannot locate file system.ads compilation abandoned This *must* be possible? Does anyone have a clue as to how to do it? Thanks, Luke.