Re: mouseemu fails on ppc64 ?
On Fri, 2005-11-25 at 23:47 +0100, Michal wrote:
> > -m64
>
> ok, that failed, with the output below. For the record, here are the
> steps I took:
>
> 1. first it complained with this:
>
> e2011# gcc -Wall -m64 -g -o mouseemu mouseemu.c
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux-gnu/4.0.3/libgcc_s.so when searching for -lgcc_s
> /usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux-gnu/4.0.3/libgcc_s.so when searching for -lgcc_s
> /usr/bin/ld: cannot find -lgcc_s
> collect2: ld returned 1 exit status
>
> 2. to cure this I installed lib64gcc1 (it turned out that eg
> /usr/lib/gcc/powerpc-linux-gnu/4.0.3/libgcc_s_64.so was pointing to an
> inexistant /lib64/libgcc_s.so.1, provided by lib64gcc1). And to make
> it visible to gcc, I added this symlink:
>
> /usr/lib64/libc.so -> /lib64/libc.so.6
>
> 3. Then compiling mouseemu fails with:
Dunno, something must be busted with debian's biarch toolchain when
building 64 bits ...
Ben.
Reply to: