The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Build Your Own Oracle RAC 11g Cluster on Linux and iSCSI iBot Oracle Updates (RSS) 0 04-06-2008 05:10 AM
Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and iSCSI iBot Oracle Updates (RSS) 0 04-06-2008 05:10 AM
Build Your Own Oracle RAC 10g Release 2 Cluster on Linux and Firewire iBot Oracle Updates (RSS) 0 04-06-2008 05:10 AM
I want to cheaply build my own Linux/Unix PC, but don't know where to start Mr. Nice Guy UNIX for Dummies Questions & Answers 4 12-19-2005 09:47 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 2 Weeks Ago
milindb milindb is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 19
Question Compilers to be used on Linux box to build C & C++

Hallo,
Recently I have started working on a Linux box it has a default compilers.I tried to build a simple code using the default compilers.
compilers installed is at /usr/bin/cc
When I used same compilers to compile a C++ code error message is appearing.Then I tried to compile same code using gcc compiler placed at-/usr/bin/gcc.Also I tried with cpp compilers at - /usr/bin/cpp but error follows with some different messages.

Confusion I am having is can't I used same compilers to build both c & c++ code?
Why I am getting errors while using using cpp & gcc compilers?

Kindly help me to resolve this issue.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0