Unrecognized option '-G'

David Korn dkorn@pixelpower.com
Wed Mar 21 04:40:00 GMT 2001


>I used to below command for configuration.
>
>/src/gcc/gcc-2.95.2/configure --target=mips-elf 
>--prefix=/tools/H-i686-pc-cygwin

  I would try again:  first, do 'make clean' in your build directory.

  Next, 'mv /src/gcc/gcc-2.95.2/texinfo /src/gcc/gcc-2.95.2/old.texinfo'.
This is specific to building gcc under cygwin: without this, and the
--with-included-gettext option, the .info files fail to build.

  Then add the options '--with-gnu-as --with-gnu-ar --with-gnu-ld 
--with-included-gettext' to your configure command, and rebuild gcc.

>/tools/H-i686-pc-cygwin is the directory which has,

 [snip]  Yes, looks like the binutils were all built and installed OK.

  I just checked the crossgcc mailing list archive, which can be searched
at http://sources.redhat.com/ml/crossgcc/ , and searched for "mips-tfile";
within a few seconds, I found someone had already had this problem, and
the solution was to use '--with-gnu-as'; you will probably also need
'--with-gnu-ar', as it mentions.  Take a look at:
http://sources.redhat.com/ml/crossgcc/2000-11/msg00019.html


    DaveK
-- 
 All your base are belong to us!
 


**********************************************************************
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
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list