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...


[EMAIL PROTECTED] 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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to