Discussion:
Alsa-lib 32-bit on 64-bit machine
Alan Horstmann
2014-10-21 18:12:21 UTC
Permalink
Hi,

I've tried to find info or examples of this on the web, but to no avail.

What is the recommended way to build Alsa-lib on a 64-bit machine to create
the additional alternative 32-bit libraries for compatibility with 32-bit
applications?

The original distro (in this case a Suse Enterprise) has them, but standard
'./configure make install' only builds the 64-bit variants. I only succeeded
by explicitly adding CFLAGS, and wondered if it should work using configure
options, or another way? I'm also not sure exactly which flags should be set
with that method (m32, march=i686 others?). Does anyone know how it is done
in the Suse builds?

Thanks,

Alan
Takashi Iwai
2014-10-22 07:03:27 UTC
Permalink
At Tue, 21 Oct 2014 19:12:21 +0100,
Post by Alan Horstmann
Hi,
I've tried to find info or examples of this on the web, but to no avail.
What is the recommended way to build Alsa-lib on a 64-bit machine to create
the additional alternative 32-bit libraries for compatibility with 32-bit
applications?
The original distro (in this case a Suse Enterprise) has them, but standard
'./configure make install' only builds the 64-bit variants. I only succeeded
by explicitly adding CFLAGS, and wondered if it should work using configure
options, or another way? I'm also not sure exactly which flags should be set
with that method (m32, march=i686 others?). Does anyone know how it is done
in the Suse builds?
I don't know of any other than passing CFLAGS and LDFLAGS.


Takashi
Alan Horstmann
2014-10-22 07:59:13 UTC
Permalink
Post by Takashi Iwai
At Tue, 21 Oct 2014 19:12:21 +0100,
Post by Alan Horstmann
I've tried to find info or examples of this on the web, but to no avail.
What is the recommended way to build Alsa-lib on a 64-bit machine to
create the additional alternative 32-bit libraries for compatibility with
32-bit applications?
The original distro (in this case a Suse Enterprise) has them, but
standard './configure make install' only builds the 64-bit variants. I
only succeeded by explicitly adding CFLAGS, and wondered if it should
work using configure options, or another way? I'm also not sure exactly
which flags should be set with that method (m32, march=i686 others?).
Does anyone know how it is done in the Suse builds?
I don't know of any other than passing CFLAGS and LDFLAGS.
OK, thanks; what is the purpose/use of '--target=' or '--build=' configure
options?

Regards

Alan
Takashi Iwai
2014-10-22 08:01:57 UTC
Permalink
At Wed, 22 Oct 2014 08:59:13 +0100,
Post by Alan Horstmann
Post by Takashi Iwai
At Tue, 21 Oct 2014 19:12:21 +0100,
Post by Alan Horstmann
I've tried to find info or examples of this on the web, but to no avail.
What is the recommended way to build Alsa-lib on a 64-bit machine to
create the additional alternative 32-bit libraries for compatibility with
32-bit applications?
The original distro (in this case a Suse Enterprise) has them, but
standard './configure make install' only builds the 64-bit variants. I
only succeeded by explicitly adding CFLAGS, and wondered if it should
work using configure options, or another way? I'm also not sure exactly
which flags should be set with that method (m32, march=i686 others?).
Does anyone know how it is done in the Suse builds?
I don't know of any other than passing CFLAGS and LDFLAGS.
OK, thanks; what is the purpose/use of '--target=' or '--build=' configure
options?
Ask Google :)

http://stackoverflow.com/questions/5139403/whats-the-difference-of-configure-option-build-host-and-target


Takashi

Continue reading on narkive:
Search results for 'Alsa-lib 32-bit on 64-bit machine' (Questions and Answers)
15
replies
what kind of laptop should i get?
started 2007-11-16 15:09:49 UTC
laptops & notebooks
Loading...