This is the mail archive of the
cygwin-talk@cygwin.com
mailing list for the cygwin project.
RE: Help on make from cygwin on USB drive
- From: "Dave Korn" <dk at artimi dot com>
- To: "'oh no monday morning is here again'" <cygwin-talk at cygwin dot com>
- Date: Mon, 8 Nov 2004 10:08:27 -0000
- Subject: RE: Help on make from cygwin on USB drive
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
> -----Original Message-----
> From: cygwin-talk-owner On Behalf Of John Mamer
> Sent: 06 November 2004 04:26
> My problem is gnu make. I can compile a program using gcc
> directly, but
> when I try to compile the same program using make, I get
> errors such as
> "undefined reference to fprintf" which seems to indicate that
> gcc cannot
> see the header files/libraries when it is invoked by make, but it can
> when invoked by itself. My wild guess is that there is an
> environment
> variable that make looks at that is being set improperly or another
> registry key that I am unaware of???
http://cygwin.com/acronyms#PPAST
Need to take a look at your makefile, compare it to your gcc command line, add
the "-v" flag to both, compare the output, and wonder whether you have MAKE_MODE
set in your environment.
cheers,
DaveK
--
Can't think of a witty .sigline today....