delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/27/15:56:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37EFCBF1.13E7203A@mcd.alcatel.be>
Date: Mon, 27 Sep 1999 21:56:33 +0200
From: Richard <hicklinr AT mcd DOT alcatel DOT be>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: ld or gcc failing?
References: <199909271924 DOT OAA11550 AT mercury DOT xraylith DOT wisc DOT edu>

> Richard <hicklinr AT mcd DOT alcatel DOT be> writes:
> > I must ask: what is relocatable output actually for (that can't be provided by
> > archives)?
> > (sorry: this is now off topic).
> Essentially -r creates an executable of sorts that contains the relocation
> information so that you can use it in subsequent linking. It also does not
> lay out the common symbols, and does not complain if there are undefined
> symbols during this relocatable link.
> More confused yet ;-?

I certainly am!  What could be the purpose of this?

I'm particularly interested because I came across the 16-bit 'file truncated'
problem, and thought I'd solved it by using archives.  But then the software didn't
work: modules (it was CHILL) that were to be swapped into context were just not
there - though 'objdump' showed their entry points.  I tried this on Solaris SPARC
too (where there was no relocatable size problem) - and had the same problem.  It
was necessary to link relocatably for some reason.  I have not had the time to
learn enough about the product - or CHILL - to attempt to analyse this.  The
quickest solution for me is not to let the relocatables get too large (but too many
files and I have a line-length problem) and not to waste time wondering what is
actually going on.  It must have something to do with a CHILL peculiarity, but I
have no idea what.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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