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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f7cad74a76470a73,start X-Google-Attributes: gid103376,public From: spif@news.enst.fr (Projet SPIF) Subject: Help : Building gnat tools upon a cross gcc ? Date: 1996/07/30 Message-ID: <4tl51s$jh@enst.enst.fr>#1/1 X-Deja-AN: 171208976 content-type: text/plain; charset=iso-8859-1 organization: Ecole Nationale Superieure des Telecommunications, Paris France mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-07-30T00:00:00+00:00 List-Id: Hi all, I am currently working on the port of the GNAT run time library for an embedded system. My first work is to install GNAT with gcc as a cross compiler (sparc-solaris -> m68k-bare) with a dummy RTL for the moment. Everything runs fine for the compiler itself and the dummy lib, but I have troubles with the GNAT tools (gnatlink, ...). The makefile clearly says : "Use for native compiler only" before the gnatlib_and_tools target, and it effectively does not work, but I have no idea of how to do it in a different way. I may miss something in the installation process or in the under- standing of the use of these tools in a cross compiling environment. I tried the following installation sequence : - Applied the GNAT patches for gcc 2.7.2 - Copied the ada directory from the GNAT sources to the root of the gcc source tree - Touched the right files in the copied ada directory - Configured gcc as a cross compiler - Ran make CC=gcc CFLAGS="-O2" LANGUAGES="c ada" - Skipped the bootstrap sequence for obvious reasons And I now would like to make the tools but ... Any help would be greatly appreciated. Thanks in advance. Olivier.