Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: Mumit Khan To: Clark Sims cc: "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: Problem with separate compiling and linking In-Reply-To: Message-ID: 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 AT sourceware DOT cygnus DOT com