public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with ld
@ 2001-09-20  5:55 Sune Foldager
  0 siblings, 0 replies; only message in thread
From: Sune Foldager @ 2001-09-20  5:55 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-20  5:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20  5:55 Problems with ld Sune Foldager

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).