delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/20/08:56:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Sune Foldager" <cryo AT worldonline DOT dk>
Reply-to: cryo AT worldonline DOT dk
To: cygwin AT cygwin DOT com
X-CC-Sender: cryo AT worldonline DOT dk
Date: Thu, 20 Sep 2001 12:55:51 GMT
Subject: Problems with ld
X-Mailer: DMailWeb Web to Mail Gateway 2.3m, http://netwinsite.com/top_mail.htm
Message-id: <3ba9e757.39b7.0@worldonline.dk>
X-User-Info: 213.237.180.194
MIME-Version: 1.0

Greetings,

I have a kernel project going on, and I usually use a native Linux machine
to compile the kernel with. It's written in C++ and assembler, so after installing
NASM on cygwin (that part was easy enough), it could compile with no problems.
However, the linker distributed with cygwin seems not to support the --oformat
or something else is wrong, since I get the following error:
ld: PE operations on non PE file.
My ld command line looks like this:
ld -Ttext 0x80020130 --oformat binary -Map kernel.map -o kernel mainstub.o
main_test.o [more objects...] x386/x386.a

Anyone know how to make the linker produce plain binary images? Or what else
I could do under cygwin?

Thanks in advance,
Sune Foldager.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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