Experimental GCC supporting dynamic linking and shared libraries

Lee Noar leenoar at ukos.com
Tue Nov 22 12:14:40 PST 2005


I've uploaded an unofficial, experimental version of GCC to my
web site:

<http://www.leenoar.ukos.com/gcc/index.html>

This is an ELF only toolchain which can be used to build shared
libraries and dynamically linked binaries for RISC OS.
It comprises of GCC 3.4.4 and binutils 2.15. All tools supplied
are themselves dynamically linked (which helps test the system
as it's developed).

To use this GCC and any binaries it produces, there are several
other components required that are also on the site. The loaders
package consists of the static ELF loader, dynamic loader and
support module, and there are shared library versions of
UnixLib, libgcc and libstdc++.

This release also introduces a simple symbolic link system to
allow one file to be referenced by more than one name. Support
for this is included in UnixLib and the loaders and is primarily
to allow the RISC OS shared library system to mimic the Linux
one. This is a fairly new addition and so testing hasn't been as
rigorous.

Although all should be 32bit compatible, shared libraries are
stored in the RMA on all systems. I intend to change this to a
dynamic area for 32bit systems in a future release.

Lee.

-- 
   |     |\ |           http://www.leenoar.ukos.com/index.php
   |__ee | \|oar        StrongARM Risc PC, RISC OS 4.
    leenoar at ukos.com
  Manchester, England




More information about the gcc mailing list