Results 1 to 3 of 3
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
10-27-2005 #1
- Join Date
- Sep 2005
- Posts
- 21
how to get an exe file to run on other computers
However when I go to run it on another computer it keeps asking for libaries. I load that lib. onto my system and it askes for more .so files. I get the feeling I could be on all day
All I'm using lib wise are
LIBARIES= -lGL -lglut `sdl-config --cflags --libs`
so mesa glut and SDL.
Do I need to do something in build to get the file useable on other systems?
-
10-27-2005 #2
Don't quote me on this, but I think what you want is a statically-linked executable that includes the libraries you use in the actual file.
Registered Linux user #270181
-
10-27-2005 #3
- Join Date
- Oct 2004
- Posts
- 158
Moe is completely correct.
A fully-statically linked file that works on box number one(of a given distro) will work on number two, regardless of the libraries deployed on number two.
The only time this may not be true is going backward in kernel versions.
ie., compile on a 2.6 kernel and then try to run on a much older kernel. Your code may or may not work because of changes in system call behaviors - like thread support for example.