X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Fri, 28 May 2004 10:27:35 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <3405-Fri28May2004102734+0300-eliz@gnu.org> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (kccheng AT soliton DOT com DOT tw) Subject: Re: Cross build from Linux to DJGPP References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: kccheng AT soliton DOT com DOT tw (Kuang-Chun Cheng) > Newsgroups: comp.os.msdos.djgpp > Date: 27 May 2004 07:50:53 -0700 > > 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 ? You should use the --target=i386-pc-msdosdjgpp switch to ./configure. That tells the configure script that the package is being prepared for a cross-build.