Pavel writes:
 > Thanks, that did the trick.

Good to hear.

 > I find it very surprising that this problem is present under Solaris, but  
 > not under OS X or Windows. On the other hand, this is not the first time  
 > for me. I had a problem compiling native modules on Solaris before I found  
 > out that -mimpure-text option is needed in many cases(another thing that  
 > should be added to documentation)
 > 
 > Regarding where this should be mentioned in the documentation, the best  
 > solution IMO is to add a Solaris-specific page to  
 > http://www.mozart-oz.org/documentation/foreign/index.html just like the  
 > windows-specific page already there. I know that when I discovered the  
 > problem I started googling for Solaris-specific stuff instead of reading  
 > the documentation one more time. If that's not an option for whatever  
 > reason, putting that somewhere under 4.3 would be good.
 > 

Instead, developers should declare oz_interface to be static on all
platforms. It is a fluke that it (sometimes) works on Windows and
macosx.

In the example in section 2 of the document you point to, oz_interface
*is* declared to be static. So my question really is, where did you
get the idea that it didn't need to be? ;-).

k


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to