All of lore.kernel.org
 help / color / mirror / Atom feed
* Static build of alsa-lib
@ 2007-03-16 13:17 Ciaccia
  2007-03-16 14:18 ` Takashi Iwai
  0 siblings, 1 reply; 11+ messages in thread
From: Ciaccia @ 2007-03-16 13:17 UTC (permalink / raw)
  To: alsa-devel

Hi there,
I would like to compile an alsa application for an
embedded system with no shared-libraries support. My
application just needs PCM, with no plug-ins, no mixer
and no midi and the application should be a standalone
executable with no external dependencies, otherwise it
will not work.

I tried to compile alsa-lib with static support, but
without luck (-ldl is always needed in the gcc line
and gcc always prints some weird warnings). Since I
don't need external plugins nor ladspa, I think there
should be a way to compile an application in a 100%
static manner, but I still have to figure out how.

I also found this thread with a similar problem with
uClinux
http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg18253.html
but at the end I did not understand how/if the problem
was solved.

Do you think it should be possible to compile alsa-lib
with no dependencies on dl? How?

Otherwise, would it be possible to write an alsa
application that does not rely on alsa-lib (i.e.,
by using the alsa kernel APIs directly)? Has someone
already tried it? Some hints?

Every hint is extremely welcome

Thanks a lot
Best regards
Andrea


 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2007-03-21 19:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 13:17 Static build of alsa-lib Ciaccia
2007-03-16 14:18 ` Takashi Iwai
2007-03-16 14:24   ` Takashi Iwai
2007-03-16 15:11     ` Ciaccia
2007-03-16 15:20       ` Takashi Iwai
2007-03-17 10:13   ` Ciaccia
2007-03-20 10:48     ` Takashi Iwai
2007-03-20 12:00       ` Rene Herman
2007-03-20 15:13       ` Ciaccia
2007-03-20 16:01         ` [Alsa-devel] " Takashi Iwai
2007-03-21 19:00           ` Ciaccia

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.