What's the error?

David Korn dkorn@pixelpower.com
Fri Jun 15 02:48:00 GMT 2001

>-----Original Message-----
>From: daiwei [ mailto:mao001@21cn.com ]
>Sent: 15 June 2001 09:59

>  I build a cross-compile in my 386-linux host for 
>i386-solaris-2.8 ,it works very well!
>  And then,I prepare to build a cross-compile in my 386-linux 
>host for sparc-solaris-2.6,but at make gcc,it showed me follew 
>   cd ../libiberty ;    
>   make "SHELL=/bin/sh" "INSTALL=/bin/sh 
>/usr/crosssparc/gcc-2.95.2/install-sh -c" ""
>make[2]: Entering directory 
>make[2]: *** No targets.  Stop.
>  I don't unterstand that error! I have assigned the 
>--target=sparc-sun-solaris2.6 and copy libc.a libm.a libC.a to 
>the $prefix directory !Please help me!

  Something went wrong during the configuration process and an empty
or corrupted makefile was created in the 
<build dir>/sparc-sun-solaris2.6/libiberty directory.  If you work 
backwards through the output from your build process, starting at the
error you showed us, you should find something like "Configuring in
sparc-sun-solaris2.6/libiberty", followed by some output that shows what
happened and what went wrong.  You might well find a line like
"Testing if the compiler works.... no" or similar.  

  Is there a config.log file in the sparc-sun-solaris2.6/libiberty 
directory ?  If so, that would show what went wrong; otherwise you would
have to reconfigure gcc, adding the '-v' flag to the configure command
options, and run the build again, to get a config.log file written.

  You said you had copied the libc.a libm.a and libC.a files to the $prefix
directory.  Did you mean that?  They should be in $prefix/lib, otherwise
the cross compiler won't find them and will fail to build an executable,
which might well be the stage at which the configuration of target libiberty
gave up.

we are not seats or eyeballs or end users or consumers.
we are human beings - and our reach exceeds your grasp.
                    deal with it.                      - cluetrain.org 

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.


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