Greetings!

Waldek Hebisch <[EMAIL PROTECTED]> writes:

> Camm Maguire wrote:
> > At present, there are 5 platforms in gcl-2.6.x (hppa, ia64, alpha,
> > mips, and mipsel) and 2 platforms on gcl-2.7.x (hppa and ia64) which
> > cannot natively relocate compiled object files.  This means that (load
> > "foo.o")(si::save-system "bar") will give garbage in bar (perhaps in
> > should simple be an error.  This is because loads happen via dlopen
> > and exist outside the heap.  Instead, images must be saved with
> > compiler::link.  Thus, there are some alternate commands which need
> > issuing in the axiom build to make this all work.  These are
> > summarized in the debian/patch.merge file in the debian axiom package.
> > With these commands, axiom builds on all 12 Debian platforms.
> > 
> 
> > +   @ (cd ${MID} ; \
> > +      echo ')set out le 200' >/tmp/tmp.input ; \
> > +      echo ')fin' >>/tmp/tmp.input ; \
> > +      echo "#+native-reloc(make-databases \"\" (QUOTE 
> > (\"unix\")))#-native-reloc(system \"cp ${SRC}/../debian/*.daase ${MID}\")" 
> > >>/tmp/tmp.input ; \
> > +      echo '(bye)' >>/tmp/tmp.input ; \
> > +      cat /tmp/tmp.input | ${INTERPSYS} ; \
> > +      rm -f /tmp/tmp.input )
> > +#  @ (cp ${SRC}/../debian/*.daase ${MID})
> >     @ echo If all went well, go-ahead Mike and do a db-install as well !
> 
> I see that you skip database build when native-reloc does not hold.  Did
> you try loading all domain files in interpreted mode?  AFAICS one gets
> the same database and speed is also quite similar.
> 

What a great idea -- no I have not tried this, hoping instead to get
the native relocs working, but this has taken longer than expected.

> BTW.  To load domain files in interpreted mode I just removed .o files (there
> is probably a better way).

It might be possible to rebind si::*load-types* at the right moment.  

Thanks again!

> 
> -- 
>                               Waldek Hebisch
> [EMAIL PROTECTED] 
> 
> 
> 

-- 
Camm Maguire                                            [EMAIL PROTECTED]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to