Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to make a (compiled) code that other programmers can use (cross-platform)?  (Read 1868 times)

0 Members and 1 Guest are viewing this topic.

tom64

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
(C++ question) I need to be able make a compiled code (like a .dll?) which other programmers can use on linux, win,, mac, etc.

The compiled code would simply do calculations and spit out an answer in memory.

I need it to have certain functions that they can easily call and understand (without actually seeing the source).

Does anyone know if this is possible and how?

Thanks in advance,
Tom.
Newbie to C++ and SFML

mateandmetal

  • Full Member
  • ***
  • Posts: 171
  • The bird is the word
    • View Profile
    • my blog
You cant

Windows uses .dll libraries
Mac uses dylib ? I guess  :-\
Linux uses .so files

You must compile the libraries for the specific OS (and architecture)
- Mate (beverage) addict
- Heavy metal addict _lml
- SFML 2 addict
- My first (and free) game: BichingISH!

 

anything