This is the mail archive of the cygwin 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: ld: cannot perform PE operations on not PE files ...


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 searched in all the category. In Devel I found only normal binutils. Please where I can get binutils-cross? Once I installed it how I can configure it in order to use i686-pc-linux as target machine?

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?

Thanks in advance for your help.


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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