Message: Re: Steps to install Geant4 (9.1.p01) under FreeBSD (6.2-RELEASE-p4, gcc 3.4.6) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Steps to install Geant4 (9.1.p01) under FreeBSD (6.2-RELEASE-p4, gcc 3.4.6) 

Keywords: unsupported install FreeBSD
Forum: Installation and Configuration
Re: Note Steps to install Geant4 (9.1.p01) under FreeBSD (6.2-RELEASE-p4, gcc 3.4.6) (Mark Looper)
Date: 07 Apr, 2008
From: Ben Morgan <Ben Morgan>

Hi Mark,

Many thanks for posting this - I'm sure it'll be helpful to other BSD users!

With regard to the problem you had with echo and Configure not recognizing FreeBSD, you could take a look to see how Configure detects the system. The logic is there in Configure to recognize it (search for 'freebsd' in Configure) and set the osname variable. If this is set appropriately, then you should be able to define a new G4SYSTEM of, say 'freebsd-g++'. You could then have a file config/sys/freebsd-g++.gmk, like config/sys/Linux-g++.gmk, where you could modify the ECHO variable (and of course anything else BSD-specific).

That would be a reasonable amount of work though, because the g4osname variable (i.e. Linux, Darwin etc) is used is several places through Configure to determine external library paths etc. However, it would mean that you could cleanly take account of any Linux/BSD differences.



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

 Add Message Add Message
to: "Re: Steps to install Geant4 (9.1.p01) under FreeBSD (6.2-RELEASE-p4, gcc 3.4.6)"

 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 ]