Cross-compiler for "i386-pc-linux-gnu" on WIN-NT thru Cygwin

Manoj Verma manojv@noida.hcltech.com
Wed Jan 2 22:38:00 GMT 2002


I understand David, I should have spent sometime typing my query rather than
just copying and pasting it, which lead to typographical error.
Also thanks for your reply to my query.


-----Original Message-----
From: David Korn [mailto:dkorn@pixelpower.com]
Sent: Wednesday, January 02, 2002 8:25 PM
To: Manoj Verma; newlib@sources.redhat.com;
crossgcc@sourceware.cygnus.com
Subject: RE: Cross-compiler for "i386-pc-linux-gnu" on WIN-NT thru
Cygwin


>-----Original Message-----
>From: Manoj Verma [mailto:manojv@noida.hcltech.com]
>Sent: 02 January 2002 10:31

>Hi,
>while configuring the GLIBC the target I sepecified was "i386-pc-linux-gnu"
>not "i386-pc-out " as specified below.

  How on earth did you manage to get that wrong?  You last letter looked
like you had cut and pasted from a bash shell, it even had the prompt there:

>bash-2.03$ ../glibc-2.2.4/configure --target=i386-pc-out
>--prefix=../cinstall 2>&1 | tee myconfig.log

  Don't forge diagnostic information in your mail, that's stupid: how do you
expect to get an answer to your problem if you fake the vital evidence that
you expect others to use to solve the problem?  Now I can't tell if anything
you said in your last letter is the truth or if you made all of it up like
you did with that configure command.

  However, assuming that you aren't lying about it, then the problem is that
you should be configuring the --host option for glibc, not --target: glibc 
is not a cross-compiler so the "host" has to be the machine that glibc will
run on, and that isn't the same as the cross-compiler machine, it is the
target of the cross compiler machine.  The clue is in these lines which you
didn't read very closely from the error output:

>checking host system type...  i686-pc-cygwin 
> *** The GNU C library is currently not available for this platform.

  So glibc is not available for i686-pc-cygwin, and it has ignored your
--target altogether, because --target is not meaningful for glibc.

      DaveK
-- 
Burn your ID card!  http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the Newlib mailing list