hello , im a begginer with tcc, so por testing, for small projects, in my university. and home works. im tryng compile a small projetct with SDL2 lib. SDL2 its a famous game hug byValve.
so i doing a small game window , its work fine with gcc, but when trynng to compile with tinycc, no find the library.
i the download version for mingw for windows, put headers ans libs in the folders.
in the windows command line : tcc main_game.c -lSDL2main -lSDL2 -o small_game.exe
---------------------------------------------------
the error tcc : tcc/libSDL2.a: erros: invalid object file
tcc: error: 'SDL2' not found
what i doing ? wrong? please helpe
thanks all