comp.lang.ada
 help / color / mirror / Atom feed
From: ka@socrates.hr.att.com (Kenneth Almquist)
Subject: Re: GNAT 2.04 Linux binaries?
Date: 1995/04/21
Date: 1995-04-21T00:00:00+00:00	[thread overview]
Message-ID: <D7E6qM.n42@nntpa.cb.att.com> (raw)
In-Reply-To: VLADIMIR.95Apr19211236@speedy.intrepid.com

vladimir@speedy.intrepid.com (Vladimir Vukicevic) asks:
> Or did someone just go off on a whim and say "Hey! Let's make
> setjmp a macro, and break interfacing to every other language! Yeah!"?

There was a machine on which implementing setjmp as a function was
difficult if not impossible.  (I don't remember the machine or the
details; it was something to do with not being able to access the
frame pointer for anything besides the current procedure.)

Calling setjmp from a language other than C is not a particularly
good idea anyway; for example if the interface is implemented using
stub routines setjmp won't work at all.  The difficulty GNAT faces
is that the method of performing a setjmp is machine-specific but
is not specified in the machine descriptions used by GCC.
				Kenneth Almquist




  reply	other threads:[~1995-04-21  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <RBREWER.95Apr13234004@rwb114.rh.psu.edu>
     [not found] ` <3mm4vn$f52@mica.inel.gov>
1995-04-20  0:00   ` GNAT 2.04 Linux binaries? Vladimir Vukicevic
1995-04-21  0:00     ` Kenneth Almquist [this message]
1995-04-21  0:00 ` Paul H. Whittington
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox