From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f944c06c54252100 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,f944c06c54252100 X-Google-Attributes: gidf678f,public X-Google-Thread: 1164f8,f944c06c54252100 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-18 05:49:35 PST Xref: gmd.de comp.unix.osf.misc:242 comp.unix.osf.osf1:403 comp.sys.dec:7716 Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1,comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!mv!synergy.Synergytics.Com!marc From: marc@synergy.Synergytics.Com (Marc Evans) Subject: Re: An ordinary day of an Alpha OSF/1 user... Nntp-Posting-Host: synergy.synergytics.com References: Sender: usenet@mv.mv.com (Rob Chesler) Organization: Synergytics Date: Tue, 18 May 1993 12:28:58 GMT Message-ID: Reply-To: Marc@Synergytics.Com In article , 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 ===========================================================================