libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH: sysroot branch] [cygwin] Minor sysroot fixups.


From: Roumen Petrov
Subject: Re: [PATCH: sysroot branch] [cygwin] Minor sysroot fixups.
Date: Tue, 24 Aug 2010 03:42:45 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100721 SeaMonkey/2.0.6

Charles Wilson wrote:
On 8/23/2010 1:44 AM, Ralf Wildenhues wrote:
* Charles Wilson wrote on Mon, Aug 23, 2010 at 07:35:59AM CEST:
libltdl/m4/libtool.m4 (_LT_WITH_SYSROOT): Fix typo.
tests/sysroot.at: Search also for crt0.o to accomodate cygwin.

accommodate

fixed.

Discovered a few minor issues while testing with linux->cygwin
cross compiler.

How did the crt2.o issue manifest itself (best cut and paste error
so web searches will find this thread)?

checking for sysroot...no

when the toolchain *does* support sysroots.  Basically, if sysroot.at
can't figure out both the sysroot AND the prefix *under* the sysroot, it
skips the test (I think this is the right behavior).

The problem was that cygwin doesn't have crt1.o, crt2.o, or crti.o, so
all of the attempts to determine the prefix failed.

--
Chuck



$ /opt/mingw/i386-mingw32msvc/bin/gcc --print-file-name crt0.o; echo $?
crt0.o
0

$ /opt/mingw/i386-mingw32msvc/bin/gcc --print-file-name crt1.o; echo $?
/opt/mingw/lib/gcc/i386-mingw32msvc/3.4.5/../../../../i386-mingw32msvc/lib/crt1.o
0


This is my result is cross-compiler is not build with sysroot.

Roumen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]