install 64-bit glib2 on 32-bit system for cross-compiling
Posted
by paleozogt
on Stack Overflow
See other posts from Stack Overflow
or by paleozogt
Published on 2010-03-29T23:58:04Z
Indexed on
2010/03/30
0:03 UTC
Read the original article
Hit count: 635
I'm trying to cross-compile a 64-bit executable on a 32-bit ubuntu system. This works up until linking, where it fails due to the lack of a 64-bit glib2 (libglib-2.0.a).
If I were doing this on a 64-bit system, I would use getlibs to install a 32-bit glib2 into /usr/lib32. However, on a 32-bit machine getlibs doesn't seem to do the opposite-- install a 64-bit glib2 into /usr/lib64.
My quesiton is: how do I manually do what getlibs should do, that is, install a 64-bit glib2 into /usr/lib64?
© Stack Overflow or respective owner