[M3devel] PPC_LINUX breaks
Jay
jayk123 at hotmail.com
Fri Jan 4 20:58:45 CET 2008
I figured out a bunch here.
a) the diffs I showed.
b) "nip" is "next instruction pointer"; that's what you want in the SegV function.
And the last parameter should be void_star instead of int.
You can use like pt_regs.nip for the old definition or uc_regs.gprregs[PT_NIP] for the new definition.
I have diffs here.
c) Usignal.i3 had the stuff vtalarm stuff removed, which PPC_LINUX still uses, "POSIX threads" vs. "PThreads" (oh the names..), though perhaps broken by setjmp/longjmp "scrambling".
Is it possible to break up an interface into
linux-common/foo.i3
linux-ppc/foo.i3
I think not.
Shall we just go ahead and translate LINUX_PPC pthread.h into Modula-3? (Btw, doesn't anyone find all this header rewriting sleazy? Or they have to maintain compat anyway so no problem?)
The error messages are poor.
Let's say I.T does not exist.
VAR x : I.T; (* no error *)
x.foo = bar; (* "unknown qualification" *)
FROM I IMPORT T; (* "T not exported" -- better, but should say T does not exist
I was fumbling around with needing a module to say "EXPORTS" or to capitalize
the Interface directive in m3makefile, neither of which seemed right
*)
- Jay
> From: hosking at cs.purdue.edu
> Date: Fri, 4 Jan 2008 09:43:31 -0500
> To: stsp at elego.de
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] PPC_LINUX breaks
>
> Has anyone built PPC_LINUX? I've never tried.
>
> On Jan 4, 2008, at 9:15 AM, Stefan Sperling wrote:
>
> > On Thu, Jan 03, 2008 at 10:09:22PM +0000, Jay wrote:
> >>
> >> I can't build PPC_LINUX.
> >
> > It's been broken at least since the 5.4 release was made.
> >
> > Back then I failed to build it, and we decided to drop
> > it from the 5.4 release. It needs fixing.
> >
> > --
> > Stefan Sperling <stsp at elego.de> Software Developer
> > elego Software Solutions GmbH HRB 77719
> > Gustav-Meyer-Allee 25, Gebaeude 12 Tel: +49 30 23 45 86 96
> > 13355 Berlin Fax: +49 30 23 45 86 95
> > http://www.elego.de Geschaeftsfuehrer: Olaf Wagner
>
_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080104/986fee40/attachment-0002.html>
More information about the M3devel
mailing list