Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: designer seven <designer_7@yahoo.com>
To: axp-list@redhat.com
Subject: Re: Problems with egcs & xmkmf
Date: Mon, 29 Mar 1999 23:15:35 -0800 (PST)	[thread overview]
Message-ID: <19990330071535.1456.rocketmail@web601.yahoomail.com> (raw)

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 <kreutzm@itp.uni-hannover.de>
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


             reply	other threads:[~1999-03-30  7:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-30  7:15 designer seven [this message]
1999-03-30 17:24 ` Problems with egcs & xmkmf Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1999-03-30  6:52 Helge Kreutzmann
1999-03-30  8:55 ` Jurij Smakov
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