From: "Sune Foldager" <cryo@worldonline.dk>
To: cygwin@cygwin.com
Subject: Problems with ld
Date: Thu, 20 Sep 2001 05:55:00 -0000 [thread overview]
Message-ID: <3ba9e757.39b7.0@worldonline.dk> (raw)
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/
reply other threads:[~2001-09-20 5:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ba9e757.39b7.0@worldonline.dk \
--to=cryo@worldonline.dk \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).