[comp.soft-sys.andrew] libc_G0.a on a DECstation3100

dieter@mn.osf.org (Dieter Mayer) (04/25/91)

Hi,

	I am trying to port Andrew Toolkit on a DECstation 3100. My problem 
is to get the libc_G0.a. 
The README File says:

> 1.2.7   Notes on Installation on a MIPS system
> 
> The MIPS compiler tools have a notion of a global area into which small
> data items are allocated.  This allows the compiler to generate
> small-offset addresses for these items, which gives better performance.
> By default, any item eight (8) bytes or smaller gets allocated into this
> area.  Unfortunately, the global area mechanism clashes horribly with
> the way dynamic loading works.  The problem is that the global area is
> fixed in size at link time and cannot be expanded at run time.
> Therefore if a dynamic object (.do file) contains any data that must go
> in the global area, the object cannot be loaded.
> 
> In order to get around this problem, all code that goes into .do files
> must be compiled with the "-G 0" switch.  For source code shipped in the
> Andrew distribution, this is not really a problem, since we just compile
> everything -G 0.  However, one must also provide -G 0 versions of
> certain system libraries as well.  In particular, the following
> libraries are needed in -G 0 form:
>   . .  .
> On some systems, these libraries will be available in the same place as
> their -G 8 couterparts, but with _G0 appended to their names (e.g.
> libc_G0.a instead of libc.a).  On other systems, one must compile these
> libraries from source.

So, my problem is to get hold of a library compiled with -G 0. Any help
will be highly appreciated.


Thanks in advance


Dieter

-------------------------------------------------------------------------

Dieter Mayer				    dieter@mn.osf.org
Open Software Foundation, Inc.-Munich       dieter@osf.de
Germany 
Tel: +49 89 93 092 117                      Fax: +49 89 93 092 104
********************************************************************