This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
ld not configured right???
- From: Bizhong Hu <bizhong at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 22 Nov 2002 15:40:51 -0800 (PST)
- Subject: ld not configured right???
greeting:
I try to write a boot loader in cygwin. this code
worked in linux. but I try to assembled and linked
it in cygwin, it assembled ok. first question is
what kind of file format that as generated??
then, I tried link it into plain binary format, I
got following error: ld: PE operations on non PE file.
as -o boot.o boot.S
ld -Ttext 0x0 -s --oformat binary -e _start -o
boot.bin boot.o
ld: PE operations on non PE file.
make: *** [boot.bin] Error 1
Is it posibble that I can get work around this
problem?
thanks
Bizhong Hu
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
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/