Results 1 to 2 of 2

Thread: Can't Compile w/G++

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Beans
    107

    Can't Compile w/G++

    This is my first time compiling .cpp on linux. My files are main.cpp, linkedlist.cpp, and linkedlist.h. I tried

    Code:
    g++ main.cpp linkedlist.cpp
    and get the bizarre message

    Code:
    bash: /usr/bin/gpp: No such file or directory
    .

    gpp is a "general-purpose preprocessor" that is not installed. Shouldn't I be able to compile without this?

  2. #2
    Join Date
    Feb 2011
    Beans
    107

    Re: Can't Compile w/G++

    whoops, nevermind. Gcc was set as an alias of gpp.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •