This is the mail archive of the cygwin@sources.redhat.com 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]

Re: ld -r Unsupported PEI arch pe-i386



> 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


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