Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [150.101.193.220] From: "Gareth Pearce" To: References: <20030205230639 DOT GE11184 AT redhat DOT com> <023601c2cd6b$a1aa4300$78d96f83 AT pomello> <20030205231312 DOT GA12326 AT redhat DOT com> Subject: Re: Why won't my files link? Date: Thu, 6 Feb 2003 10:22:33 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 05 Feb 2003 23:22:35.0154 (UTC) FILETIME=[7701EF20:01C2CD6D] ----- Original Message ----- From: "Christopher Faylor" To: Sent: Thursday, February 06, 2003 10:13 AM Subject: Re: Why won't my files link? > On Wed, Feb 05, 2003 at 11:09:27PM -0000, Max Bowsher wrote: > >Chris, you're skim-reading too fast... > > > >Christopher Faylor wrote: > >> You need to '#include ' in io_functions.c. > > > > > >> On Wed, Feb 05, 2003 at 05:23:45PM -0500, Nick Miller wrote: > > > >... here's the problem: > > > >>> 2) I used the SAME io_functions.o file in both Cygwin and Linux. > >>> This file was generated by a CS professor at my school using GCC. > > No, I wasn't skim reading. I was assuming that no one would actually > take an object file from linux and attempt to use it on windows. Interesting, where as my assumption was your assumption was that despite the fact that indeed there are people out there crazy enough to use the same .o file - it wouldnt give that error. > Failure to include stdio.h would result in the above problem. > > cgf > > -- > 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/ > -- 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/