This is the mail archive of the cygwin 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] |
Current cygwin perl already has g++ as LD for some releases.
Good - I think that's a step in the right direction. (I wonder how we can get linux builds to start doing the same.) On my 5.8.8, LD is set to ld2 which, I think, is an alias for 'gcc:
---------------------------- Rob@desktop2 ~ $ perl -V:ld ld='ld2';
Rob@desktop2 ~ $ ld2 -v gcc -v Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs ............ ----------------------------
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab): undefined reference to `_WinMain@16' collect2: ld returned 1 exit status
Why does that happen ?
Maybe because the linker believes you have a -mwindows GUI app?
Which distro are you talking about? InlineX::CPP2XS I assume.
It's only small, so I'll attach it and you can take a look if you like. Sounds like it should build ok for you, without the need to make any amendment.
Attachment:
Devel-Size-test.tar.gz
Description: GNU Zip compressed data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.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] |