This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Unrecognized option '-G'



>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]