Section 1 : Building from Source Code

Q107: adding the g++ include path?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
adding the g++ include path ?

A.
Date: Mon, 26 Aug 1996 09:00:58 -0700
From: Sam Leffler <sam@hyla.chez.sgi.com>
Subject: Re: hylafax-v4.0beta020

    To:  Peter Mastren 
    Subject:  Re: hylafax-v4.0beta020
    Cc:  hylafax-users@hylafax.org
    Date: Sun, 25 Aug 1996 21:14:15 PDT
    From:  Mike Broxterman 

    
    Peter, I had the same problem with my Linux system, I got around it by 
    adding the g++ include path in the "defs.in" file.
    
    line 207: GC++INCS   = -I. -I${DEPTH} -I${SRCDIR} -I/usr/g++-include \
                                                      ^^^^^^^^^^^^^^^^^^

To the best of my knowledge, any gcc driver configured to support C++
automatically searches the target location for the g++-include directory
when compiling C++ code.  If you have to explicitly add this to the
search path then it indicates to me that gcc was incorrectly built or
is improperly configured.

BTW, the intended way to add includes and the like is not by editing the
input files used by configure but rather to set configuration parameters
prior to running configure--consult the documentation for specifics.

        Sam


 Back to FAQ Index FAQ Index  Next question in List Q108: How to send fixes?
faq@hylafax.org. Last updated $Date: 2002/03/07 09:17:53 $.