This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: extract platform source from a multi-platform package


On 10 May 2016 at 03:34, David Bradley wrote:
> Given a software package source that is for many platforms, how to
> preprocess for my computer.
>
> Example:  Emacs - how to arrive at a finished (?) source aimed at
> i86-64. with no code for 32 bit.

It's not really clear what you're asking. Why do you want to do this?

Preprocessed source is generally much larger than the original,
because a single line lik:

#include <stdio.h>

will expand to hundreds or thousands of lines, so you're not going to
reduce the size of the source by doing that, if that's your
motivation.

When you build the package the compiler will preprocess it
automatically, so there's no need to do it yourself.

So again, why do you want to do this? If you can explain what you're
trying to achieve maybe we can answer.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]