-lSDL library not found for cross compillation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

-lSDL library not found for cross compillation

412 Views
sanjeevmore
Contributor I

Hi,

-lSDL library not fond while cross compiling dos box. how to add this library to existing toolchain to cross compile dos box.

Procedure followed:

export PATH=$PATH:/home/sanjeev/Downloads/Toolchains/gcc-linaro-7.3.1-2018.05-i686_arm-linux-gnueabi/bin

CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ LD=arm-linux-gnueabi-ld ./configure -disable-shared --build=i386-linux --host=arm-linux --target=arm --prefix=/home/sanjeev/dosbox

make

Labels (1)
0 Kudos
1 Reply

335 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Sanjeev More,

You would need to manually download the SDL libraries and make them available to the compiler.

There is some information on how to do this on the SDL website:

http://wiki.libsdl.org/FrontPage

I hope this helps!

Regards,

0 Kudos