Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1029
  • Last Modified:

How to build C++ project in Linux?

I have a project in VC++ 8 using only c++ methods and libraries. Now I need to port the source code to GCC on Linux (Open SUSE). I would like to know the steps to build the files here.
Details like where to copy the source code, how to compile and build the entire code, how to link external libraries and dlls, are requested to be included.
0
Cool-Guy
Asked:
Cool-Guy
3 Solutions
 
silemoneCommented:
you could use borland IDE
0
 
Cool-GuyAuthor Commented:
I can't use anything that needs paid license.
0
 
vhpgomesCommented:
There's a couple of free IDE's for linux. I'd recomend two of them:

Codeblocks: http://www.codeblocks.org/

Anjuta: http://www.anjuta.org/

With them you can setup projects just like Visual Studio. If you need help installing them, tell us wich Linux distribution are you using.

If you have few source files you can do a makefile yourself. Here's a little tutorial:
http://mrbook.org/tutorials/make/

Hope this help.

Victor


0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
Duncan RoeSoftware DeveloperCommented:
At work, some of the guys use Eclipse. That is free.
http://www.eclipse.org/
0
 
ray_leachCommented:
You could try KDevelop (it's part of the openSuSE distro already, as is Eclipse).
KDevelop have a nice tutotial which walks you through setup up the build environments, explains the source trees and helps you compile your first project.
0
 
Cool-GuyAuthor Commented:
thank you
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now