This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]