Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.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@NanoTech.Wisc.EDU>
Reply-To: Mumit Khan <khan@NanoTech.Wisc.EDU>
To: Clark Sims <clarksimsgnu@my-Deja.com>
cc: "cygwin@sourceware.cygnus.com" <cygwin@sourceware.cygnus.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
Content-Type: TEXT/PLAIN; charset=US-ASCII

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@sourceware.cygnus.com

