X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0	tests=AWL,BAYES_00,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Footer: bWFpbC5hbHRlbnB0cy5ubA==
From: =?iso-8859-1?Q?Andr=E9_Kwakernaak?= <andre.kwakernaak@altenpts.nl>
Subject: Re: gcc invoked from make on cygwin strips symbols from object file
To: cygwin@cygwin.com
Reply-To: andre.kwakernaak@altenpts.nl
In-Reply-To: <4E7736B0.9090905@gmail.com>
Message-ID: <20110919130238.effa1274@mail.altenpts.nl>
Date: Mon, 19 Sep 2011 15:02:38 +0200
X-User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
MIME-Version: 1.0
Content-Type: text/plain;	charset="UTF-8"
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p8JD35U0014859

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


