Hello all:
if I do this
sdl-config --cflags
-I/data/omap_development/a0271087/2430fs_L8.8/target/include/SDL
-D_REENTRANT
sdl-config --libs
-L/data/omap_development/a0271087/2430fs_L8.8/target/lib
-Wl,-rpath,/data/omap_development/a0271087/2430fs_L8.8/target/lib -lSDL
-lpthread -lm -ldl -L/data/omap_development/a0271087/2430fs_L8.8/target/lib
-lX11 -lXext
however when I compile a simple test named sdltest.c this
arm_v6_vfp_le-gcc sdltest.c -o sdltest
sdl-config --cflags --static-libs
it gives me an error saying it can’t find
skipping incompatible
/data/omap_development/a0271087/2430fs_L8.8/target/lib/libSDL.a when
searching for -lSDL
when searching for -lSDL
/data/omapts/linux/arm-tc/mv-v6_vfp_le-001/bin/…/lib/gcc/armv6fl-montavista-linuxeabi/3.4.3/…/…/…/…/armv6fl-montavista-linuxeabi/bin/ld:
cannot find -lSDL
any ideas??
thanks,