hi,

i tried to build an crosscompiler for building sparc binaries on an debian
i686 system.
i took the gcc-2.95-2.95.4.ds14 source package and read README.cross. I
did everything as it was written there. The sparc architecture isn't
mentioned, but i found the binutils-sparc package, so i think
that this should work too.

well, when calling 'dpkg-buildpackage', i get the following error (after
some minutes):


make[4]: Entering directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/utils'
make[4]: Nothing to be done for `info'.
make[4]: Leaving directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/utils'
cd etc; make info ...
make[4]: Entering directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/etc'
make[4]: Nothing to be done for `info'.
make[4]: Leaving directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/etc'
cd test-install; make info ...
make[4]: Entering directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/test-install'
make[4]: Nothing to be done for `info'.
make[4]: Leaving directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++/test-install'
make[3]: Leaving directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++'
make[2]: Leaving directory 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libg++'
chmod 755 /usr/sparc/gcc-2.95-2.95.4.ds14/src-native/contrib/warn_summary
if [ -x /usr/sparc/gcc-2.95-2.95.4.ds14/src-native/contrib/warn_summary ]; then 
\
  rm -f bootstrap-summary; \
  /usr/sparc/gcc-2.95-2.95.4.ds14/src-native/contrib/warn_summary 
bootstrap-protocol \
    > bootstrap-summary; \
fi
: # build libg2c.a with PIC enabled
rm -rf /usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c-pic
cp -a /usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c \
        /usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c-pic
cp: cannot stat 
`/usr/sparc/gcc-2.95-2.95.4.ds14/build-native/i386-linux/libf2c': No such file 
or directory
make[1]: *** [stamps/05-build-stamp-native] Error 1
make[1]: Leaving directory `/usr/sparc/gcc-2.95-2.95.4.ds14'
make: *** [stamps/05-build-stamp-native] Error 2



i'm not sure if this is an bug. i would be glad if you could help me
fixing this problem.

i want to cross compile the kernel (linux), because my sparc station
ultra1 is very slow. 

thanks,
 moritz

-- 


Reply via email to