Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Problems with egcs & xmkmf
@ 1999-03-30  7:15 designer seven
  1999-03-30 17:24 ` Michal Jaegermann
  0 siblings, 1 reply; 4+ messages in thread
From: designer seven @ 1999-03-30  7:15 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Problems with egcs & xmkmf
@ 1999-03-30  6:52 Helge Kreutzmann
  1999-03-30  8:55 ` Jurij Smakov
  0 siblings, 1 reply; 4+ messages in thread
From: Helge Kreutzmann @ 1999-03-30  6:52 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-30 17:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-30  7:15 Problems with egcs & xmkmf designer seven
1999-03-30 17:24 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox