News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Compilation...

Started by coder89, May 16, 2008, 11:57:48 PM

Previous topic - Next topic

coder89

Hello.
I have some problem with program compilation.
If i write in code block simple code:

int main()
{
  return 0;
}

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.
Be a part of the solution, not a part of the problem.

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...