Re: [Fwd: Re: ld: cannot perform PE operations on not PE files ...]

2006-11-15 Thread Salvatore D'Angelo
Thx Dave for suggestion, but Loic Grein (member of the list) told me that your patch should work fine both on linux and cygwin. I tried and it work fine. Thanks a lot to everybody for your help. Bye Dave Korn ha scritto: On 14 November 2006 17:45, Salvatore D'Angelo wrote: Dave you're rig

RE: [Fwd: Re: ld: cannot perform PE operations on not PE files ...]

2006-11-15 Thread Dave Korn
On 14 November 2006 17:45, Salvatore D'Angelo wrote: > Dave you're right. I forgot to add -r. > Thanks a lot. Your solution work fine. > > The problem now is that I should change the Makefile in order to have > two different behaviour in CYGWIN and linux. Actually, if I haven't messed up, the

Re: [Fwd: Re: ld: cannot perform PE operations on not PE files ...]

2006-11-14 Thread Salvatore D'Angelo
cheers, DaveK Oggetto: RE: ld: cannot perform PE operations on not PE files ... Da: "Dave Korn" <[EMAIL PROTECTED]> Data: Tue, 14 Nov 2006 10:13:10 - A: A: On 14 November 2006 09:58

[Fwd: Re: ld: cannot perform PE operations on not PE files ...]

2006-11-14 Thread Salvatore D'Angelo
sorry forgot to mention to put my address in cc since I am not subscribed to the list --- Begin Message --- Brian and Dave, thank for your answer. I will try both solutions. It seems to me that if I install binutils-cross, then I could use the same Makefile for Linux and CygWin. The only chan

RE: ld: cannot perform PE operations on not PE files ...

2006-11-14 Thread Dave Korn
On 14 November 2006 09:58, Salvatore D'Angelo wrote: > In the Dave solution I noticed the size of final image is 528 instead of > 512 (the size of the bootsector) as in Linux. Why? Seems like your bootsect.out ended up containing __CTOR_LIST__ and __DTOR_LIST__. Are you /absolutely/ sure you

Re: ld: cannot perform PE operations on not PE files ...

2006-11-14 Thread Salvatore D'Angelo
Brian and Dave, thank for your answer. I will try both solutions. It seems to me that if I install binutils-cross, then I could use the same Makefile for Linux and CygWin. The only change should be LD=... AS=... I tried to install this package from Internet setup, but I do not find it. I se