delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/26/17:30:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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
From: "Andre Oliveira da Costa" <costa AT cade DOT com DOT br>
To: "Cygwin" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Linking problems
Date: Wed, 26 Jan 2000 20:30:51 -0200
Message-ID: <001901bf684d$00a86670$8400000a@costa.cadenet.com.br>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Importance: Normal
In-Reply-To: <000201bf67f9$3dbb5cb0$8400000a@costa.cadenet.com.br>
Note-from-DJ: This may be spam

(please refer to previous email for the explanation of the problem)

Hi,

making some more tests, I realized that some -L directives for the linker
were missing, and this obviously explains why the linker was unable to link
the application. But, the strange thing is: the linker does not spit any
warning like "cannot find symbol xxx (foo.c)". I'm not sure this is the
default behavior, but I'm sure I had this kind of output on my Linux box
(older version of gcc, though).

Also, I cannot seem to be able to pass parameters directly to the linker via
the -Xlinker [param] scheme. It doesn't work with -Wl,[parm] either.
However, if I try to use the linker directly (i.e. "ld -o foo.exe ..."
instead of "gcc -o foo.exe ..."), I do see some reaction to parameters
like -M. It looks like gcc is ignoring it... Is anybody else also
experiencing this?

(using gcc 2.95.2, ld 2.9.4, uname -a = "CYGWIN_NT-4.0 COSTA
22.0(0.16/3/2) 1999-11-23 09:38:16 i586 unknown")

TIA,

Andre
--
André Oliveira da Costa
(costa AT cade DOT com DOT br)



--
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