On Sat, Oct 21, 2017 at 5:07 AM, sugar <aldo.zavala@xxxxxxxxx> 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? If the other server has the same architecture as your server, then nothing special is needed. Otherwise, you want to perform a cross-compilation. For example, https://duckduckgo.com/?q=gcc+cross+compilation&ia=web returns https://sourceware.org/ml/crossgcc/2005-08/msg00114/l-cross-ltr.pdf. The web should have plenty of information on cross compilation with gcc. -- Best regards, Tadeus