delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/22/18:41:00

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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019