comp.lang.ada
 help / color / mirror / Atom feed
From: Clayton Weaver <cgweav@eskimo.com>
Subject: Re: Gnat (3.10p) on RedHat Linux := Success :-)
Date: 1998/05/24
Date: 1998-05-24T00:00:00+00:00	[thread overview]
Message-ID: <Pine.SUN.3.96.980524103110.9686C-100000@eskimo.com> (raw)
In-Reply-To: Pine.GSO.3.96.980521192956.17686A-100000@bree.teisa.unican.es


Gee, that's messy, I just can't bring myself to install glibc and libc5 on
the same system. What happens when the compiler sees "-lc" in a link
command line? What was libc.so linked to the last time I compiled
something?

Why not dual boot? You must have some disk space to be running gcc and
gnat compiles. Make a few empty partitions, one for /, one for /usr/src,
another for /usr/lib or /usr. You can share the swap partition and /tmp
partition (ext2fs 1.06 runs on both libc5 and glibc systems, and up
through its most current version uses the same filesystem format with both
libc versions).

ftp rh 4.2 or slackware 3.4 or a libc5 debian (or get the S.u.S.E. cd
that's now $1.95 at http://linuxcentral.com), with kernel 2.0.3-something
and libc5), make boot disks, install it on the new partitions. If you want
to use gnat-3.10p with gcc-2.7.2.1 (compiled against libc5), put it on the
(minimal) all-libc5 system. I'd guess you could easily do it with 300mb of
free space, and that's probably generous, when you consider what all a
standard linux system has that you don't need to develop ada code with
gnat, gcc, and libc5. 

When a more-or-less validated gnat is released with tested glibc support,
install it and lose the system on the old libc 5 partitions (or keep it
for comparison compiling code that seems to find a compiler bug).

Regards, Clayton Weaver  cgweav@eskimo.com  (Seattle)

-- 

Regards, Clayton Weaver  cgweav@eskimo.com  (Seattle)

"Since this is a technical newsgroup and has mostly done a pretty good job




      reply	other threads:[~1998-05-24  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-21  0:00 Gnat (3.10p) on RedHat Linux := Success :-) Andreas Jungmaier
1998-05-24  0:00 ` Clayton Weaver [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox