View Single Post
showdax
Senior Member
Join Date: Dec 2004
Old 12-10-2004 , 17:27  
Reply With Quote #7

Hmm, with this:

Code:
LDFLAGS="-lm -ldl $(GAME_DIR)/bin/tier0_i486.so $(GAME_DIR)/bin/vstdlib_i486.so -rpath ."
I get:

Code:
gcc-3.4: unrecognized option `-rpath'
And using -Wl,-rpath,. makes it compile, but when I try to load the plugin it looks in the wrong place. (So the -Wl argument didn't do anything.)

Edit: With "--rpath ." the unrecognized option goes away, but I still get:

Code:
/usr/bin/ld: .: No such file: File format not recognized
showdax is offline
Send a message via MSN to showdax