[m-users.] How to compile with localy installed GC?

Left Right olegsivokon at gmail.com
Fri Apr 21 06:30:29 AEST 2017

Furthermore, I found this part of configure script:

if test "$GCC" = yes -o "$USING_MICROSOFT_CL_COMPILER" = yes; then
    # Don't add -I/usr/local/include, since it causes a warning
    # with gcc 3.1, and gcc already searches /usr/local/include.
    # Microsoft compilers don't understand Unix pathnames.
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
    # It's some other compiler.  We don't know if it searches
    # /usr/local/include by default, so add it.
    if test -d /usr/local/include/.; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
        ALL_LOCAL_C_INCL_DIRS="-I/usr/local/include "
/usr/local/include "
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

which suggests that /usr/loca;/include should be already searched, but
I don't think it is... My GCC version is gcc (GCC) 6.3.1 20170306, on
Arch Linux amd64, can this be related?

Thank you.

On Thu, Apr 20, 2017 at 10:39 PM, Left Right <olegsivokon at gmail.com> wrote:
> Hello,
> I'm trying to compile the master, and I see that it tries to use
> headers from bohem_gc directory, but they aren't there. I have my GC
> headers in /usr/include/gc, but the flags for C compiler don't seem to
> include this directory:
> ALL_CC_OPTS= -Wall -Wwrite-strings -Wshadow -Wstrict-prototypes
> -Wmissing-prototypes -Wno-unused -Wno-uninitialized -O2
> -fno-strict-aliasing -fomit-frame-pointer -DMR_USE_ASM_LABELS
> -fno-omit-frame-pointer -fno-reorder-functions -fno-defer-pop
> -fno-function-cse -fno-gcse -fno-move-loop-invariants
> -fno-tree-dominator-opts -fno-reorder-functions
> -ftrack-macro-expansion=0 -fno-diagnostics-show-caret
> Is there a way to configure the project in the way that it adds
> -I/usr/include/gc to the include path?
> Thank you.
> Oleg

More information about the users mailing list