Thread: compile FC3

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    3

    compile FC3

    I would like to know how to invoke the C++ compiler in Fedora Core3
    In Linux 7 it was : g++ filename
    Thanks

  2. #2
    Banned
    Join Date
    Jun 2005
    Posts
    594
    try gcc filename

  3. #3
    aoeuhtns
    Join Date
    Jul 2005
    Posts
    581
    What is this "Linux 7" of which you speak?

  4. #4
    *this
    Join Date
    Mar 2005
    Posts
    498
    Probably Red Hat Linux 7, I'm guessing

  5. #5
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    you might also want to try c++ filename (it's the same as g++)

    AFAIK, if you want to compile a C++ file with GCC, you need to add some extra switches to the command, but I don't know what they are...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C and C++ compile speed
    By swgh in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-02-2007, 02:37 PM
  2. Compile as you type
    By Rocketmagnet in forum A Brief History of Cprogramming.com
    Replies: 33
    Last Post: 12-07-2006, 01:36 PM
  3. How to compile mfc libs from platform sdk
    By tjcbs in forum Windows Programming
    Replies: 6
    Last Post: 11-19-2006, 08:20 AM
  4. Compile crashes certain windows
    By Loduwijk in forum C++ Programming
    Replies: 5
    Last Post: 03-26-2006, 09:05 PM
  5. How can I compile C or C++ with Visual Studio .NET?
    By Dakkon in forum C Programming
    Replies: 8
    Last Post: 02-11-2003, 02:58 PM