Re: Help about multilib
ok so I changed Makefile; the line is now:
gcc $(ttsynth_CFLAGS) $(ttsynth_LIBS) -m32 ttsynth.c -o
spk-connect-ttsynth
and I get a new result indeed:
gcc -ggdb -I/opt/IBM/ibmtts/inc -lasound -libmeci -m32 ttsynth.c -o
spk-connect-ttsynth In file included from /usr/include/features.h:354,
from /usr/include/assert.h:37, from
ttsynth.c:1: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No
such file or directory
In file included from ttsynth.c:9: /opt/IBM/ibmtts/inc/eci.h:366:
warning: useless storage class specifier in empty declaration make:
Makefile ttsynth.c [spk-connect-ttsynth] Erreur 1
So I've to install (aptitude and apt-file say):
gcc-4.3-multilib, gcc-multilib lib32gomp1, libc6-dev-i386
Question: is it dangerous? won't overwrite/break/damage my existing
toolchain? will I be able to remove it later? And especially, will I be
able to run the resulting binary on my 64bits system as I run viavoice?
Or at least I hope these packages are installed in /opt or /emul...
Thanks very much for explanations.
Sincerely,
Jean-Philippe MENGUAL
Le dimanche 26 septembre 2010 à 15:17 +0200, Samuel Thibault a écrit :
> Jean-Philippe MENGUAL, le Sun 26 Sep 2010 15:10:06 +0200, a écrit :
> > Even if it's multilib (anyway voxin installed 32bits libs), building the
> > connector says:
> > gcc -ggdb -I/opt/IBM/ibmtts/inc -lasound -libmeci ttsynth.c -o
> > spk-connect-ttsynth In file included from
>
> You need to pass -m32 to gcc to build in 32bit mode.
>
> Samuel
>
>
Reply to: