ld -r Unsupported PEI arch pe-i386

DJ Delorie dj@delorie.com
Mon Jul 17 14:00:00 GMT 2000


> On Sun, Jul 16, 2000 at 12:59:59PM -0700, Suhaib Siddiqi wrote:
> >Yes, 
> >That was it. Now I need to adapt Imake.rules files
> >or I will be manually issuing this command 130 times.
>> Hmm. It should be possible to change one of the linker scripts to
> accomodate this shouldn't it? DJ?

Try this:
2000年07月17日 DJ Delorie <dj@cygnus.com>
	* pe-dll.c (pe_dll_id_target): check object target name also
Index: pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.13
diff -p -2 -r1.13 pe-dll.c
*** pe-dll.c	2000年07月17日 18:40:47	1.13
--- pe-dll.c	2000年07月17日 20:58:57
*************** pe_dll_id_target (target)
*** 138,142 ****
 int i;
 for (i=0; pe_detail_list[i].target_name; i++)
! if (strcmp (pe_detail_list[i].target_name, target) == 0)
 {
 	pe_details = pe_detail_list+i;
--- 138,143 ----
 int i;
 for (i=0; pe_detail_list[i].target_name; i++)
! if (strcmp (pe_detail_list[i].target_name, target) == 0
! 	|| strcmp (pe_detail_list[i].object_target, target) == 0)
 {
 	pe_details = pe_detail_list+i;
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /