Re: [Gems-users] request


Date: Wed, 03 Dec 2008 16:16:56 +0100
From: Ricardo Quislant del Barrio <quislant@xxxxxxxxx>
Subject: Re: [Gems-users] request
> make[2]: /s/gcc-3.4.1/bin/g++: Command not found

Hi Mehdi,
you have to edit the following file: gems-2.X/common/Makefile.common
You'll find a code like this:
ifeq ($(HOST_TYPE),amd64-linux)
 CC =  /s/gcc-3.4.1/bin/g++
 OPT_FLAGS = -m64 -march=opteron -fPIC
 LDFLAGS += -ggdb -g3 -Wl,-R/s/gcc-3.4.1/lib64
 MODULE_LDFLAGS += -Wl,-R/s/gcc-3.4.1/lib64
...
ifeq ($(HOST_TYPE),x86-linux)
 CC =  /s/gcc-3.4.1/bin/g++
 OPT_FLAGS = -march=i686
 LDFLAGS += -ggdb -g3
else
Change the CC variable to your g++ compiler.
In Linux it usually is /usr/bin/g++
[← Prev in Thread] Current Thread [Next in Thread→]