building a cross compiler
Albert Niessner
Albert.F.Niessner@jpl.nasa.gov
Fri Jan 12 10:05:00 GMT 2001
Nothing appears to be wrong in the configure output. It is long so I decided
not to post it. There are no errors or warnings though. I did modify the
configure line a little bit and now get a little further:
target=sparc-sun-solaris2
../gcc-2.95.2/configure --target=$target --prefix=$prefix -v
--with-headers=../Solaris-2.6/include --with-libraries=../Solaris-2.6/lib
and the compile fails with:
/Scratch/CrossCompiler/build-gcc-sparc/gcc/
-B/usr/local/CrossCompiler/sparc-sun-solaris2/bin/ -c -g -O2
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
../../../gcc-2.95.2/libio/iostream.cc -o pic/iostream.o
/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/gcc/xgcc
-B/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/gcc/
-B/usr/local/CrossCompiler/sparc-sun-solaris2/bin/ -c -g -O2
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
../../../gcc-2.95.2/libio/iostream.cc
../../../gcc-2.95.2/libio/iostream.cc:40: printf.h: No such file or directory
make[1]: *** [iostream.o] Error 1
make[1]: Leaving directory
`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sparc-sun-solaris2/libio'
make: *** [all-target-libio] Error 2
I found a reference to this error from February 2000. I am going to try and
track it down using those hints and advice.
Al Niessner
David Korn wrote:
> Hi Al,
>
> >make[2]: Entering directory
> >`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sp
> >arc-sun-solaris2/libiberty'
> >
> >make[2]: *** No targets specified and no makefile found. Stop.
> >make[2]: Leaving directory
> >`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sp
> >arc-sun-solaris2/libiberty'
> >
> >make[1]: *** [../libiberty/libiberty.a] Error 2
> >make[1]: Leaving directory
> >`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sp
> >arc-sun-solaris2/libstdc++'
> >
> >make: *** [all-target-libstdc++] Error 2
>
> This looks very much like something failed badly during the configure
> stage, since that's when the makefiles should have been created. Was there
> anything unusual in the output from that ?
>
> DaveK
> --
> The Boulder Pledge: "Under no circumstances will I ever purchase anything
> offered to me as the result of an unsolicited email message. Nor will I
> forward chain letters, petitions, mass mailings, or virus warnings to large
> numbers of others. This is my contribution to the survival of the online
> community."
>
> **********************************************************************
> 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 Gcc-help
mailing list