delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/17/05:00:11

Date: Wed, 17 Dec 1997 11:59:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Pavel Ozerski <pavel AT insect DOT ief DOT spb DOT su>
cc: djgpp AT delorie DOT com
Subject: Re: a question about linking with RSXNT
In-Reply-To: <AA_VtbqG11@insect.ief.spb.su>
Message-ID: <Pine.SUN.3.91.971217115717.28294Q-100000@is>
MIME-Version: 1.0

On Wed, 17 Dec 1997, Pavel Ozerski wrote:

> I do'nt know switches for it's AS and LD because
> these programs are (as I understand) calling normally not direct but from GCC.
> Therefory my .o files cannot be linked (e.g., incorrect start point etc).

If you add -v to the gcc command line, it will print the exact command 
line it uses to invoke ld, complete with all the switches and stuff.  You 
should be able to use that (and the `ld' manual) to figure out how do you 
need to call `ld' directly.

- Raw text -


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