crosstool 037 and Sparc 9

Mauricio Tavares raub@kudria.com
Mon Jul 11 13:05:00 GMT 2005


Dan Kegel wrote:

> Mauricio Tavares wrote:
>
>>    I am trying to install crosstool in my Ultra30/Solaris 9 box.  
>> From what I understood off the page 
>> http://kegel.com/crosstool/crosstool-0.37/doc/crosstool-howto.html#solaris, 
>> I must use gcc 3.2? Reason is that right now the box has gcc 4.0 and 
>> I was going to go for the latest gcc.
>
>
> I think it meant *at least* gcc-3.2.
> gcc-4.0 is probably okay.
> Good luck, and let us know how it goes!
> - Dan
>
    Well, right now I am not going very far.  Instead of ksh as the url 
suggested, I set bash to be the CONFIG_SHELL and let it loose.  I cannot 
say that helped.  For instance, during the installation process, it 
defined SRC_DIR just to say in the next line SRC_DIR is not defined.  
Heck, even testlinux.sh claims the poor directory ain't there, which is 
not true.

mauricio@nassau-27>./demo-sparc.sh
TARBALLS_DIR=/home/mauricio/download
RESULT_TOP=/opt/crosstool
+ export TARBALLS_DIR RESULT_TOP
GCC_LANGUAGES=c,c++
+ export GCC_LANGUAGES
+ mkdir -p /opt/crosstool
+ cat sparc.dat gcc-3.4.2-glibc-2.3.3.dat
+ eval KERNELCONFIG=`pwd`/sparc.config TARGET=sparc-unknown-linux-gnu 
TARGET_CFLAGS="-O" BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.4.2 
GLIBC_DIR=glibc-2.3.3 LINUX_DIR=linux-2.6.8 
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3 sh all.sh --notest 
--nounpack --nobuild --testlinux
+ sh all.sh --notest --nounpack --nobuild --testlinux
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3 LINUX_DIR=linux-2.6.8 
GLIBC_DIR=glibc-2.3.3 GCC_DIR=gcc-3.4.2 BINUTILS_DIR=binutils-2.15 
TARGET_CFLAGS=-O TARGET=sparc-unknown-linux-gnu + pwd
KERNELCONFIG=/home/mauricio/todo/CrossCompilers/crosstool-0.37/sparc.config
DEJAGNU not set, so not running any regression tests
GCC_EXTRA_CONFIG not set, so not passing any extra options to gcc's 
configure script
GLIBC_ADDON_OPTIONS not set, so building all glibc add-on's
TOOLCOMBO=gcc-3.4.2-glibc-2.3.3
+ pwd
BUILD_DIR=/home/mauricio/todo/CrossCompilers/crosstool-0.37/build/sparc-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3
+ pwd
TOP_DIR=/home/mauricio/todo/CrossCompilers/crosstool-0.37
+ test -z 
SRC_DIR=/home/mauricio/todo/CrossCompilers/crosstool-0.37/build/sparc-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3
+ echo SRC_DIR not set, so source tarballs will be unpacked in the build 
directory
SRC_DIR not set, so source tarballs will be unpacked in the build directory
+ test -w /tmp
TARBALLS_DIR=/home/mauricio/download
RESULT_TOP=/opt/crosstool
PREFIX=/opt/crosstool/gcc-3.4.2-glibc-2.3.3/sparc-unknown-linux-gnu
+ export TOOLCOMBO
+ export PREFIX
+ export BUILD_DIR
+ export SRC_DIR
+ export TARBALLS_DIR
+ export TOP_DIR
+ [ 4 -gt 0 ]
opt_no_test=1
+ shift
+ [ 3 -gt 0 ]
opt_no_unpack=1
+ shift
+ [ 2 -gt 0 ]
opt_no_build=1
+ shift
+ [ 1 -gt 0 ]
opt_testlinux=1
+ shift
+ [ 0 -gt 0 ]
+ test  = 1
+ test 1 = 
+ test 1 = 
+ test  = 1
+ test 1 = 1
+ sh testlinux.sh
+ test -z /opt/crosstool/gcc-3.4.2-glibc-2.3.3/sparc-unknown-linux-gnu
+ test -z linux-2.6.8
+ test -z 
/home/mauricio/todo/CrossCompilers/crosstool-0.37/build/sparc-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3 

+ test -z sparc-unknown-linux-gnu
+ test -z /home/mauricio/todo/CrossCompilers/crosstool-0.37/sparc.config
+ test -r /home/mauricio/todo/CrossCompilers/crosstool-0.37/sparc.config
+ test x != x
ARCH=sparc
+ cd 
/home/mauricio/todo/CrossCompilers/crosstool-0.37/build/sparc-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3 

testlinux.sh: 
/home/mauricio/todo/CrossCompilers/crosstool-0.37/build/sparc-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3: 
does not exist
mauricio@nassau-28>                                                             




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list