What's compatible?

Linux and Windows

Page 1 of 1

5 Replies - 480 Views - Last Post: 28 January 2009 - 05:34 PM Rate Topic: -----

#1 StephenGPC++  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 40
  • Joined: 03-February 08

What's compatible?

Posted 28 January 2009 - 03:27 AM

Hello,

Recently I created a plugin in windows, which is obviously a .dll. I then needed to convert it to a .so, because of a host change.

Durring converting the source, there were a few changes that needed to be made.

I was wondering if there is a list anywhere that would show which includes are compatible on both Linux and Winodws.

Also, whats steps or procedures can I take to help make the source for a project easier to compile for both platforms?

Thanks in advance,
Stephen :^:

Is This A Good Question/Topic? 0
  • +

Replies To: What's compatible?

#2 Hyper  Icon User is offline

  • Banned

Reputation: 108
  • View blog
  • Posts: 2,129
  • Joined: 15-October 08

Re: What's compatible?

Posted 28 January 2009 - 09:46 AM

Post what you have, also read below:

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

#3 StephenGPC++  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 40
  • Joined: 03-February 08

Re: What's compatible?

Posted 28 January 2009 - 05:09 PM

:S I have no source to give as it is a general reference question... I'm not asking for source to anything, I'm asking where I can find out which Includes are Compatible with Linux or Windows....
Was This Post Helpful? 0
  • +
  • -

#4 ccubed  Icon User is offline

  • It's That Guy
  • member icon

Reputation: 160
  • View blog
  • Posts: 1,403
  • Joined: 13-June 08

Re: What's compatible?

Posted 28 January 2009 - 05:18 PM

View PostStephenGPC++, on 28 Jan, 2009 - 04:09 PM, said:

:S I have no source to give as it is a general reference question... I'm not asking for source to anything, I'm asking where I can find out which Includes are Compatible with Linux or Windows....



Generally, ALL includes are workable on both operating systems. It's just that each one has their own special libraries.

for example: Linux has curses, Windows has the Windows.h include.

As far as a list, I really can't say I've ever seen one. Though pretty much anything with "win" in the name is a windows only header file.
Was This Post Helpful? 0
  • +
  • -

#5 StephenGPC++  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 40
  • Joined: 03-February 08

Re: What's compatible?

Posted 28 January 2009 - 05:28 PM

Ok, thank you XD
Was This Post Helpful? 0
  • +
  • -

#6 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5780
  • View blog
  • Posts: 12,595
  • Joined: 16-October 07

Re: What's compatible?

Posted 28 January 2009 - 05:34 PM

Standard C++ should run on both Windows and any version of Linux ( and most anything else).

Beyond that, it's a matter of what non standard code you've used. Or, more specifically, which libraries you've used. If your windows program uses win32 then there is no migration path.

If your gui uses libraries that are implements on multiple platforms, like wxWidget or GTK+, you shouldn't be that bad off.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1