[mad-dev] Cross compiling libmad for sh-4

Alex Bradbury smeli.mailinglists@tekcentral.org
Mon, 11 Aug 2003 17:54:05 +0100


I have a working sh-elf build chain set up using gcc3.3.1, binutils 2.12.1 and 
newlib 1.9.0. I want to cross-compile the libmad library using this (so I can 
use it with the DC port of scummvm). The problem is that the configure script 
fails:
checking for C compiler default output... configure: error: C compiler cannot 
create executables

So I'm not really sure how to go about doing this cross compile successfully - 
can anyone help me?

Alex Bradbury