This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: passing -o filename with multiple compile
- To: Roderich Schupp <rsch at experteam dot de>
- Subject: Re: passing -o filename with multiple compile
- From: Juan Casero <casero at bellsouth dot net>
- Date: Sun, 04 Oct 1998 21:22:27 -0400 (EDT)
- Cc: egcs at cygnus dot com
- Reply-To: casero at bellsouth dot net
Thank you very much for your help Roderich. Following your instructions below I
was able to begin compiling the X server with egcs-1.1 and so far I have not
encountered any problems. If I find something strange I will post it on the
egcs list.
Thanks.
On 04-Oct-98 Roderich Schupp wrote:
>
>
>
>
> Juan Casero <casero@bellsouth.net> said:
>> gcc -O6 -ffast-math -I/usr/local/include -I/usr/X11R6/include -I/
>> include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L
> ^^^^^^^^^^^^^^^^^^^
> This is the problem. Unless the gcc-2.7 cpp the egcs cpp doesn't
> predefine symbols like `i386'. But the XFree config files depend
> on this symbol to set e.g. i386Architecture which in turn is
> needed to set LinuxMachineDefines (cf. linux.cf). (Note that
> when you invoke cpp thru gcc, gcc will supply -Di386 when running cpp.
> Hence compiles aren't effected by this change in behaviour,
> only when you explicitly invoke cpp, as e.g. imake does).
> Assuming that you are on Intel the fix is to use
>
> make World BOOTSTRAPCFLAGS=-Di386
>
> when building the X server. And make sure the imake that gets built
> in xc/config/imake is installed, because this imake will now pass
> `-Di386' when it invokes cpp). Otherwise any future xmkmf that you do
> will suffer from the same problem.
>
> Cheers, Roderich
>
>
>
> --
> "Report all obscene mail to your Potsmaster"
>
> Roderich Schupp mailto:rsch@ExperTeam.de
> ExperTeam GmbH http://www.experteam.de/
> Munich, Germany linux:2.1.124
Juan Casero
email: casero@bellsouth.net
__ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a
/____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . .