[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling for lib32 under amd64



Hi all

How do I compile a program for i386 on Debian amd64 to run under Debian
amd64 and link it to libraries in /lib32 and /usr/lib32 ?

Going beyond that, is it possible have some modules of a program
compiled for amd64, linked to /lib64/libc-n.n.so and others, and some
compiled for i386 and linked to /lib32/libc-n.n.so and others, and to
have the 64 bit ones (where main() will be) be able to call the 32 bit
ones?

Thanks for any advice,

Tom




Reply to: