Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Developing C++ app on Linux

Status
Not open for further replies.

komyg

Programmer
Dec 13, 2005
68
BR
Hi, I need to develop a C++ application for Linux, and I am worried about its compatibility with between different distros, for example if I develop it on Kubuntu, is it possible that I may have compatibility issues if I run it on Gentoo or Open SUSE for example?

In other words, what should I keep in mind to make my application compatible with other Linux distros?

Thanks,
Komyg
 
Are you planning on making a text based application or a GUI based application?

If you are planning on making a GUI application, be aware that there are a couple of different platforms, such as Gnome (GTK) and KDE. If you develop for one and the user has the other, they can get the libraries for the other so it isn't a show stopper.

Otherwise, for the most part they should be fairly compatible, especially if you publish as source code and let them compiler it for their own system.

It is possible to take advantage of the automake and autoconf tools that will help configure all the libraries, etc for that individual installation. Some IDE environments, such as Anjuta for Gnome, set these up for you.

 
If you link it statically, you won't have any dependencies on shared libraries (.so). It should be compatible with everything then.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top