[SunRescue] problem compiling ncurses on SunOS 4.1.1/sun3
Alexander Bochmann
ab at infra.de
Thu May 4 13:02:31 CDT 2000
...on Thu, May 04, 2000 at 02:24:24PM +0100, Martin Frost wrote:
> > Can there be a problem with just the m68k-sun-sunos4.1.1 target, or
> > is it more likely I have some systematic error here
> You say you are using GNU binutils.
> Did you configure gcc with --use-gnu-as and --use-gnu-ld ?
I did try different combinations (I think I made the gnu binutils
after it didn't work without)...
For the 2.7.2.3 gcc I didn't use these flags, because the readme sais
that they don't have any effect on this target. I think I had 2.95.2
and 2.8.1 with and without --use-gnu*.
Alex.
P.S., with 2.7.2.3 the following code is generated that fails:
__nc_free_keytry:
link a6,#0
movel a5,sp at -
movel a2,sp at -
movel #__GLOBAL_OFFSET_TABLE_, a5
lea pc@(0,a5:l),a5
movel a6@(8),a2
tstl a2
jeq L3
movel a2@,sp at -
jbsr __nc_free_keytry,a1
movel a2@(4),sp at -
jbsr __nc_free_keytry,a1
movel a2,sp at -
movel a5@(_free:w),a0
jsr a0@
More information about the rescue
mailing list