Compiles OK for me with either MIPSpro or with GCC.
Patch here: https://gist.github.com/danielhams/287694a4c70f696ced1e5dfba9b8c320
Example vars:
Dependencies: libjpeg, libXpm
Patch here: https://gist.github.com/danielhams/287694a4c70f696ced1e5dfba9b8c320
Example vars:
Code:
CC=gcc
CPPFLAGS="-D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS"
CFLAGS="-O2 -I$YOURROOT/include"
LDFLAGS="-L$YOURROOT/lib"
PATH="$GCC_AND_LD_INSTALL_DIR/bin:$PATH"
LD_LIBRARYN32_PATH="$GCC_AND_LD_INSTALL/lib:$LD_LIBRARYN32_PATH"
Last edited: