[comp.windows.x] rtl Does it work?

ham@polya.stars.flab.Fujitsu.JUNET (Peter R. Ham) (11/05/88)

Hi,
	I'm very frustrated.  After reading the rtl documentation, it seems very interesting, but I couldn't
get it to work.  I tried to install it on two different machines: a sun4 and a vax running ultrix.
Both compilers created many warning messages about declaring variables extern and then redeclaring them
static.  I used both gcc and cc.  gcc actually encountered some fatal errors on some of the sources.
I had to alter the Makefiles a little to pick up the X11lib.a and X11libold.a.  Finally, the vax version
linked, but the sun4 version never did since if had one unresolved reference "divsi3". Where is this symbol
defined?
I ran the vax version and it got a floating exception and core dumped.  So I had no success.
gcc also refused to compile one file because one of the macros had more than five arguments.
Can you help me out?

Peter



--

Peter Ham			PO Box 3430	(415) 321-5746
MS Computer Science Student	Stanford, CA	ham@polya.stanfor.edu
Stanford University 		94309

xacct@uhccux.uhcc.hawaii.edu (X-Windows Account) (11/08/88)

From article <HAM.88Nov4204847@polya.stars.flab.Fujitsu.JUNET>, by ham@polya.stars.flab.Fujitsu.JUNET (Peter R. Ham):
" linked, but the sun4 version never did since if had one unresolved reference "divsi3". Where is this symbol
" defined?

gcc-gnulib .

If you make some of the .o files with gcc but link with cc ..., you
need to add a reference to gcc-gnulib to the link command.
		Greg, lee@uhccux.uhcc.hawaii.edu