Mailinglist Archive: opensuse-packaging (89 mails)
| < Previous | Next > |
Building 32bit libs
- From: Brandon Barker <brandon.barker@xxxxxxxxx>
- Date: Fri, 9 Dec 2005 14:40:23 -0500
- Message-id: <3e078a5e0512091140nb987514w5264004247e48736@xxxxxxxxxxxxxx>
Hello, I would like to rebuild SDL as a 32 bit library for use in SuSE 10
x86_64 (there is a patch that I need to apply to the sources, which is why I
need to rebuild). I've tried the following, but the libraries will not be
loaded by my desired application (after I've patched it):
export CC="gcc -m32"
export LD="ld -m elf64_i386"
export AS="gcc -c -m32"
export LDFLAGS="-L/usr/lib"
linux32 ./autogen.sh
linux32 ./configure --libdir=/usr/lib --x-libraries=/usr/X11R6/lib &&
linux32 make
The installed libraries will not load with my application, though the ones
that shipped with SuSE linux work fine.
Any insights into the build process here would be much appreciated.
Thanks,
--
Brandon Barker
Phone: (859) 749-4634
Email: brandonbarker@xxxxxxxx
x86_64 (there is a patch that I need to apply to the sources, which is why I
need to rebuild). I've tried the following, but the libraries will not be
loaded by my desired application (after I've patched it):
export CC="gcc -m32"
export LD="ld -m elf64_i386"
export AS="gcc -c -m32"
export LDFLAGS="-L/usr/lib"
linux32 ./autogen.sh
linux32 ./configure --libdir=/usr/lib --x-libraries=/usr/X11R6/lib &&
linux32 make
The installed libraries will not load with my application, though the ones
that shipped with SuSE linux work fine.
Any insights into the build process here would be much appreciated.
Thanks,
--
Brandon Barker
Phone: (859) 749-4634
Email: brandonbarker@xxxxxxxx
| < Previous | Next > |