delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/19/12:33:27

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
X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs
Date: Wed, 19 Jan 2000 11:37:06 -0600 (CST)
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
Reply-To: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
To: Clark Sims <clarksimsgnu AT my-Deja DOT com>
cc: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Problem with separate compiling and linking
In-Reply-To: <PEJIPEAKMGAAFBAA@my-deja.com>
Message-ID: <Pine.HPP.3.96.1000119113527.6032V-100000@hp2.xraylith.wisc.edu>
MIME-Version: 1.0

On Wed, 19 Jan 2000,  Clark Sims  wrote:

> OS: NT 4.0 SP5
> Compiler: GCC 2.95, 19990728 release
> Cygnus: 21.0 (0.8/1/1)
> 
> I wrote the simple program foo.cpp, with the makefile foo.mak. Under Cygnus/NT g++ -o foo foo.cpp, works fine. Under linux, make -f foo.mak, works fine. Under Cygnus/NT make -f foo.mak, produces the linker errors, listed in foo.err.
> 
> What am I doing wrong here? How do I make the linker "see", the missing references?
> 

The foo.err is empty in the attachment!

Please don't use compile options blindly. Take out the -p option.

Mumit



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