From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29228 invoked from network); 10 Jan 2000 08:38:40 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Jan 2000 08:38:40 -0000 Received: from ludwig-alpha.unil.ch (root@ludwig-alpha.unil.ch [192.42.197.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA30807 for ; Mon, 10 Jan 2000 03:38:39 -0500 Received: from ludwig-alpha.unil.ch (chris@localhost) by ludwig-alpha.unil.ch (8.9.3/8.9.3) with ESMTP id JAA32414 for ; Mon, 10 Jan 2000 09:33:07 +0100 Message-Id: <200001100833.JAA32414@ludwig-alpha.unil.ch> X-Mailer: exmh version 2.0.2 To: axp-list@redhat.com Subject: Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations In-Reply-To: Your message of "Sun, 09 Jan 2000 22:10:46 +0100." <3878F956.D99B9540@chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Jan 2000 09:33:06 +0100 From: Christian Iseli 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