View Single Post
Re: ivpbot using i386 file on linux ded. server?
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: ivpbot using i386 file on linux ded. server? - 27-02-2004

Nope, it's the way Linux works, and the way the kernel and the shared object dynamic linker are configured. A stock kernel (one compiled to run on all architectures) will run on a 386 ; the system's linker then adapts its behaviour to this. No matter your DLL is optimized for 486 or 586 (or PII or PIII or Athlon or whatever), the linker will want a file called library_name_i386.so (unless explicitly told otherwise, but it's a complicated setup).

So just rename your library to ivpbot_i386.so (or make a symlink with that name) and here you go. All your CPU optimizations will still work, only the linker will find the file it wants.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote