[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any makefile gurus out there?
From: |
milkyway |
Subject: |
Re: Any makefile gurus out there? |
Date: |
25 Oct 2005 14:57:56 -0700 |
User-agent: |
G2/0.2 |
Peter T. Breuer wrote:
> In comp.os.linux.development.system milkyway <d0mufasa@hotmail.com> wrote:
> > The problem is as follows. When running the make, the output file has
> > the following:
>
> Why? What did you write in the makefile?
I had just found every line that had "CC = gcc" and changed it to "CC =
g++"
> > gcc -shared calculator.lo soapServer.lo soapC.lo -lgsoap++
> > -Wl,-soname -Wl,libCalculator.so.0 -o .libs/libCalculator.so.0.0.0
>
> Looks fine to me. More or less. What do you want to change and why?
Basically when libCalculator.so was being loaded, was getting errors
that there were missing libraries.
>
> > The thing is, instead of using gcc, I need to use g++.
>
> Then do so. Change gcc to g++ in the makefile at that point. But why
> do you want to change it? Gcc is only acting as a caller to the linker
> at that point, so why bother with gcc or g++ at all? Call the linker
> directly with the args you want.
See above.
>
> > What can I do to one or more these makefiles to get the "gcc" to turn
> > into "g++"??
>
> What's your problem with doing that? Come to that, why don't you just
> type the line you quoted on the screen, with g++ typed instead of gcc?
>
>
> > Help is appreciated.
>
> What's your difficulty here? Please be precise.
See above.