This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc invoked from make on cygwin strips symbols from object file
- From: André Kwakernaak <andre dot kwakernaak at altenpts dot nl>
- To: cygwin at cygwin dot com
- Date: Mon, 19 Sep 2011 15:02:38 +0200
- Subject: Re: gcc invoked from make on cygwin strips symbols from object file
- Reply-to: andre dot kwakernaak at altenpts dot nl
Marco,
Thank you very much. You pointed me in the one direction I did not yet investigate. I'm really embarrassed by what I just found out.
Here's what happened. There was a second installation of Cygwin on this development machine... I did not know about this installation. The installation I used did not have make installed at at all.. The PATH variable included the bin directory of the second Cygwin installation. So I was using make of another cygwin installation. Removing the second installation and installing make solved the problem.
This took me 2 days...
Regards,
Andrà Kwakernaak
>
> this looks unlikely as hello.c miss the definition of printf
>
>
> is make the cygwin one ?
>
> $ make --version
> GNU Make 3.81
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> This program built for i686-pc-cygwin
>
> $ which make
> /usr/bin/make
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple