Linux matching libraries on Windows?

eladho
eladho used Ask the Experts™
on
Hi,

I'm trying to convert some code written to be ran under Linux, to be ran under Window.
Any help on the matter will do-
Starting with where do I find/see the library files my project currently uses, going on to any tips you guys might have...

Thanx,

Elad.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Hi Elad,

You dont mention what language your linux program is written in, but for c/c++ the includes will tell you the libraries linked against.

You also dont mention if it's a gui/non-gui.  Currently there are a few cross plateform toolkits.

QT - www.trolltech.com, very nice, very clean (free/commercial trials available).

Kylix - www.borland.com/kylix - cross plateform product from borland.

wxwindows - www.wxwindows.org free, but not as completed as the qt package.

As for tips, again for C++ using the stl, trolltech has some excellent tips on this at their site, I would recommend their product.

-Jason

Author

Commented:
My program is C/C++, written to be compiled under Linux using GCC 2.95. No GUI whatsoever.
The problem is both the adaptation to the Visual C++ compiler, and the missing library files.
For now- I know, and I'm sorry- my question is incomplete.
It's only the beginning. I'll dig into it some more and then ask some more specific one.
Anyway, Jason, thanx for the comment. I don't need a cross-platform toolkit, as I want to run on Windows only eventually. So, like I said- as I run into specific issues, I'll yell... :-)

Elad.
Commented:
No problem, just take a look at the libraries you use/include....Whenever possible use the stl.

-Jason
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Author

Commented:
Thanx for now !

Commented:
cygwin is the thing that u need
go to www.cygwin.com 
install cygwin and then u will get almost everything that u have on linux..
yes that includes gcc :)

Author

Commented:
Hi Jason,
I haven't really used your recommendations, but the general direction was the right one.
I use stlport and mingw for the missing libraries.
Just one thing- you said "Whenever possible use the stl.", well- stl standard seems to be something which not all vendors really respect, for instance some code that compiles under linux won't compile under visual 6.0 and will under the .NET, and there are many other examples (partial specialization, member templates and so on).

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial