mingw SEARCH_LIB: was gcc FAQ entries

Reini Urban rurban@x-ray.at
Thu Feb 12 16:37:00 GMT 2009


Chris Sutcliffe schrieb:
>> At one point we will get a mingw cross compiler, right?  wrong?
> 
> I'd appreciate having once since I use Cygwin to produce my MinGW packages.

BTW: Your linker script SEARCH_LIB("/usr/lib"); ... entries cause 
headaches on mingw pure. mingw ld should not be linked with that.

E.g. see https://trac.parrot.org/parrot/ticket/322

mingw32\lib\ldscripts\i386pe.x:
/* Default linker script, for normal executables */
OUTPUT_FORMAT(pei-i386)
SEARCH_DIR("/mingw/mingw32/lib"); SEARCH_DIR("/mingw/lib"); 
SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
...
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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/



More information about the Cygwin mailing list