Thread replies: 7
Thread images: 1
Anonymous
Cross compilation
2016-06-26 03:44:27 Post No. 55262312
[Report]
Image search:
[Google]
Cross compilation
Anonymous
2016-06-26 03:44:27
Post No. 55262312
[Report]
Hey /g/,
Cross compiling can be a tricky business. Just because you know the target architecture, it seems unlikely you can cross compile any program without error. What all do you need to know about a machine (architecture)? What are some common pitfalls (memory configuration)? What compiles do you suggest (gcc)?
Background: I am learning about server-side scripting so I can make dynamic webzones. I discover my host doesn't allow me to run a gcc from their /usr/bin/gcc directory for "security reasons". So I have to cross compile. Surprisingly I was able to compile on my machine, and upload the result, but that surprised me. What do I need to know to make about the target machine to properly cross compile?
If this doesn't fit /g/, this can be a general compilers/assemblers thread.