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: fd2d7,dea0b014064b694a X-Google-Attributes: gidfd2d7,public X-Google-Thread: 103376,a1f161d1886bdab2 X-Google-Attributes: gid103376,public X-Google-Thread: f9b51,a1f161d1886bdab2 X-Google-Attributes: gidf9b51,public From: Corey Minyard Subject: Re: GNAT compilation Date: 1997/09/17 Message-ID: #1/1 X-Deja-AN: 273195940 Sender: minyard@wf-rch.cirr.com References: <754.197T395T13193179@imaginet.fr> Organization: Wonderforce Research Newsgroups: comp.lang.ada,comp.os.linux.m68k,comp.os.linux.setup Date: 1997-09-17T00:00:00+00:00 List-Id: "Frederic Jacquet" writes: > > Hi every body, > > Does anyone suceed compiling GNAT on Linux : I have good a problem, it tries > to use gnatlink BEFORE creating it ! But I think I follow the rule by the > book with GCC2.7.2.1.orig debian and gnat_3.04-2 debian too and I recompile > GCC with the standard commands > ./configure > make CC=gcc CFLAGS="-O2" LANGUAGES="c ada c++" > make CC=gcc CFLAGS="-O2" LANGUAGES="c ada c++" bootstrap > make CC=gcc CFLAGS="-O2" gnatlib_and_tools > make install LANGUAGES="c ada c++" > > > Any idea ? > You have to install a binary version of GNAT before recompiling it. GNAT is written in Ada, so you have to have an Ada compiler (namely GNAT) to recompile it. Thus it uses gnatlink before it compiles it. I would also surmise that since you are posting this to comp.os.linux.m68k, you are compiling it on a 68k machine. This requires you to cross-compile the compiler on another supported machine to bootstrap it. Plus you probably have to do some porting work. This is not impossible, but not for the faint of heart. -- Corey Minyard Internet: minyard@acm.org Work: minyard@nortel.ca UUCP: minyard@wf-rch.cirr.com