From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4175 invoked from network); 30 Mar 1999 07:30:12 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Mar 1999 07:30:12 -0000 Received: from web601.yahoomail.com (web136.yahoomail.com [205.180.60.12]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id CAA26754 for ; Tue, 30 Mar 1999 02:14:20 -0500 Message-ID: <19990330071535.1456.rocketmail@web601.yahoomail.com> Received: from [205.180.60.20] by web136.yahoomail.com; Mon, 29 Mar 1999 23:15:35 PST Date: Mon, 29 Mar 1999 23:15:35 -0800 (PST) From: designer seven Subject: Re: Problems with egcs & xmkmf To: axp-list@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hello, Hmmm.. I kind of remember this from when I was compiling XFree86 3.3.2 a while ago... I might be totally wrong.. but if my memory serves me well, the problem is that the egcs doesn't know about __alpha and only knows about __alpha__ .... the the LinuxMachineDefines that you removed should really have been replaced with something more sensible. The way I got around it was grep thru all the files in the source tree for __alpha and replaced them with __alpha__ ...once I did that, everything was fine. Sorry if this is totally unrelated... but I think this is what I remember... and it was egcs-1.1.1 too.. D. --- Helge Kreutzmann wrote: > 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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com