-lSDL library not found for cross compillation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

-lSDL library not found for cross compillation

959 次查看
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

标签 (1)
0 项奖励
回复
1 回复

882 次查看
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 项奖励
回复