Re: urgent: Questions about how to build a ARM based madplay

Rob Leslie <[email protected]>
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
On Dec 10, 2003, at 9:27 AM, Kzhang wrote:
> I download both of mad-0.14.2b and madplay-0.15.0b, and I try to build 
> a ARM based player, but I met problem to change gcc to arm-linux-gcc 
> with ./configure command. I work on a ReHat 9.0 PC as host, and use 
> arm cross compiler 2.95.3 toolchain.
> I try " CC=arm-linux-gcc ./configure" and "env CC=armlinux-gcc", it 
> did not work.
> Please give me some tips how to build it, I  very appreciate for your 
> help.

Generally cross-compiling goes something like this:

     ./configure --host=arm-linux CC=arm-linux-gcc

Depending on your cross-compiler configuration you may also need to 
give values for RANLIB and LD; I haven't cross-compiled recently enough 
to remember if any of them are actually necessary.

Hope this helps.

-- 
Rob Leslie
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.