Accessing 64bit .so files in VA 7.5.2 (32bit)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Accessing 64bit .so files in VA 7.5.2 (32bit)

Gaurav Sharma
Hi,
I was trying to access some 64bit .so files in VA Smalltalk (7.5.2) installed on a linux machine. The code works fine for 32bit files but fails for 64bit files...
We used a platform function object but it is not able to return  a valid function pointer as  "abtValidAddress" returns false.
 
Any clue as to how this can be fixed? or are 64bit .so files not supported?
 
code-

( PlatformFunction

      language: 'mvs'

     function:  'bjl'

     library: (CfsDirectoryDescriptor getcwd,'/',('BJL32'))

     parameterTypes: #(pointer)

     returnType: #int32 ) abtValidAddress.

|

 

 

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/I2byihYtsy8J.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: Accessing 64bit .so files in VA 7.5.2 (32bit)

Marten Feldtmann-2
You can not access 64 bit libraries from 32 bit applications.


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/7YbEXwWFeR8J.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.