Re: [HOWTO] Compile in 32-bits mode on an AMD64 arch... ?
Goswin von Brederlow wrote:
>
> What you actualy do need is gcc-3.4 + ia32-libs-dev on sarge and
> libc6-dev-i386 on etch/sid.
Right, I had ia32-libs-dev installed (I had a lot of try and guesses).
Another point, I am using gcc-4.1 as default. Is it mandatory to use
gcc-3,4 for this or is gcc-4.x mandatory here ?
> You need a 32bit libverifier. The one from
> /home/fleury/development/projects/Uppaal-project/Uppaal/trunk/server/modules/\
> lib/ seems to be 64bit. (or you are trying to build a 64bit lib with
> the 32bit libverifier).
This should be compiled as 32bits. Indeed, I didn't open the archive
libverifier.a to check this but I will. But, I'm pretty sure it is
32bits (as it has been compiled with the -m32 flag).
> Did you maybe forget to set LDFLAGS? CFLAGS are usualy only used when
> compiling and not when linking and then you try to link all the 32bit
> objects into a 64bit library.
Hmmmmm, this might be the right thing to do. ^_^
I'll try this as soon as I can.
Thanks
--
Emmanuel Fleury | Office: 211
Associate Professor, | Phone: +33 (0)5 40 00 35 24
LaBRI, Domaine Universitaire | Fax: +33 (0)5 40 00 66 69
351, Cours de la Libération | email: emmanuel.fleury@labri.fr
33405 Talence Cedex, France | URL: http://www.labri.fr/~fleury
Reply to: