This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: extract platform source from a multi-platform package
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: David Bradley <kb9qhd at charter dot net>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 10 May 2016 11:03:19 +0100
- Subject: Re: extract platform source from a multi-platform package
- Authentication-results: sourceware.org; auth=none
- References: <573148AF dot 7070206 at charter dot net>
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.