From: re@waporo.muc.de (Rolf Ebert)
Subject: Re: Error compiling GNAT 2.00 on Linux
Date: 4 Dec 1994 22:51:22 +0100
Date: 1994-12-04T22:51:22+01:00 [thread overview]
Message-ID: <RE.94Dec4225121@waporo.muc.de> (raw)
In-Reply-To: dreish@umich.edu's message of 3 Dec 1994 23:53:21 GMT
>>>>> "DR" == Daniel Reish <dreish@umich.edu> writes:
DR> While attempting to compile GNAT 2.00 on my Linux machine, I ran
DR> into the following error:
You must apply the patches first, that you should have got with your
last binary distribution. Find the ones for gnat-2.00 at the end of this
post.
DR> a-misc.o(.text+0x296): undefined reference to `setjmp'
This is the very old and known problem of inconsisties between the
different libc implementations on Linux and SunOS.
DR> This was after entering the ada/ subdirectory in the main
DR> gcc-2.6.2 directory. The line it stops at is the one in which
DR> it links those 30 or 40 object files together into ./gnat1.
DR> Does anyone know what might be going wrong? I new to Ada, so I
DR> don't really know where to start looking, myself. Since I would
DR> imagine this is of fairly general interest, since there isn't a
DR> precompiled GNAT 2.00 for Linux yet, please respond by followup.
DR> Thanks.
I have a running gnat-2.00 on my Linux box. With a UUCP only access to
the internet I cannot upload it directly from my home machine. Tomorrow
(Monday) morning I'll take 2 floppies to a friends machine, from where
I'll put it on sunsite and tsx-11. After that I'll send out an
announcement in comp.os.linux.announce.
DR> ________________________________________________________________________
DR> Daniel Reish <dreish@umich.edu> R&D Programmer Hours: Usually on
DR> weekdays, sometimes Packard Business Systems, Inc. on weekends,
DR> mostly during the 320 S. Main St. day. (No guarantees.) Ann
DR> Arbor, MI 48104
Rolf
Rolf Ebert Beratung fuer Energiesysteme und Informatik
Erich Kaestner Str. 17 Conseil en Energetique et Informatique
D - 80797 Muenchen (Team Ada) Tel.: +49-89-30.77.88.00
Germany Fax.: +49-89-30.77.91.00
*** a-misc.c.orig Wed Nov 30 19:38:51 1994
--- a-misc.c Fri Dec 2 18:43:53 1994
***************
*** 25,30 ****
--- 25,31 ----
#include "config.h"
#include <stdio.h>
#include <string.h>
+ #include <setjmp.h>
#include "tree.h"
#include "rtl.h"
#include "expr.h"
*** a-trans3.c~ Fri Dec 2 18:43:56 1994
--- a-trans3.c Fri Dec 2 18:45:22 1994
***************
*** 593,599 ****
--- 593,603 ----
#ifdef WINNT
("_setjmp", NULL_PTR,
#else
+ #ifdef __linux__
+ ("__setjmp", NULL_PTR,
+ #else
("setjmp", NULL_PTR,
+ #endif
#endif
build_function_type (integer_type_node,
tree_cons (NULL_TREE, jmpbuf_ptr_type, endlink)),
*** gnat1drv.adb~ Fri Dec 2 18:43:54 1994
--- gnat1drv.adb Fri Dec 2 18:46:00 1994
***************
*** 79,85 ****
Write_Eol;
Write_Str ("NYU GNAT Compiler Version ");
Write_Str (Gnat_Version_String);
! Write_Str (" (C) Copyright NYU, 1992,1993,1994");
Write_Eol;
end if;
--- 79,85 ----
Write_Eol;
Write_Str ("NYU GNAT Compiler Version ");
Write_Str (Gnat_Version_String);
! Write_Str (" Linux pl. 1 (C) Copyright NYU, 1992,1993,1994");
Write_Eol;
end if;
--
Rolf Ebert Beratung fuer Energiesysteme und Informatik
Erich Kaestner Str. 17 Conseil en Energetique et Informatique
D - 80797 Muenchen (Team Ada) Tel.: +49-89-30.77.88.00
Germany Fax.: +49-89-30.77.91.00
--
Rolf Ebert Beratung fuer Energiesysteme und Informatik
Erich Kaestner Str. 17 Conseil en Energetique et Informatique
D - 80797 Muenchen (Team Ada) Tel.: +49-89-30.77.88.00
Germany Fax.: +49-89-30.77.91.00
next prev parent reply other threads:[~1994-12-04 21:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-12-03 23:53 Error compiling GNAT 2.00 on Linux Daniel Reish
1994-12-04 21:51 ` Rolf Ebert [this message]
1994-12-04 22:06 ` Vladimir Vukicevic
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox