delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/05/27/11:01:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: kccheng AT soliton DOT com DOT tw (Kuang-Chun Cheng)
Newsgroups: comp.os.msdos.djgpp
Subject: Cross build from Linux to DJGPP
Date: 27 May 2004 07:50:53 -0700
Organization: http://groups.google.com
Lines: 22
Message-ID: <a97206c3.0405270650.19e3cf41@posting.google.com>
NNTP-Posting-Host: 61.222.168.156
X-Trace: posting.google.com 1085669453 15116 127.0.0.1 (27 May 2004 14:50:53 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 27 May 2004 14:50:53 +0000 (UTC)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Following the document of DJGPP, I had successfully
built cross compiler under Linux/RH80 for DJGPP.
Use DJGPP cross compiler to compile hello world example
is OK, so I want to go further.

I download hello-2.1.1.tar.gz from GNU's web site and try
to built DOS/djgpp version of hello-2.1.1 using the
cross compiler.  How to do that ???

I follow the same procedure as using native gcc:

CC=djgcc
./configure
make

But it can't pass the "./configure" step ...
it will hang there checking whether compiler is working ...
What's the correct procedures to use cross compiler ?
Thanks

Kuang-Chun Cheng
kccheng AT soliton DOT com DOT tw

- Raw text -


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