This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Supporting multiple runtime environments: How?



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]