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] |
Hi, I made it in the exact way what you have told. But now I am getting different error. Attached the error description below. gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -o cccp.exe cccp.o cexp.o intl.o prefix.o version.o mbchar.o obstack.o -ladvapi32 ../libiberty/libiberty.a ../libiberty/libiberty.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make[1]: *** [cccp.exe] Error 1 make[1]: Leaving directory `/tmp/build/gcc/gcc' make: *** [all-gcc] Error 2 make: Leaving directory `/tmp/build/gcc' What could be the problem. Thanks in advance, Mani -----Original Message----- From: crossgcc-owner@sources.redhat.com [mailto:crossgcc-owner@sources.redhat.com]On Behalf Of David Korn Sent: Wednesday, March 21, 2001 6:12 PM To: 'Manikandan.V'; Crossgcc-List (E-mail) Subject: 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 ------ 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] |