User forums > Using Code::Blocks
Compilation...
(1/1)
coder89:
Hello.
I have some problem with program compilation.
If i write in code block simple code:
--- Code: ---int main()
{
return 0;
}
--- End code ---
and i compile it on CodeBlock (Ubuntu 7.10 and AMD Athlon 1,2GHz processor - since 2002 year :P) it work on this machine well.
Now, If i upload this exetutable program on remote server Linux Debian with processor in i686 (Intel) construction it doesn't work and I need to compile this very simple program on this server from my *.cpp file...
So the question is:
How to compile any programs using CB on my Ubuntu 7.10 to run it on this server machine with Debian operating system??
Biplab:
Ubuntu 7.10 and Debian uses the different versions of C++ Runtime Library which requires you to recompile your code. In case you want to run your app on Debian you need to link your app against appropriate C++ runtime library.
Google it and you'll get more info on it.
coder89:
Can you help me to find this information?? :( becouse i don't know english well and I don't know what i need to searching for... :( It's my beggining in programming...
Navigation
[0] Message Index
Go to full version