Mailinglist Archive: opensuse-packaging (89 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Building 32bit libs
- From: Brandon Barker <brandon.barker@xxxxxxxxx>
- Date: Sat, 10 Dec 2005 02:06:02 -0500
- Message-id: <3e078a5e0512092306q3e8743e2h9affccd3bc61a5c2@xxxxxxxxxxxxxx>
Yes, logging in to a 32 bit environment did the trick.
Thanks so much!
On 12/9/05, Marcus Meissner <meissner@xxxxxxx> wrote:
>
> On Fri, Dec 09, 2005 at 02:40:23PM -0500, Brandon Barker wrote:
> > 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"
>
> elf_i386 here I think.
>
> > 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.
>
> SUSE builds it in a 32bit environment.
>
> You could do it like this:
>
> linux32 bash --login
>
> and then perhaps use y2pmbuild to build the SDL RPM...
> (Just add your own patch.)
>
> Ciao, Marcus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: opensuse-packaging-unsubscribe@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse-packaging-help@xxxxxxxxxxxx
>
>
--
Brandon Barker
Phone: (859) 749-4634
Email: brandonbarker@xxxxxxxx
Thanks so much!
On 12/9/05, Marcus Meissner <meissner@xxxxxxx> wrote:
>
> On Fri, Dec 09, 2005 at 02:40:23PM -0500, Brandon Barker wrote:
> > 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"
>
> elf_i386 here I think.
>
> > 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.
>
> SUSE builds it in a 32bit environment.
>
> You could do it like this:
>
> linux32 bash --login
>
> and then perhaps use y2pmbuild to build the SDL RPM...
> (Just add your own patch.)
>
> Ciao, Marcus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: opensuse-packaging-unsubscribe@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse-packaging-help@xxxxxxxxxxxx
>
>
--
Brandon Barker
Phone: (859) 749-4634
Email: brandonbarker@xxxxxxxx
| < Previous | Next > |