This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Supporting multiple runtime environments: How?
- To: "Rask Ingemann Lambertsen" <rask at kampsax dot k-net dot dk>
- Subject: Re: Supporting multiple runtime environments: How?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 08 Jun 1998 10:18:25 -0600
- cc: "EGCS mailing list" <egcs at cygnus dot com>
- Reply-To: law at cygnus dot com
In message <1877.463T1705T2674469@kampsax.k-net.dk>you write:
> I'm looking for a way of allowing compile time selection of runtime
> environment (libc.a etc.) on the m68k-amigaos and ppc-amigaos targets.
> Currently, one can select between ixemul and libnix (m68k-amigaos only at
> this time), but it is not very cleanly implemented and relies on both
> environments to use the same include files. A recent addition is librilc
> (m68k-amigaos and ppc-amigaos), which uses completely different header file > s,
> and this is likely also the case with glibc, a possible fourth alternative in
> the future. Ideally the user should be able to select a runtime environmentn
> with a -runtime=<runtime> switch to gcc.
It would be nice. But as you've found out it can be difficult.
You may be able to get what you want through the use of -b and
maybe some symlinks for the things which are shared.
jeff