Results 1 to 4 of 4
hi everyone,
my objective is to establish gcc crosstool chain for arm1176 target on sparc/solaris10 host.
first of all, i will be glad if i can get prebuild toolchain for ...
- 11-27-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 2
arm-linux-gcc cross compiler for sparc/solaris
hi everyone,
my objective is to establish gcc crosstool chain for arm1176 target on sparc/solaris10 host.
first of all, i will be glad if i can get prebuild toolchain for target=arm1176jzf-s on host= sparc-sun-solaris2.10. ( i hav browsed but can't find prebuild one)
so, i tried to establish by myself
i hav established binutils first, but while trying to configure& build gcc(gcc4.4.0) , i was interrupted with following error..
error message: this error has come while building boot strap gcc for cross complier tools chain
checking build system type... sparc-sun-solaris2.10
checking host system type... arm-unknown-linux-gnu
checking target system
type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for arm-linux-strip... /usr/local/arm/arm-linux/bin/
strip
checking for --enable-version-specific- runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-gcc... /nas/apps4/objdir/gcc/./gcc/ xgcc -B/nas/apps4/objdir/gcc/./gcc/ -B/usr/local/arm/arm-linux/ bin/ -B/usr/local/arm/arm-linux/ lib/ -isystem /usr/local/arm/arm-linux/ include -isystem /usr/local/arm/arm-linux/sys- include
checking for C compiler default output file name... configure: error: in `/nas/apps4/objdir/gcc/arm- linux/libmudflap':
configure: error: C compiler cannot create executables
See `config.log' for more details.
gmake[1]: *** [configure-target-libmudflap] Error 1
gmake[1]: Leaving directory `/nas/apps4/objdir/gcc'
gmake: *** [all] Error 2
Exit 2
By looking into config.log file i came to know that , ld(linker) was expecting a object a file "ctr1.o" from a perticular location.
ld:crt1.o : no such file or directory
ac_nonexistent.h:no such file or directory.
I made some unsuccessful attempts,like
1) i hav tried to get that object file from different sources and pasted into the location form where it is expecting
2) tried installing some solaris packages like SUNWarc,SUNWhea(as suggested by some websites)
I have compiled and configured with following options:
gcc-4.4.0/configure --with-newlib --with-gnu-as --with-gnu-ld --disable-libssp --disable-multilib
--target=arm-linux --prefix=/usr/local/arm --disable-threads --with-local-prefix=/usr/ local/arm/arm-linux
--disable-largefile --disable-__cxa_atexit --enable-target-optspace --disable-tls --disable-nls
--with-arch=armv6zk --with-tune=arm1176jzf-s --with-build-time-tools=/usr/ local/arm/arm-linux/bin
--disable-shared --enable-decimal-float --with-float=soft --disable-static --with-cpu=arm1176jzf-s
--with-headers=/usr/local/arm/ include --without-ppl --without-cloog --disable-werror
gmake LDFLAGS="-Xlinker -R/usr/local/lib"
tools used : gcc-4.4.0
binutils-2.20.1
and planning to use:
kernel headers : linux-2.6.35.7
C libraries : glibc-2-12.1 or newlib 1.18
gdb : gdb7.1
this problem is for a while, and i hav no idea how to solve it,
kindly help me,
thanks in advance,
chakradhar_nannuri.
- 11-29-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Building cross-compilation tool chains is not simple. Check the Debian web site. You can find these tools for all the supported architectures, already built and tested.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-29-2010 #3Just Joined!
- Join Date
- Nov 2010
- Posts
- 2
i hav browsed through debian site but can't exactly found a prebuild one for sparc/solaris
kindly let me know if u hav any exact web address.
thanks
- 11-29-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Sorry. I was confused. I see now that you want to build an ARM toolchain that runs on a Sparc processor system. That is going to take some work, and I haven't had to do this. I use ARM toolchains on a variety of x86 and x86_64 systems, but not on a Sparc system. Unfortunately, I don't have a Sparc processor system to try this on...

Anyway, keep at it. You might want to contact Oracle now that they own Sun's IP and hardware (Sparc) and will likely be running their version of Linux on those systems.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote