0
I'm used to compiling programs with custom feature sets on my own linux laptop. I want to do the same for a remote linux platform that I work on, but unfortunately that platform does not have gcc available. I also do not have root privileges, so I can't use rpm or install gcc myself.
Is it possible to compile a program on my laptop that targets a custom linux platform? Both my laptop and the target are x86_64 architecture. How do I set up gcc on my laptop to use the same libraries as the target?
Sure. I can compile a Linux application on Windows, provided I used gcc, and used the proper linked files. Without more information I am not sure if we can help you. – Ramhound – 2014-09-11T16:48:24.083
There are many options that allow you to use even specific optimization for the remote machine. You need to know the class of the cpu...
man gcc
. Give it a look to--static
too. ;) – Hastur – 2014-09-12T21:28:31.137