This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can't compile gcc head, this time on sparc


Tommy Vercetti <vercetti@zlew.org> writes:

> /home/users/gj/Projects/gcc4/build/gcc/xgcc 
> -B/home/users/gj/Projects/gcc4/build/gcc/ 
> -B/usr/local/gcc4.0/sparc64-unknown-linux-gnu/bin/ 
> -B/usr/local/gcc4.0/sparc64-unknown-linux-gnu/lib/ 
> -isystem /usr/local/gcc4.0/sparc64-unknown-linux-gnu/include 
> -isystem /usr/local/gcc4.0/sparc64-unknown-linux-gnu/sys-include -O2
                             ^^^^^^^

 This looks to be a SPARC64 build, not a SPARC build.
  
[...]
> ln -s libgcc_s.so.1 libgcc_s.so
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for 
> -lc

 It also looks like you only have a 32-bit libc.  

> with:
> ./configure --prefix=/usr/local/gcc4.0 --enable-languages=c,c++ 
> --with-system-zlib --disable-multilib

 Either use the sparc32 program or try adding --host=sparc-linux
--build=sparc-linux --target=sparc-linux
  
> -- 
> Vercetti
> 

-- 
Thanks,
Jim

http://www.student.cs.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim


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