Message: .../config/common.gmk : g++ $(GPPFLAGS) $(CPPFLAGS) -w : MAKING .d FILES Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback .../config/common.gmk : g++ $(GPPFLAGS) $(CPPFLAGS) -w : MAKING .d FILES 

Forum: Documentation and Examples
Re: Question Geant 4.5.2 on Solaris 9 (CC 5.5) link error.
Date: 23 Aug, 2003
From: <gezellig69@excite.com>

Hello again,

It seems that common.gmk is the culprit, as the .d files are not generated during build:

Making dependency for file src/G4ios.cc ... /bin/sh: g++: not found

common.gmk calls g++ explicitly to generate the .d files:

        @echo Making dependency for file $< ...
        @if [ ! -d $(G4TMPDIR) ] ; then mkdir -p $(G4TMPDIR)  ;fi
        @set -e;\
        g++ $(GPPFLAGS) $(CPPFLAGS) -w $< |\
        sed 's!$*\.o!$(G4TMPDIR)/& $@!' >$@;\
        [ -s $@ ] || rm -f $@

What is the equivalent of " g++ -M " using Sun CC to generate the .d files??

I will appreciate any help,

Ivan

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: ".../config/common.gmk : g++ $(GPPFLAGS) $(CPPFLAGS) -w : MAKING .d FILES"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]