This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux x86 to Solaris Sparc Cross Compiler


>On Sat, 18 Mar 2000, Kai Ruottu wrote:
>  Somehow it finds the x86-assembler before the sparc target one...
> What does the './xgcc -print-search-dirs' say about the search
> path for programs? Is the sparc target one there in the search
> path?
> 
>  When configuring binutils and GCC, the same '--prefix=...' and
> '--target=...' must be used, or the binutils install path fixed
> for the GCC program search path... Also the same 'Catch-22' as
> with the 'libiberty headers' may disable finding the right 'as'...
> 
> Cheers, Kai

Oh, this has been a painful cross.  I would almost rather admin a Sequent box
(almost).  

I fixed my binutils problems, and have managed to get a little further.  For
some reason sigset_t wasn't being found, so I had to work around that.  Then
size_t wasn't being included causing all sorts of trouble with the
declearations of the new operator.

Here is my current snag:
cd ../libiberty ; make "SHELL=/bin/sh" "INSTALL=/bin/sh /export/home/alesmi/mystuff/compilers/gcc-2.95.2/install-sh -c" "INSTALL_DATA=/bin/sh /export/home/alesmi/mystuff/compilers/gcc-2.95.2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /export/home/alesmi/mystuff/compilers/gcc-2.95.2/install-sh -c " "prefix=/usr/local/2.95.2" "exec_prefix=/usr/local/2.95.2" "tooldir=/usr/local/2.95.2/sparc-sun-solaris2.5.1" "gxx_include_dir=/usr/local/2.95.2/include/g++-3" "libsubdir=/usr/local/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2" "gcc_version=2.95.2" "gcc_version_trigger=/export/home/alesmi/mystuff/compilers/gcc-2.95.2/gcc/version.c" "AR=sparc-sun-solaris2.5.1-ar" "AR_FLAGS=rc" "CC=/export/home/alesmi/mystuff/compilers/sol2.5.1/gcc/xgcc -B/export/home/alesmi/mystuff/compilers/sol2.5.1/gcc/ -B/usr/local/2.95.2/sparc-sun-solaris2.5.1/bin/" "CXX=/export/home/alesmi/mystuff/compilers/sol2.5.1/gcc/xgcc -B/export/home/alesmi/mystuff/compilers/sol2.5.1/gcc/ -B/usr/local/2.95.2/sparc-sun-solaris2.5.1/bin/" "CFLAGS=-O -D_POSIX_C_SOURCE" "CXXFLAGS=-g -O2" "NM=sparc-sun-solaris2.5.1-nm" "RANLIB=sparc-sun-solaris2.5.1-ranlib" "LIBCFLAGS=-O -D_POSIX_C_SOURCE" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/export/home/alesmi/mystuff/compilers/sol2.5.1/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.10.0" "SHCURSES=" "RUNTESTFLAGS="
make[2]: Entering directory `/export/home/alesmi/mystuff/compilers/sol2.5.1/sparc-sun-solaris2.5.1/libiberty'
make[2]: *** No targets.  Stop.
make[2]: Leaving directory `/export/home/alesmi/mystuff/compilers/sol2.5.1/sparc-sun-solaris2.5.1/libiberty'
make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory `/export/home/alesmi/mystuff/compilers/sol2.5.1/sparc-sun-solaris2.5.1/libstdc++'
make: *** [all-target-libstdc++] Error 2  

It is really close, but this looks like a makefile problem.

Thanks for the info about binutils prefix. I moved my compilers around to keep
them straight, but thought I could use a binutils in a common place. Guess not.

Thanks Alex

 -- 
Alex Smith
Software Engineer
Intruder Alert
Axent Technologies, Inc.
(801) 227-3711
alex@securesmith.net

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]