[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnat 3.11p gnatchop problem



joel at oarcorp.com wrote:
> 
> In updating the gnat patches for 3.11p, I have run into a problem I have
> seen reported on the list.  If XXX-rtems-gnatchop does not work for you,
> then this is likely your fix. :)
> 
> Basically you had to have both a native and cross gnat to make gnatchop
> work.  XXX-rtems-gnatchop was still invoking the native gcc to do the
> chop. :(
>


It works almost - a patch for the makefile is also necessary:


*** gnat-3.11p-src/src/ada/Makefile.in    Fri Jul  2 09:58:15 1999
--- gcc-2.8.1/ada/Makefile.in Fri Jul  2 09:58:17 1999
***************
*** 321,326 ****
--- 321,328 ----
   s-valuns.o s-valint.o

  GNATCHOP_OBJS = gnatchop.o gnatvsn.o \
+    namet.o opt.o osint.o fname.o widechar.o krunch.o s-wchcon.o
s-wchjis.o \
+    output.o sdefault.o switch.o table.o tree_io.o types.o debug.o  \
     $(GNATCHOP_RTL_OBJS) $(EXTRA_GNATTOOLS_OBJS)
                                                            



Jiri.
-- 

---------------------------------------------------------------------
Jiri Gaisler, ESA/ESTEC, Box 299, 2200 AG Noordwijk, the Netherlands
email: jgais at ws.estec.esa.nl voice:+31-71-5654880  fax:+31-71-5654295 
ERC32 home page at http://www.estec.esa.nl/wsmwww/erc32