64 bit compile/install
How do you compile/install on a 64 bit system? On Fedora Core 6 for x86_64, the following has seemed to work ok for me, in a couple of cases:
Code:
rm libtool Is there a HOWTO around I should be looking at? I'm just feeling my way here. |
You can find build instructions for many packages here. There are 32-bit and 64-bit build instructions. There are about 700 packages represented.
There is essentially no difference in the commands used to build 32- and 64-bit pacakges. The CFLAGS and/or CXXFLAGS will be different; you need to pass -m32 for 32-bit and -m64 for 64-bit. The PKG_CONFIG_PATH environment variable should be set to use the location of the 32-bit or 64-bit metadata files (*.pc files). If you don't, pkgconfig will look in */lib/pkgconfig and find 32-bit libraries. These will obviously not work for a 64-bit build. For example, the configure script might be executed as follows for a 32- or 64-bit build respectively: Code:
-- for the 32-bit build -- |
Thanks for the very useful suggestions. I had more or less given up on the CBLFS site, since it seems to assume I'd build my system up in their rather idiosyncratic way.
|
Quote:
Quote:
|
All times are GMT -5. The time now is 02:53 AM. |