* Static build of alsa-lib?
@ 2003-08-30 20:41 Adrian McMenamin
2003-08-30 20:44 ` Adrian McMenamin
2003-08-30 21:08 ` James Courtier-Dutton
0 siblings, 2 replies; 4+ messages in thread
From: Adrian McMenamin @ 2003-08-30 20:41 UTC (permalink / raw)
To: ALSA development
Thanks to James I now know a few more of things I need to do to build and test
my sound driver on the Dreamcast.
But the system I am installing to is based on a static version of Busybox -
there is no glibc (or indeed any other C RTL) available on it. Thus I need to
build anything I install as static.
I can successfully build the alsa-lib with the cross compiling tools I have,
but can see no easy way to get it to build static - can anybody tell me how?
Adrian
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Static build of alsa-lib?
2003-08-30 20:41 Static build of alsa-lib? Adrian McMenamin
@ 2003-08-30 20:44 ` Adrian McMenamin
2003-08-30 21:08 ` James Courtier-Dutton
1 sibling, 0 replies; 4+ messages in thread
From: Adrian McMenamin @ 2003-08-30 20:44 UTC (permalink / raw)
To: ALSA development
On Saturday 30 August 2003 21:41, Adrian McMenamin wrote:
> Thanks to James I now know a few more of things I need to do to build and
> test my sound driver on the Dreamcast.
Apologies, I should have read the INSTALL file properly.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Static build of alsa-lib?
2003-08-30 20:41 Static build of alsa-lib? Adrian McMenamin
2003-08-30 20:44 ` Adrian McMenamin
@ 2003-08-30 21:08 ` James Courtier-Dutton
2003-08-30 21:51 ` Adrian McMenamin
1 sibling, 1 reply; 4+ messages in thread
From: James Courtier-Dutton @ 2003-08-30 21:08 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: ALSA development
Adrian McMenamin wrote:
> Thanks to James I now know a few more of things I need to do to build and test
> my sound driver on the Dreamcast.
>
> But the system I am installing to is based on a static version of Busybox -
> there is no glibc (or indeed any other C RTL) available on it. Thus I need to
> build anything I install as static.
>
> I can successfully build the alsa-lib with the cross compiling tools I have,
> but can see no easy way to get it to build static - can anybody tell me how?
>
> Adrian
>
>
You could use the oss emulation instead. You won't need alsa-lib etc then.
just "modprobe snd-pcm-oss" and then depending on whether you run devfs
or not, create /dev/dsp
Cheers
James
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Static build of alsa-lib?
2003-08-30 21:08 ` James Courtier-Dutton
@ 2003-08-30 21:51 ` Adrian McMenamin
0 siblings, 0 replies; 4+ messages in thread
From: Adrian McMenamin @ 2003-08-30 21:51 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: ALSA development
On Saturday 30 August 2003 22:08, James Courtier-Dutton wrote:
> Adrian McMenamin wrote:
> > Thanks to James I now know a few more of things I need to do to build and
> > test my sound driver on the Dreamcast.
> >
> > But the system I am installing to is based on a static version of Busybox
> > - there is no glibc (or indeed any other C RTL) available on it. Thus I
> > need to build anything I install as static.
> >
> > I can successfully build the alsa-lib with the cross compiling tools I
> > have, but can see no easy way to get it to build static - can anybody
> > tell me how?
> >
> > Adrian
>
> You could use the oss emulation instead. You won't need alsa-lib etc then.
> just "modprobe snd-pcm-oss" and then depending on whether you run devfs
> or not, create /dev/dsp
>
That certainly looks easier! cat testfile.txt > /dev/dsp works much better,
but it sort of defeats the object!
Actually, I have been able to compile and install static versions of the
alsa-libs, though I am finding it next to impossible to configure the
alsa-utils for cross compiling - if anybody knows how to do that, I would
welcome advice: this is what I am getting now...
[Adrian@landslide alsa-utils-0.9.6]$ CC=sh-linux-gcc ./configure
--enable-shared=no --enable-static=yes --host=sh-linux
--prefix=/home/Adrian/dc-down/initrd
--includedir=/home/Adrian/_alsa-lib-0.9.6.tar.bz2/alsa-lib-0.9.6/include
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for sh-linux-gcc... sh-linux-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether sh-linux-gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of sh-linux-gcc... gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... not present.
configure: error: Sufficiently new version of libasound not found.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-08-30 21:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-30 20:41 Static build of alsa-lib? Adrian McMenamin
2003-08-30 20:44 ` Adrian McMenamin
2003-08-30 21:08 ` James Courtier-Dutton
2003-08-30 21:51 ` Adrian McMenamin
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.