From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24849 invoked by alias); 7 Jun 2002 02:02:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 24793 invoked from network); 7 Jun 2002 02:02:03 -0000 Received: from unknown (HELO mailo.vtcif.telstra.com.au) (202.12.144.17) by sources.redhat.com with SMTP; 7 Jun 2002 02:02:03 -0000 Received: (from uucp@localhost) by mailo.vtcif.telstra.com.au (8.8.2/8.6.9) id MAA22640 for ; Fri, 7 Jun 2002 12:02:01 +1000 (EST) Received: from maili.vtcif.telstra.com.au(202.12.142.17) via SMTP by mailo.vtcif.telstra.com.au, id smtpd0FlTOv; Fri Jun 7 12:01:23 2002 Received: (from uucp@localhost) by maili.vtcif.telstra.com.au (8.8.2/8.6.9) id MAA11748 for ; Fri, 7 Jun 2002 12:01:23 +1000 (EST) Received: from localhost(127.0.0.1), claiming to be "mail.cdn.telstra.com.au" via SMTP by localhost, id smtpd7sbIS_; Fri Jun 7 12:00:33 2002 Received: from ntmsg0028.corpmail.telstra.com.au (ntmsg0028.corpmail.telstra.com.au [192.168.174.24]) by mail.cdn.telstra.com.au (8.8.2/8.6.9) with ESMTP id MAA10593 for ; Fri, 7 Jun 2002 12:00:33 +1000 (EST) Received: by ntmsg0028.corpmail.telstra.com.au with Internet Mail Service (5.5.2655.55) id ; Fri, 7 Jun 2002 12:00:32 +1000 Message-ID: <5D01E8305096D3119D7D00508B5EBBF40A759D33@ntmsg0133.corpmail.telstra.com.au> From: "Michnowicz, Simon G" To: "'Pavel Tsekov'" Subject: RE: Linking VCC with Cygwing Gcc Date: Thu, 06 Jun 2002 22:40:00 -0000 MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2002-06/txt/msg00333.txt.bz2 Pavel, thank you for your response. I compiled a simple function f() {printf"Hello world\n") inside VC++. I then tried to call it from a main() {f();} compiled in cygwin. However the two did not link as I described. Maybe there is a link/compile flag I need to set to do it..If so, I do not know what they are.. If you like I could send you the source/obj codes Simon Michnowicz New Wave - Innovation, Chief Technology Unit Tel: 03 9253 6769 Fax: 03 9253 6352 Partnering to Deliver Telstra's Competitive Edge. > -----Original Message----- > From: Pavel Tsekov [SMTP:ptsekov@syntrex.com] > Sent: Thursday, June 06, 2002 8:04 PM > To: Michnowicz, Simon G > Cc: 'cygwin@cygwin.com' > Subject: Re: Linking VCC with Cygwing Gcc > > MSG> The FAQ says that object code between the two compilers can be > shared, > MSG> however > MSG> a simple "hello world" program I wrote gives a linker error, i.e. > MSG> gcc main.o hello.obj > MSG> gives an error like " undefined reference to `_chkesp'" > > Do you have the hello.obj compiled for debugging ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/