This is the mail archive of the cygwin-developers 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]

Re: speclib vs. -lc trouble.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]