Message: Re: probleme with compiling Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: probleme with compiling 

Forum: Installation and Configuration
Re: None probleme with compiling (Jerome Roccaz)
Re: None Re: probleme with compiling (Isidro Gonzalez)
Re: Question Re: probleme with compiling (roccaz)
Date: 17 Apr, 2002
From: Isidro Gonzalez <Isidro Gonzalez>

Hi,
	I agree with you. It is very anoying having to delete manually the
.d files because you set wrongly a given path (ex. path to CLHEP) or in
your application you typed wrongly the file in a "#include" stament. Is
it possible to solve this issue?

	Cheers,

		Isidro

+---------------------------+--------------------------------+
| Isidro González Caballero | mailto:Isidro.Gonzalez@cern.ch |
| CERN-EP / Mailbox: F28010 | http://home.cern.ch/~iglez/    |
| 1211 Geneva 23            |               -o-              |
| Switzerland               | Tel: +41 22 76 73060, 73316    |
+---------------------------+--------------------------------+


On Wed, 17 Apr 2002, roccaz wrote:

> *** Discussion title: Installation and Configuration
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/installconfig/66/1/1"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Thanks a lot, it runs :)
> 
> anyway, isn't it stupid that previous ".d" are not overwritten by new
> ones??
> 
> 

Inline Depth:
 0 0
 1 1
Add message: (add)

Idea Re: probleme with compiling  by roccaz <roccaz@csnsm.in2p3.fr>,   17 Apr, 2002
Re: None Re: probleme with compiling (Isidro Gonzalez)

My boss has me suggested to write an instruction in the makefile so to check if a ".d" already exists and if TRUE to destroy it. I'm not an expert at all in UNIX shell and makefile, but do you think it is possible to do?

Sad Re: probleme with compiling  by John Allison <John Allison>,   17 Apr, 2002
Re: Idea Re: probleme with compiling (roccaz)

The procedure we have adopted is the one suggested in the GNU Make documentation (http://www.gnu.org/manual/manual.html, make-3.79.1, Section 4.12, Generating Prerequisites Automatically). Any dependency files are included ("-include $(dependencies)" in geant4/config/common.gmk and binmake.gmk) before any commands are executed. Thus, it is impossible to write commands to inspect/delete them before they cause the problem. The only known way is to delete the offeding file(s) by hand.

If you can find a better way, we would welcome knowing it.

 Add Message Add Message
to: "Re: probleme with compiling"

 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 ]