From: marc@synergy.Synergytics.Com (Marc Evans)
Subject: Re: An ordinary day of an Alpha OSF/1 user...
Date: Tue, 18 May 1993 12:28:58 GMT [thread overview]
Message-ID: <C782oB.IJr@mv.mv.com> (raw)
In-Reply-To: WAGEN.93May17175734@slalpha1.epfl.ch
In article <WAGEN.93May17175734@slalpha1.epfl.ch>, wagen@slalpha1.epfl.ch (Didier Wagenknecht) writes:
|>
|> Has someone already tried to compile on Alpha plateform some C code ?
|> Example:
|> cc -j -I. -O4 -Olimit 2000 -D_BSD tc.str.c
You must use -non_shared when using -O3 or -O4.
|>
|> Well. I'll compile another day. Let's try to compile some X11 progs:
|>
|> X11> make Makefile -f Makefile.ini
|> cd ./config; make -f Makefile.ini BOOTSTRAPCFLAGS=""
|> making imake with BOOTSTRAPCFLAGS=
|> cc -o ccimake -O2 -I../include ccimake.c
|> cc -c -O2 -I../include `./ccimake` imake.c
|> cc -o imake imake.o
|> rm -f Makefile.bak; mv Makefile Makefile.bak
|> mv: Makefile: No such file or directory
|> *** Exit 1 (ignored)
|> ./config/imake -I./config -DTOPDIR=. -DCURDIR=.
|> cpp: ERROR MESSAGE 4ERROR MESSAGE 80
|> cpp: ERROR MESSAGE 4ERROR MESSAGE 80
If I didn't know any better, I would have to guess that you are trying to build
the MIT X tree, as that is the only place I have encountered a "Makefile.ini"
in the manner shown. Why you aren't using the imake environment supplied with
the system is beyond me, but none the less should be doable.
The problem you have encountered is not invoking cpp in the *proper* manner. If
you look closely at how it is done by imake on the system supplied version you
will discover that it it is probably a bit different then you expect (you will
have to reverse engineer the imake executable to discover this).
In any case, to resolve your problem, as root add the following sym links:
ln -s cc/err.english.cc /usr/ccs/lib/cmplrs/err.english.cc
ln -s cc/err.english.cc3.0 /usr/ccs/lib/cmplrs/err.english.cc3.0
Alternatively, there is an environment variable that tells cpp where to go get
error messages. The real problem in this whole thing is that cpp is not expected
to be invoked by anything other then the compiler suite, which has the proper
frontend to insure that the error messages will be found. The vanilla MIT X
sources do not know about this...
--
===========================================================================
Marc Evans - Marc@Synergytics.COM | Synergytics (603)635-8876
WB1GRH - WB1GRH@WA1YTW.NH.USA | 21 Hinds Ln, Pelham, NH 03076
---------------------------------------------------------------------------
Unix and X11 Software Consultant
===========================================================================
prev parent reply other threads:[~1993-05-18 12:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-05-17 21:57 An ordinary day of an Alpha OSF/1 user Didier Wagenknecht
1993-05-17 20:34 ` Mark Charette
1993-05-18 22:10 ` Didier Wagenknecht
1993-05-18 8:43 ` James Bonfield
1993-05-19 16:32 ` Burkhard Neidecker-Lutz
1993-05-18 12:28 ` Marc Evans [this message]
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