[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations
- 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
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]