LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW on Solaris - how do I call a shared library

Hi all,

I am a long time user of LabVIEW and have written dll's that I have called
in the MS Windows versions, well now I have an application I am porting to a
Sparc Ultra 5 running Solaris 7. I just installed LabVIEW 5.1 with the
Application builder and everything works great ! Problem is now I have one
win32 dll I need to re-create as a shared library on the Sun. I can't seem
to find any good app notes or references on how to do this. WIll the GNU
C-compiler work ? Would any one be willing to post an example piece of code
with the proper function call layout and header file, or point me in some
useful direction.

Thanks

Chris
0 Kudos
Message 1 of 2
(2,995 Views)
> I am a long time user of LabVIEW and have written dll's that I have called
> in the MS Windows versions, well now I have an application I am porting to a
> Sparc Ultra 5 running Solaris 7. I just installed LabVIEW 5.1 with the
> Application builder and everything works great ! Problem is now I have one
> win32 dll I need to re-create as a shared library on the Sun. I can't seem
> to find any good app notes or references on how to do this. WIll the GNU
> C-compiler work ? Would any one be willing to post an example piece of code
> with the proper function call layout and header file, or point me in some
> useful direction.
>

The easiest way is probably to follow the examples for CINs and shared
libs. I'm pretty sure gcc works, and there aren't nearly as many an
noying
incompatibilities on SPARCs because the calling conventions are dictated by
the HW rather that the OS; so there is one standard instead of three or four.

I don't have the manual in front of me, but I think there are detailed
instructions for building libraries on the different OSes.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,995 Views)