Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <20021122234051.99396.qmail@web13406.mail.yahoo.com>
Date: Fri, 22 Nov 2002 15:40:51 -0800 (PST)
From: Bizhong Hu <bizhong@yahoo.com>
Subject: ld not configured right???
To: cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

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/

