From: Jurij Smakov <jurijus@theophys.kth.se>
To: axp-list@redhat.com
Subject: Re: Problems with egcs & xmkmf
Date: Tue, 30 Mar 1999 10:55:09 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.05_heb2.07.9903301052150.18576-100000@uranus.theophys.kth.se> (raw)
In-Reply-To: <Pine.A41.4.10.9903300845180.7134-100000@deneb.itp.uni-hannover.de>
On Tue, 30 Mar 1999, Helge Kreutzmann wrote:
> Hallo !
[skipped]
> 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) ?
I ran into this too... The answer is:
$ more /usr/X11R6/lib/X11/config/linux.cf | grep LinuxMachineDefines
#define LinuxMachineDefines -D__i386__
#define LinuxMachineDefines -D__alpha__
#define LinuxMachineDefines -D__mc68000__
#define StandardDefines -Dlinux LinuxMachineDefines
LinuxSourceDefines
If you compile on Alpha, You should replace LinuxMachineDefines
with -D__alpha__
Best regards,
O----------------------O---------------------------------------O
| _ | ICQ : 1690331 |
| Jurij Smakov | E-mail : jurijus@theophys.kth.se |
| | WWW : www.theophys.kth.se/~jurijus |
O----------------------O---------------------------------------O
| PGP public key: finger -l jurijus@medea.theophys.kth.se |
O--------------------------------------------------------------O
next prev parent reply other threads:[~1999-03-30 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-30 6:52 Problems with egcs & xmkmf Helge Kreutzmann
1999-03-30 8:55 ` Jurij Smakov [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-30 7:15 designer seven
1999-03-30 17:24 ` Michal Jaegermann
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