X-Spam-Check-By: sourceware.org Message-ID: <45599342.1060005@tiscali.it> Date: Tue, 14 Nov 2006 10:58:26 +0100 From: "Salvatore D'Angelo" User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ld: cannot perform PE operations on not PE files ... Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/