Results 1 to 3 of 3
  1. #1

    C++ compiler cannot create executable

    The C compiler works, but C++ doesn't, when compiling program it gets this error:
    Code:
    checking for object suffix... o
    checking for executable suffix... no
    checking for c++... c++
    checking whether the C++ compiler (c++   ) works... no
    configure: error: installation or configuration problem: C++ compiler cannot create executables.
    Please help me.

  2. #2
    Join Date
    Dec 2004
    Location
    New York City, NY, USA
    Posts
    735
    Do you have CFLAGS or CXXFLAGS environment variables set? You may have a bad/unrecognized option in them.

  3. #3
    Join Date
    Jun 2003
    Posts
    961
    check config.log and see what the problem is

Posting Permissions

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