delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/14/08:28:20

X-Spam-Check-By: sourceware.org
Message-ID: <4559C453.2040104@tiscali.it>
Date: Tue, 14 Nov 2006 14:27:47 +0100
From: "Salvatore D'Angelo" <koala DOT gnu AT tiscali DOT it>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [Fwd: Re: ld: cannot perform PE operations on not PE files ...]
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------040701090605080102060705
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

sorry  forgot to mention to put my address in cc since I am not 
subscribed to the list

--------------040701090605080102060705
Content-Type: message/rfc822;
 name="Re: ld: cannot perform PE operations on not PE files ..."
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Re: ld: cannot perform PE operations on not PE files ..."

Message-ID: <45599342 DOT 1060005 AT tiscali DOT it>
Date: Tue, 14 Nov 2006 10:58:26 +0100
From: Salvatore D'Angelo <koala DOT gnu AT tiscali DOT it>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: it, it-it, en-us, en
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

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.



--------------040701090605080102060705
Content-Type: text/plain; charset=us-ascii

--
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/
--------------040701090605080102060705--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019