gcc invoked from make on cygwin strips symbols from object file

André Kwakernaak andre.kwakernaak@altenpts.nl
Tue Sep 20 14:50:00 GMT 2011


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



More information about the Cygwin mailing list