From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: can't compile gcc for redhat linux targe Date: Mon, 17 Mar 2003 19:15:49 +1100 Organization: ECLiPSE Lines: 18 Message-ID: <8p0b7vckc7pblcbcme0o51trprkpq5afsd@4ax.com> References: <20030317054804 DOT 12744 DOT qmail AT sina DOT com> NNTP-Posting-Host: p1392-apx1.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1047888952 3334 203.173.139.122 (17 Mar 2003 08:15:52 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Mon, 17 Mar 2003 08:15:52 +0000 (UTC) X-Newsreader: Forte Agent 1.92/32.572 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >checking whether the C compiler (/usr/gcc/linux/objdir/gcc/xgcc -B/usr/gcc/linux >/objdir/gcc/ -B/usr/gcc/linux/i486-linux/bin/ -B/usr/gcc/linux/i486-linux/lib/ - >isystem /usr/gcc/linux/i486-linux/include -O2 -g -O2 ) works... no >configure: error: installation or configuration problem: C compiler cannot creat >e executables. This looks like you are trying to produce a DOS exe on a Linux using DJGPP Cross compiler. If this is not right then ignore the following:- Go to www.delorie.com and seach the email archives from cross compiling. This issue was sorted out by a developer about 4-6 months ago. There is a doc on it some where and there are some gotchas which are not documented in the exisiting DJGPP 2.03 source. Search for "cross compiler linux" or something like this for the last year and you should find out what to do. Andrew