Re: how to compile in one system targeting another?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/10/17 04:07, sugar wrote:
Hi, how could for instance, compile a source in my server, but the actual
target will be another server, should I enable certain special flags at the
time of the compilation?

I may be wrong, but as I understand it, GCC has the notion of a host, a target and a build.

The host is the platform (OS, processor, etc) which runs GCC.

The target is the platform GCC emits code for.

The build is the platform which is actually building this GCC.

Building GCC IME, although I'm barely competent in Linux, was for me an extraordinarily difficult, painful, error and mistake prone and time consuming process. I would even call it agonizing. I'm afraid that given the questions you're asking, you may not realise how staggeringly difficult the task you are attempting is.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux