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?
man gcc
. Give it a look to--static
too. ;)