From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18041 invoked from network); 30 Mar 1999 07:09:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Mar 1999 07:09:52 -0000 Received: from mgate2.uni-hannover.de (root@mgate2.uni-hannover.de [130.75.2.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id BAA25917 for ; Tue, 30 Mar 1999 01:54:01 -0500 Received: from deneb.itp.uni-hannover.de by mgate2.uni-hannover.de with LocalSMTP (PP) with ESMTP; Tue, 30 Mar 1999 08:52:55 +0200 Received: from localhost (kreutzm@localhost) by deneb.itp.uni-hannover.de (AIX4.2/UCB 8.7/8.7) with ESMTP id IAA11256 for ; Tue, 30 Mar 1999 08:52:54 +0200 (CEST) Date: Tue, 30 Mar 1999 08:52:54 +0200 (CEST) From: Helge Kreutzmann To: axp-list@redhat.com Subject: Problems with egcs & xmkmf Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hallo ! I recently got the egcs from ftp.alphalinux.org [root@sixtyfor awesfx-0.4.3a]# gcc -v Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.60/specs gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) (thanks Peter !) to compile 2.2.3 (wich went fine). When I try to compile programms which create their makefiles via xmkmf I get bogous makefiles e.g. output like gcc -Wall -Iinclude -I/usr/X11R6/include -I/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c sfxload.c -o sfxload.o gcc: cannot specify -o with -c or -S and multiple compilations make: *** [sfxload.o] Error 1 When I remove the "LinuxMachineDefines" manually from all makefiles created, the compilation runs (almost) fine. I checked the docs at cygnus but could not find something I thought related. Does anyone know what xmkmf intends to include and what I have to change to get it work (or which rtfm I have to read) ? Thanks ! P.S. The egcs-rpms installed (almost) fine, except some minor conflicts (fvwm beeing the most "important" but it works flawlessly) and some warning due to the fact that no user pptrakis exists on my system :-(( Helge.Kreutzmann@stud.uni-hannover.de kreutzm@itp.uni-hannover.de