[llvm-commits] [Cygwin] PIC & LTO patch

Aaron Gray aaronngray.lists at googlemail.com
Fri Mar 6 15:22:49 PST 2009


Think I have got the Cygwin problem sussed. There was a -nostdlib on the
libLTO link and on LLVMHello Cygwin's linking requires listing libraries, it
does not seem to search directories for them link Linux'es ld does, plus a
few misc issues.

Heres a provisional patch I have checked it on x86 Linux as well as Cygwin,
to 'make tools-only' level, debug build.

There maybe a bit more clearing up to be done the original build system does
do some duplication of g++ flags which should be dealt with at some point.
Also there is the difference in Linux finding libraries given '-L' paths
where as Cygwin seems to have them listed on '-l' switches.

Yeah I want to switch my development to Linux as it it just about 10 times
faster than Cygwin.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090306/a3ae2123/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin2.patch
Type: application/octet-stream
Size: 1946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090306/a3ae2123/attachment.obj>

More information about the llvm-commits mailing list