Any makefile gurus out there?

From: milkyway (d0mufasa_at_hotmail.com)
Date: 10/25/05


Date: 25 Oct 2005 04:03:53 -0700

Hello,

The problem is as follows. When running the make, the output file has
the following:

-------------------------------------------------------------------
gcc -shared calculator.lo soapServer.lo soapC.lo -lgsoap++
-Wl,-soname -Wl,libCalculator.so.0 -o .libs/libCalculator.so.0.0.0
(cd .libs && rm -f libCalculator.so.0 && ln -s libCalculator.so.0.0.0
libCalculator.so.0)
(cd .libs && rm -f libCalculator.so && ln -s libCalculator.so.0.0.0
libCalculator.so)
ar cru .libs/libCalculator.a calculator.o soapServer.o soapC.o
ranlib .libs/libCalculator.a
creating libCalculator.la
(cd .libs && rm -f libCalculator.la && ln -s ../libCalculator.la
libCalculator.la)
source='calcclnt.cpp' object='calcclnt.o' libtool=no \
depfile='.deps/calcclnt.Po' tmpdepfile='.deps/calcclnt.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
------------------------------------------------------------------

The thing is, instead of using gcc, I need to use g++. I have included
the 3 makefiles that create the makefile log below (sorry so long but I
don't know what to do next).

What can I do to one or more these makefiles to get the "gcc" to turn
into "g++"??

Help is appreciated.

Thanks.



Relevant Pages

  • Re: Makefile generator
    ... > long absence. ... > Begun programming in C again using GCC. ... What is the problem with your makefiles? ...
    (comp.sys.acorn.programmer)
  • Re: using a shell script to compile your C programs
    ... does not seem that hard to write simple makefiles. ... # top-level rule to compile the whole program. ... prog: main.o file1.o file2.o ... gcc main.o file1.o file2.o -o prog ...
    (comp.lang.c)
  • Re: Tools to make makefiles?
    ... tools that generate Makefiles are fairly common. ... And you need the horrible things to make emacs debug / error edit properly. ... I'm a gcc *.c man myself. ...
    (comp.os.linux.misc)
  • BCC32 Makefiles
    ... I'm told that Borland C compiler makefiles are different than gcc ... makefiles, but I can't find any good documentation on their format. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Error in configuring LAME 3.98.2 - something I found before
    ... I was trying to port LAME 3.98.2 to OS/2 with the latest Build ... checking for gcc... ... configure:3033: checking for C compiler default output file name ... E2093: environment watcom: cannot open ...
    (comp.os.os2.programmer.porting)