This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why won't my files link?


----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin@cygwin.com>
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 <stdio.h>' 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]