delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/28/12:15:52

From: kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
Subject: Re: ld problem
To: Piet=Mertens%users%LW AT cc3 DOT kuleuven DOT ac DOT be
Date: Thu, 28 Apr 94 17:28:58 MET DST
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (user alias)

> 
> > From:           kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
> > Subject:        ld -r -x problem
> > Date:           Thursday, April 28, 1994 14:04:33 CET
> > 
> > I believe it is a known fact that ld in 1.11 is broken wrt
> > the -r -x option. ld breaks program (or incorrectly links ~) when
> > they constitute of modules (.o files) that have been assembled
> > via the ld -r -x -o file.o a.o b.o c.o method.
> Thanks for your comment.

Did I comment? I thought I started a thread (Subject:).

> All of my libs are made with: ar -r *.o
> Maybe the djgpp libs are assembled with ld -r -x ? I don't know.

No. *libs* are always build using ar. The method ld -r -x I was
addressing is just a convenient method of catenating several .o files
into one .o file bye preserving the relocation information so the
resulting file can be linked again against other relocatable modules.


> If I could find GCC-RM, maybe it would solve my problem.
                  ^^^^^^
What is GCC-RM ? What problem do *you* have?
> 
> Piet
> 

--Chris  Christoph P. U. Kukulies    kuku AT acds DOT physik DOT rwth-aachen DOT de	 
FreeBSD 1.1.0(Current) (GILSYSCONS) #6: Mon Apr 25 12:03:21 MET DST 1994

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019