[SDL] cross compiling SDL issue 1.2.15

Karel Chaloupka karel at electricarmadillo.com
Fri Feb 10 05:41:51 PST 2012

I am trying to compile SDL-1.2.15 on a UBUNTU desktop for an ARM compiler.
My cross compiler is call armv5l-linux. I have been specifying it on the
configure command line as shown below. However, the script does not
recognize the compiler. What is the proper way to cross compile SDL?

./configure --host=armv5l-linux


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 build system type... i686-pc-linux-gnu
checking host system type...
armv5l-unknown-linux-gnu                              <<<============
checking for armv5l-linux-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for armv5l-linux-g++... no
checking for armv5l-linux-c++... no
checking for armv5l-linux-gpp... no
checking for armv5l-linux-aCC... no
checking for armv5l-linux-CC... no
checking for armv5l-linux-cxx... no
checking for armv5l-linux-cc++... no
checking for armv5l-linux-cl.exe... no
checking for armv5l-linux-FCC... no
checking for armv5l-linux-KCC... no
checking for armv5l-linux-RCC... no
checking for armv5l-linux-xlC_r... no
checking for armv5l-linux-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120210/02fd29d0/attachment-0007.htm>

More information about the SDL mailing list