speclib vs. -lc trouble.

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri Apr 10 18:58:00 GMT 2009


On Fri, Apr 10, 2009 at 07:07:53AM +0100, Dave Korn wrote:
>Dave Korn wrote:
>> Dave Korn wrote:
>> 
>>> a - profil.o
>>> /gnu/winsup/src/winsup/cygwin/speclib "nm" "ar" libcygwin.a pthread.o thread.o
>>> libpthread.a
>>> libpthread.a: No such file or directory at
>>> /gnu/winsup/src/winsup/cygwin/speclib line 18
>>> make[3]: *** [libpthread.a] Error 2
>>> make[3]: Leaving directory `/gnu/winsup/obj3/i686-pc-cygwin/winsup/cygwin'
>> 
>> 
>>   Currently attempting to bodge my way round it w/the attached hacky kludge.
>> Will let you know how the libs turn out, if at all...
>
>  Still not working for me.  Get this when I try to link with the libc.a
>generated by that method:
>
>/gnu/binutils/obj5/ld/.libs/ld-new: /usr/lib/libcygwin.a(cygwin_crt0.o): bad
>reloc address 0x74 in section `.text'

Do you have a test case that you could post?  I don't get this with either a new
or old linker.

cgf



More information about the Cygwin-developers mailing list