This is the mail archive of the cygwin-developers@sources.redhat.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]

Re: ../src/configure problems


On Thu, Sep 07, 2000 at 03:01:20PM -0400, DJ Delorie wrote:
>
>> Sorry but I don't think that this is the correct patch.  gcc needs
>> to search for include files and library files in the newlib directory.
>> This only accomodates library files.
>
>The existing -B option won't find the include files anyway.  That's
>what the -isystem options are for.  The only thing the -B will ever
>find is libc.a, and -L should do just as well for that purpose.  The
>problem is that if gcc sees the -B but doesn't use it, it prints a
>warning to stderr, which confuses configure and makes it think that
>the compile failed, wreaking havoc on config.h.
>
>But, this aspect of configure has proven quite tricky lately.  Expect
>lots of testing before I commit anything.

What about crt0.o?  That doesn't seem to be covered by -L.

That wouldn't be necessary for cygwin1.dll but it would be necessary
for programs built in utils, etc.

cgf

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