[SDL] Antw: Re: Cross compiling SDL for ARM

Matthias Zacharias Matthias.Zacharias at bmk-solutions.de
Wed Jun 27 23:29:46 PDT 2007


You also have to set the options for ./configure ... --host=arm_v5 or
the correct architecture name. For me --host=armv5l-linux works fine. I
am using a  timesys-arm toolchain: armlv5l-linux-gcc, armlv5l-linux-g++,
armlv5l-linux-as, armlv5l-linux-... As well specify a different
output-path with --prefix=... becouse make install try to install the
arm SDL library in the default directory /usr/local overwriting your x86
library!!

cu
Matthias Zacharias

>>> Sam Lantinga <slouken at devolution.com> 28.6.2007 06:41 >>>
> 1)I have set PATH, where arm cross compiler (arm_v5_gcc)[I'm not sure
about
> the correct compiler name] is located.
>   $ export PATH = /ARM/.../bin:$PATH

export CC=nameofcrossgcc
export CXX=nameofcrossg++ifneeded

See ya,
	-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org 
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

--------------------
Besuchen Sie uns auf der PRODUCTRONICA
   vom 13. bis 16. Nov. 2007 in München
                Halle 6, Stand 209

--------------------
BMK electronic solutions GmbH
Werner-von-Siemens-Str. 6, Eingang 18 f
D-86159 Augsburg
Tel. +49 (0) 821 / 207 88 - 700
Fax +49 (0) 821 / 207 88 - 721
info at bmk-solutions.de
Geschäftsführer: Dipl.-oec. Alois Knöferle
Sitz: Augsburg
HR-Nr.: B21197
---------------------
Diese E-mail kann vertrauliche Informationen enthalten. Falls Sie diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte unverzüglich den
Absender und löschen Sie diese E-Mail von jedem Rechner, auch von den
Mailservern. Jede Verbreitung des Inhalts, auch die teilweise
Verbreitung, ist in diesem Fall untersagt. Außer bei Vorsatz oder grober
Fahrlässigkeit schliessen wir jegliche Haftung für Verluste oder Schäden
aus, die durch Viren befallene Software oder E-Mails verursacht werden.

This e-mail may contain confidential information. If you received this
e-mail in error, please contact the sender and delete this e-mail from
your computer, including your mailservers. Any dissemination, even
partly, is prohibited. Except in case of gross negligence or wilful
misconduct we accept no liability for any loss or damage caused by
software or e-mail viruses.


More information about the SDL mailing list