All of lore.kernel.org
 help / color / mirror / Atom feed
* Alsa library for the arm-linux architecture
@ 2007-12-13 13:37 Felipe Uderman
  2007-12-13 17:58 ` John Faith
  0 siblings, 1 reply; 4+ messages in thread
From: Felipe Uderman @ 2007-12-13 13:37 UTC (permalink / raw)
  To: alsa-devel

Hello,

I need to cross compile a project to the arm-linux platform that depends on
the Alsa Library. My problem is that my cross development environment does
not include the Alsa Library. I have downloaded the Alsa sources, and I
checked that there are some instructions on how to port the library to other
architectures. I would like to know if there are ports of the Alsa Library
for the arm-linux architecture availible for download, or if I really have
to cross compile it.

Thank you for your help!

Felipe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Alsa library for the arm-linux architecture
  2007-12-13 13:37 Alsa library for the arm-linux architecture Felipe Uderman
@ 2007-12-13 17:58 ` John Faith
  2007-12-13 19:10   ` Daniel Mack
  0 siblings, 1 reply; 4+ messages in thread
From: John Faith @ 2007-12-13 17:58 UTC (permalink / raw)
  To: Felipe Uderman; +Cc: alsa-devel

Felipe Uderman wrote:
> Hello,
> 
> I need to cross compile a project to the arm-linux platform that depends on
> the Alsa Library. My problem is that my cross development environment does
> not include the Alsa Library. I have downloaded the Alsa sources, and I
> checked that there are some instructions on how to port the library to other
> architectures. I would like to know if there are ports of the Alsa Library
> for the arm-linux architecture availible for download, or if I really have
> to cross compile it.
> 
> Thank you for your help!
> 
> Felipe
>

Hi Filipe,
We cross compile alsa-lib 1.0.11rc2 for ARM with:

./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu
make
make install DESTDIR=/target/root/dir

There was only one patch we had to make, which was to remove the line 
'add_dir="-L$libdir"' (around line 2422) in alsa-lib-1.0.11rc2/ltmain.sh.

,
John

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Alsa library for the arm-linux architecture
  2007-12-13 17:58 ` John Faith
@ 2007-12-13 19:10   ` Daniel Mack
  2007-12-13 20:12     ` John Faith
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Mack @ 2007-12-13 19:10 UTC (permalink / raw)
  To: John Faith; +Cc: alsa-devel, Felipe Uderman

Hi,

On Dec 13, 2007, at 6:58 PM, John Faith wrote:

> Felipe Uderman wrote:

> We cross compile alsa-lib 1.0.11rc2 for ARM with:
>
> ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu

You should have a look at BR2 (http://buildroot.uclibc.org/) which  
cross-compiles 1.0.14a for you, most probably also newer versions  
with minor modifications to the appropriate .mk file.

Daniel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Alsa library for the arm-linux architecture
  2007-12-13 19:10   ` Daniel Mack
@ 2007-12-13 20:12     ` John Faith
  0 siblings, 0 replies; 4+ messages in thread
From: John Faith @ 2007-12-13 20:12 UTC (permalink / raw)
  To: Daniel Mack; +Cc: alsa-devel, Felipe Uderman

Daniel Mack wrote:
> Hi,
> 
> On Dec 13, 2007, at 6:58 PM, John Faith wrote:
> 
>> Felipe Uderman wrote:
> 
>> We cross compile alsa-lib 1.0.11rc2 for ARM with:
>>
>> ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu
> 
> You should have a look at BR2 (http://buildroot.uclibc.org/) which 
> cross-compiles 1.0.14a for you, most probably also newer versions with 
> minor modifications to the appropriate .mk file.
> 
> Daniel
> 

Thanks for the suggestion.  We use a different cross build environment 
called LTIB (http://bitshrine.org).  The patches and build steps are in 
a .spec file like rpm and all enabled packages are built as part of the 
file system.  Building alsa can be done separately with: 'ltib -p alsa-lib'.

,
John

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-13 20:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 13:37 Alsa library for the arm-linux architecture Felipe Uderman
2007-12-13 17:58 ` John Faith
2007-12-13 19:10   ` Daniel Mack
2007-12-13 20:12     ` John Faith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.