Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 25th, 2005, 01:15 PM
RShadow
Guest
 
Posts: n/a
Default cross platform shared libraries

ok, this is going to drive me crazy. I did this a long time ago, but
forgot how it I got it all to work. Now I just can't get anything to
work. Can somebody please refer me to an example, book reference, or
other resource that can explain how to build and use a shared library
(.dll and .so) that is cross platform compatible. I understand that
the loading of the library will be different from windows to linux, and
the build process will be different, but the actual library code
shouldn't have to be changed. What I want to do is basicly just export
an entire class.

  #2  
Old December 26th, 2005, 12:55 AM
Dave Townsend
Guest
 
Posts: n/a
Default Re: cross platform shared libraries


"RShadow" <rshadowstalker@gmail.com> wrote in message
news:1135515297.788184.59510@g47g2000cwa.googlegro ups.com...[color=blue]
> ok, this is going to drive me crazy. I did this a long time ago, but
> forgot how it I got it all to work. Now I just can't get anything to
> work. Can somebody please refer me to an example, book reference, or
> other resource that can explain how to build and use a shared library
> (.dll and .so) that is cross platform compatible. I understand that
> the loading of the library will be different from windows to linux, and
> the build process will be different, but the actual library code
> shouldn't have to be changed. What I want to do is basicly just export
> an entire class.
>[/color]

This is very off topic, but since its Christmas....
I had this problem recently, my company however had adopted ANT as part
of its build methodology. ANT can be extended by downloading java Jar
files
in particular cctask.jar which provides a crossplatform abstraction which
you can
build on Linix and Windows (prob. Mac as well). The details of the
compiler/linker
options are quite different for each platform, so its nice that ANT takes
care of this if
you have a number of libraries to build.

dave





 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles