gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Re: Patch for gcl-2.6.7 on MacOSX(10.4.2) to build maxim


From: Camm Maguire
Subject: Re: [Gcl-devel] Re: Patch for gcl-2.6.7 on MacOSX(10.4.2) to build maxima-5.9.[12] and so on.
Date: Wed, 14 Dec 2005 20:51:58 -0500
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigory ōmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

Greetings!

Camm Maguire <address@hidden> writes:

> > > 2) Add _setjmp(env) to plttest.c to get both _setjmp and __setjmp
> > >    symbols.  I suspect there is a macosx version dependency to the
> > >    name mangling issue we need to work out.(not committed)
> > 
> > Do you mean that the following call would work ?
> > 
> > void foo () { }
> > 
> > int main ()
> > {
> >   (void) (*p) () = _foo;
> >   (*p) ();
> > }
> > 
> 
> Actaully, I just did _setjmp(env) in plttest.c.  I can try the above,
> but it would seem sure to work.  This was on the older macosx box,
> however, which has since been upgraded.  Will try to double check
> this. 
> 

Just a followup on this point, I've committed a patch to plttest.c on
both branch 2.6.8pre and head which invokes _setjmp(env) directly.
This steps around the name mangling issue on latest macosx AFAICT.

Got to be a better way someday.

Take care,


-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah





reply via email to

[Prev in Thread] Current Thread [Next in Thread]