From: Christian Iseli <chris@ludwig-alpha.unil.ch>
To: axp-list@redhat.com
Subject: Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations
Date: Mon, 10 Jan 2000 09:33:06 +0100 [thread overview]
Message-ID: <200001100833.JAA32414@ludwig-alpha.unil.ch> (raw)
In-Reply-To: Your message of "Sun, 09 Jan 2000 22:10:46 +0100." <3878F956.D99B9540@chello.nl>
Hi,
s.vandereijk@chello.nl said:
> on my alpha system (running linux), and now I get the following error
> when compiling a lot of packages:
> ...
> + make
> gcc -O -I./lib/Xt -I. -I/usr/X11R6/include
> -Dlinux
> LinuxMachineDefines
As a quick fix, you might try to add:
#define __alpha 1
near the top of /usr/X11R6/lib/X11/config/Imake.tmpl
Another way is to patch XFree86 like so:
--- XFree86-3.3.3/xc/config/imake/imakemdep.h.imake Fri Dec 4 17:35:13 1998
+++ XFree86-3.3.3/xc/config/imake/imakemdep.h Fri Dec 4 17:37:01 1998
@@ -511,6 +511,15 @@ char *cpp_argv[ARGUMENTS] = {
#ifdef linux
"-traditional",
"-Dlinux",
+# ifdef __alpha
+ "-D__alpha",
+# endif
+# ifdef __alpha__
+ "-D__alpha__",
+# endif
+# ifdef __i386__
+ "-D__i386__",
+# endif
#endif
#ifdef __uxp__
"-D__uxp__",
There are probably other ways too... ;-)
Cheers,
Christian
next prev parent reply other threads:[~2000-01-10 8:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-09 21:10 upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations Stefan van der Eijk
2000-01-10 8:33 ` Christian Iseli [this message]
2000-01-10 11:43 ` Craig P Prescott
2000-01-10 17:38 ` Stefan van der Eijk
2000-01-11 6:34 ` Stefan van der Eijk
2000-01-11 7:17 ` upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and Michal Jaegermann
2000-01-11 12:42 ` upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations Ivan Kokshaysky
-- strict thread matches above, loose matches on Subject: below --
2000-01-09 21:30 Designer Seven
2000-01-09 23:41 ` Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox