Paolo,
It must have something to do with the install -- when I
leave the directory where the 2.2d source is, it fails as
before... weird.
Brad
----- Original Message ----
From: Brad Watson <whitebearded1 yahoo.com>
To: Brad Watson <whitebearded1 yahoo.com>; Paolo
Bonzini <paolo.bonzini lu.unisi.ch>
Cc: help-smalltalk gnu.org
Sent: Wednesday, December 6, 2006 2:56:20 PM
Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3
Paolo,
I re-installed 2.2e and still had problems. I re-installed
2.2d and its work again the way anticipated that it
would....
whitebearded1 molly:~/src/smalltalk-2.2d$ gst -f
~/swigtesting/SDL_mouse.st
whitebearded1 molly:~/src/smalltalk-2.2d$
Brad
----- Original Message ----
From: Brad Watson <whitebearded1 yahoo.com>
To: Paolo Bonzini <paolo.bonzini lu.unisi.ch>
Cc: help-smalltalk gnu.org
Sent: Wednesday, December 6, 2006 5:40:46 AM
Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3
Hi Paolo
Please find attached an example file.
Kind regards,
----- Original Message ----
From: Paolo Bonzini <paolo.bonzini lu.unisi.ch>
To: Brad Watson <whitebearded1 yahoo.com>
Cc: help-smalltalk gnu.org
Sent: Wednesday, December 6, 2006 12:33:38 AM
Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3
> I upgraded to the 2.3 release of gst, but now dynamic
c-calls aren't working for me:
>
> Is there a different way I should invoke them now ?
Can you send the file? This works for me:
DLD addLibrary: 'libc.la'.
Object compile: 'getpid <cCall: ''getpid'' returning:
#int args: #()>'!
nil getpid printNl!
Paolo
____________________________________________________________
________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
a>
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
____________________________________________________________
________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
a>
____________________________________________________________
________________________
Have a burning question?
Go to www.Answers.yahoo.com and get answers from real people
who know.
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|