1. Peu on SunOS 5.6 .. BUG

I tried compiling Peu for SunOS 5.6 with gcc and ran into a big problem.
If I try to call a procedure or function defined in my program I get a
Segmentation fault.

Side note:  to get Peu.c to compile I had to move the #define version 0.50
from the beginning to after the #includes.

Also, is there a seperate list for Peu?  I looked on Pete's web page and
couldn't find any Peu related posts on his message board.

-Humberto Yeverino Jr.

"I kick ass for the Lord."
-Dead Alive (1992)

***********************************************************
Home Page:
  http://www.engr.csufresno.edu/~humberto/Home.html

Ti Page:
  http://www.engr.csufresno.edu/~humberto/tex.html

z80 Source Page:
  http://www.engr.csufresno.edu/~humberto/z80source.html

Official Tyrant Home Page:
  http://www.engr.csufresno.edu/~humberto/tyrant.html

E-mail:
  humberto at engr.csufresno.edu
***********************************************************

new topic     » topic index » view message » categorize

2. Re: Peu on SunOS 5.6 .. BUG

> I tried compiling Peu for SunOS 5.6 with gcc and ran into a big problem.
> If I try to call a procedure or function defined in my program I get a
> Segmentation fault.

Yeah, I'm aware of this failure on SunOS, the HP computers here at school
are all running that version too.  I haven't figured out what causes the
segfault, but its probably due to some evil pointer casting in Peu.

> Side note:  to get Peu.c to compile I had to move the #define version
> 0.5 from the beginning to after the #includes.

Hmmm... maybe a conflict in the standard include files?

> Also, is there a seperate list for Peu?  I looked on Pete's web page and
> couldn't find any Peu related posts on his message board.

Well, you could always post some smile

> -Humberto Yeverino Jr.

But the good news is: the next version of Peu (v 0.11) is underway.  I've
totally rewritten the core bytecode interpreter and now the rest of the C
source will eventually follow suit.  The current new edition only handles
constants, integers, addition and "?".  Though I'm curious how quickly the
rewrite will go, compared to the first development, which seemed to come
out nowhere this summer.  I still can't figure out how I did it in such a
short time.

Victims, er... "volunteers" are always welcome to test the code with
various C compilers on various operating systems.

Laters all,
 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu