Please consider a donation to the Higher Intellect project. See https://preterhuman.net/donate.php or the Donate to Higher Intellect page for more info.

General hints and tips of IRIX programming

From Higher Intellect Vintage Wiki

Porting[edit]

Removing GCC-isms[edit]

Refer to the section in MIPS Pro and GCC-isms


Misc[edit]

NFS file locking problem..

  Cannot access registry file .libs/so_locations (No locks available) - ignored


Solution: 1. Move it to a (local) non-NFS file system. 2. Delve deeper and report a solution here.

Nekoware[edit]

Build with:

 export CC=c99
 export CFLAGS='-O3 -mips4 -I/usr/nekoware/include -TARG:platform=IP27:proc=r10000'
 export CXXFLAGS=$CFLAGS
 export CPPFLAGS='-I/usr/nekoware/include -I/usr/include'
 export CXX=CC
 export F77=f77
 export LDFLAGS='-L/usr/nekoware/lib -Wl,-rpath -Wl,/usr/nekoware/lib'
 export PKG_CONFIG=/usr/nekoware/bin/pkg-config
 export PKG_CONFIG_PATH='/usr/nekoware/lib/pkgconfig'
 export PKG_CONFIG_LIBDIR='/usr/nekoware/lib'
 export LD_LIBRARY_PATH='/usr/nekoware/lib'
 export LD_LIBRARYN32_PATH='/usr/nekoware/lib'
 export LD_LIBRARY64_PATH='/usr/nekoware/lib64'
 export GNOME2_DIR='/usr/nekoware'
 export GNUMAKE='/usr/nekoware/bin/make'


See Also[edit]