🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2941

Re: GPM/GPO with Linux-ELF ?

#2941
From: Peter P. Eiserloh
Date: Tue, 24 Oct 1995 20:20
47 lines
2810 bytes
In article <467ntu$git@gina.zfn.uni-bremen.de> Juergen Sahlberg,
sahlberg@fe.uni-bremen.de writes:
>I'd like to move my Linux system(s) from a.out to elf library format (actually
>rebuild my home system from scratch on a new disk).
>GardensPoint's Compilers GPM and GPO seem to support a.out libraries only. Is
>there any way to use them under an elf-based Linux ? Will there be native elf
>support. Any chance for building shared libs ? My first test with  a simple
>single-module program went mad with the final linking step (no wonder! the *.o
>files in the M2LIB/O2LIB have the "wrong" format).
>
>BTW: The same applies to the Simula compiler CIM from Oslo University. As long
>as I couldn't get my workhorses on the new track, I'll stay with the old system
>though I'd like to use features of the (newer) elf-based Linux kernels /
>applications.

Hey,

You can still run older (a.out) applications under the new (1.3.x) linux
kernels.
This allows you to migrate all your apps to ELF over time.  Shared
libraries 
can still be built using the same old methods (mod-tools).  These shared
libs
will be in a.out format though.  You will probaly need both a.out, and
ELF 
shared libraries for quite some time.  You would need to agressively
recompile
all of the apps on your system to ELF only if you needed to remove a.out
support.

Making ELF shared libraries  requires that the machine code be position 
independent (PIC) and of course ELF format.  The linker "ld" is where the
library is actually made.  

I would also like a "gpmakelib" utility similar to "gpmake", and a 
"gpbuildlib" for libraries similar to "build" for applications.

....................................................................
: Peter "Eyes" Eiserloh
: None of the opinions expressed here are in any way related those 
: of my employer.
: Keywords: Linux, Modula-2, Compilers, Esperanto, Physics
----- BEGIN GEEK CODE BLOCK -----
GS/CS d+ s a C++ ULH+++ P L+++ E- W++  N++ K? w- 
M++ V>- PS PE+ Y+ t+ 5++ X++ R(-) tv+ b+++ DI++ D++ 
G- e++ h--- r+++ y+++
----- END GEEK CODE BLOCK -----
Technical Details
Message-ID: <DGyz5I.1zu@avalon.chinalake.navy.mil>
Path: arc1-ca.pugleaf.net!rugeyes.chinalake.navy.mil!Peter_Eyes_Eiserloh
References: <467ntu$git@gina.zfn.uni-bremen.de>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!rugeyes.chinalake.navy.mil!Peter_Eyes_Eiserloh
From: Peter P. Eiserloh <Peter_Eyes_Eiserloh@wssagw.chinalake.navy.mil>
Subject: Re: GPM/GPO with Linux-ELF ?
Content-Type: text/plain; charset=ISO-8859-1
Message-ID: <DGyz5I.1zu@avalon.chinalake.navy.mil>
X-Xxmessage-Id: <ACB2994087014A08@rugeyes.chinalake.navy.mil>
X-Xxdate: Tue, 24 Oct 1995 20:23:12 GMT
Sender: usenet@avalon.chinalake.navy.mil (NAWS news admin)
Content-Transfer-Encoding: 8bit
Organization: Naval Air Warfare Center - Weapons Division
X-Newsreader: Nuntius 2.0.4_68K
References: <467ntu$git@gina.zfn.uni-bremen.de>
Mime-Version: 1.0
Date: Tue, 24 Oct 1995 20:20:05 GMT