Egcs and Gnat

Pierre Habraken Pierre.Habraken@ujf-grenoble.fr
Thu Sep 17 05:08:00 GMT 1998


Jeffrey A Law wrote:
> 
>   > Has someone already built successfully egcs 1.1 with gnat 3.10p ?
> README.gnat need some slight revisions.  One gent has posted patches
> which allow gnat3.10p to work with egcs, but we've got copyright assignment
> issues to deal with before we could include those patches in README.gnat.
> 
> However, if you browse the egcs-patches mail archive for August I'd
> bet you could find those patches.  They work and I've used them to
> build gnat-3.10p with egcs.

I found these three patches and applied them to egcs 1.1b.
However, I still get an error when linking gnat1 (see trace below).

(BTW, I had to make entries cc1, crt*.o, etc. in directory
gnat-3.10p/lib/gcc-lib/i386-linux/2.7.2.1, as symbolic links to actual
files in /usr/local/lib/gcc-lib/i386-redhat-linux/2.7.2.3)

Pierre


########################################################################
gcc  -DIN_GCC   -O2   -o ../gnat1 `cat ../stamp-objlist` b_gnat1.o
a-adaint.o a-gettty.o a-gtran3.o a-misc.o a-trans3.o a-trans4.o
a-trans.o a-uintp.o a-argv.o a-raise.o a-init.o ada.o a-charac.o
a-chlat1.o alloc.o atree.o casing.o checks.o comperr.o csets.o cstand.o
debug.o debug_a.o einfo.o elists.o errout.o eval_fat.o exp_attr.o
exp_ch11.o exp_ch12.o exp_ch13.o exp_ch2.o exp_ch3.o exp_ch4.o exp_ch5.o
exp_ch6.o exp_ch7.o exp_ch8.o exp_ch9.o exp_code.o exp_dbug.o exp_disp.o
exp_dist.o exp_fixd.o exp_aggr.o exp_intr.o exp_pakd.o exp_prag.o
exp_strm.o exp_tss.o exp_util.o exp_vfpt.o expander.o features.o fname.o
freeze.o frontend.o g-hesora.o gnat.o g-htable.o g-os_lib.o get_targ.o
gnatvsn.o hostparm.o itypes.o inline.o krunch.o lib.o lib-load.o
lib-writ.o namet.o nlists.o nmake.o opt.o osint.o output.o par.o
restrict.o rtsfind.o s-assert.o s-stalib.o s-stoele.o s-tasoli.o
s-taspda.o s-exctab.o s-wchcnv.o s-wchcon.o s-wchjis.o scans.o scn.o
sdefault.o sem.o sem_aggr.o sem_attr.o sem_ch10.o sem_ch11.o sem_ch12.o
sem_ch13.o sem_ch2.o sem_ch3.o sem_ch4.o sem_ch5.o sem_ch6.o sem_ch7.o
sem_ch8.o sem_ch9.o sem_disp.o sem_case.o sem_dist.o sem_elab.o
sem_eval.o sem_intr.o sem_maps.o sem_mech.o sem_prag.o sem_res.o
sem_type.o sem_util.o sem_vfpt.o sinfo-cn.o sinfo.o sinput.o sinput-l.o
snames.o sprint.o stand.o stringt.o style.o switch.o system.o table.o
tbuild.o tree_gen.o tree_io.o treepr.o treeprs.o ttypef.o ttypes.o
types.o uintp.o uname.o urealp.o usage.o widechar.o back_end.o
gnat1drv.o \
              `if [ xobstack.o != x ]; then echo ../obstack.o; else
true; fi` `case "gcc" in "cc") if [ x != x ]; then echo ../; else true;
fi ;; esac` `if [ x != x ]; then echo ../; else true; fi` 
a-misc.o: In function `yyparse':
a-misc.o(.text+0x16): undefined reference to `__builtin_setjmp'
a-raise.o: In function `__gnat_raise_nodefer_with_msg':
/usr/local/src/egcs-1.1b/gcc/ada/a-raise.c:120: undefined reference to
`__builtin_longjmp'
make[2]: *** [../gnat1] Error 1
make[2]: Leaving directory `/usr/local/src/egcs-1.1b/gcc/ada'
make[1]: *** [gnat1] Error 2
make[1]: Leaving directory `/usr/local/src/egcs-1.1b/gcc'
make: *** [all-gcc] Error 2
########################################################################
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@ujf-grenoble.fr
Tél: 04 76 51 48 87 - Fax: 04 76 51 45 63
Université Joseph Fourier - Département Scientifique Universitaire
Adresse postale : CAFIM/DSU BP53 38041 Grenoble Cedex 9
________________________________________________________________________



More information about the Gcc-patches mailing list