[comp.windows.interviews] Compiliation of 3.0Beta

pwb@mrj.com (Peter W. Brewer) (04/19/91)

I used the Saber software version of the AT&T 2.0 translator to build
3.0Beta. I was able to do all but idraw, ibuild and schem. The translator
wretched on some of the source files (but not all) associated with these
applications. I have heard that the folks at Saber were able to build
this tool in-house. I am using this experience as a justification for
buying Saber (which seems a good way to acquire the 2.0/2.1 translator).

Here are the files:

	The same error occurs throughout..

making all for sun4 in ./src/bin/ibuild/sun4
compiling ../ibadjuster.c
rm -f ibadjuster.o ibadjuster..c
CC +p    -O     -Dcplusplus_2_0 -Div2_6_compatible    -I..  -I../../../.././src/
include/InterViews/2.6 -I../../../.././src/include/IV-look/2.6  -I../../../.././
src/include  -I/usr/X11/include  -D_NO_PROTO -DSTRINGS_ALIGNED -DNO_REGEX -DNO_I
SDIR -DUSE_RE_COMP -DUSE_GETWD   -c ../ibadjuster.c
CC  +p ../ibadjuster.c:
This copy of Saber-C++ terminates in 11 days.
internal <<AT&T C++ Translator 2.00 (Saber-C++ 1.0) 11/20/90>> error: bus error
(or something nasty like that)
1 error
*** Error code 1
make: Fatal error: Command failed for target `ibadjuster.o'
Current working directory /usr2/InterViews/3.0/iv/src/bin/ibuild/sun4
13.7u 6.6s 0:27 73% 0+1040k 231+47io 254pf+0w

under Ibuild:

	ibadjuster.c
	ibcmds.c
	ibed.c
	ibframe.c
	iblist.c
	ibpanner.c

under Idraw:

	ided.c

under Schem;

	scmpal.c

Thanks in advance for any help we receive!

	Peter Brewer
	pwb%mrj.com@uunet.uu.net

nishio@kuis.kyoto-u.ac.jp (Nishio `Cchwitz' Shuichi) (04/20/91)

In article <9104191623.AA29047@mrj.com> pwb@mrj.com (Peter W.  Brewer) writes:

   internal <<AT&T C++ Translator 2.00 (Saber-C++ 1.0) 11/20/90>> error: bus error
   (or something nasty like that)
   1 error
   *** Error code 1
   make: Fatal error: Command failed for target `ibadjuster.o'

Try adding "+i" to CCDriver definition and remake.
It worked with me.

--nishio

tkacik@hobbes.cs.gmr.com (Tom Tkacik CS/50) (04/23/91)

In article <NISHIO.91Apr20170837@mizar.kuis.kyoto-u.ac.jp>,
nishio@kuis.kyoto-u.ac.jp (Nishio `Cchwitz' Shuichi) writes:
|> In article <9104191623.AA29047@mrj.com> pwb@mrj.com (Peter W. 
Brewer) writes:
|> 
|>    internal <<AT&T C++ Translator 2.00 (Saber-C++ 1.0) 11/20/90>>
error: bus error
|>    (or something nasty like that)
|>    1 error
|>    *** Error code 1
|>    make: Fatal error: Command failed for target `ibadjuster.o'
|> 
|> Try adding "+i" to CCDriver definition and remake.
|> It worked with me.

I am glad that worked for you.  It did not do anything for me.
Anybody else have any luck.

I managed to get idraw compiled by compiling ided.c in the SUN4 directory
by hand, leaving off the +f../ided.c option to cfront.

Try the following, (though not for the weak of heart:-) :

	$ cd $(TOP)/iv/src/bin/idraw/SUN4       #or where ever
	$ CC -E -I(all of them-copy from the make command) ../ided.c > ided.i
	$ cfront +L < ided.i > ided.c     #this will not overwrite the original
	$ cc -c -O ided.c
	$ cd ..
	$ make

It appeared to only leave off the file name for debugging purposes,
(I can live with that).  Then rerunning make from the idraw directory.

However when I tried ibuild, I got about a million error messages of the form

ibcmds.o: __ptbl__XXXXXXXXXXXXXXX: multiply defined.

Obviously, that +ffile_name did something.  Does anybody know what that option
to cfront does?  Saber did not supply us with that man page.
(Though, I am not sure if anybody else supplies it either.):-(

--
Tom Tkacik
GM Research Labs
tkacik@hobbes.cs.gmr.com