From: Takashi Iwai Subject: Re: Alsa-lib 32-bit on 64-bit machine Date: Wed, 22 Oct 2014 09:03:27 +0200 Message-ID: References: <201410211912.21662.gineera@aspect135.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 41BCB261AF7 for ; Wed, 22 Oct 2014 09:03:28 +0200 (CEST) In-Reply-To: <201410211912.21662.gineera@aspect135.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Alan Horstmann Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 21 Oct 2014 19:12:21 +0100, Alan Horstmann wrote: > > 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