From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Thu Jan 30 2003 - 10:22:06 EST
I remember talking to Steve about this - -- I believe he uses the HepOsX geantlibraries as is, not compiling; Already at this stage there are two independent .cdf files namely one from PAW and one from GEANT - We also traced the 'multiple defs' to statements that kuipc generates so this must have been by-passed somehow in the gen of the geant, pawlibs. /fv ------------------------------------------------------ Flemming Videbaek Physics Department Brookhaven National Laboratory tlf: 631-344-4106 fax 631-344-1334 e-mail: videbaek@bnl.gov | > kuipc appears to load in a large number of "standard" subroutines. | | You mean `functions' don't you? `kuipc' creates C code, not Fortran | code. I don't know if it the case or not, but the functions should be | `static' . If they are not, then there's something wrong with | `kuipc'. | | Also, this is importing functions directly into an object file, rather | than relying on external routines, is so typical old-school (back when | a 8086 was top of the line in the office), ugly and really _really_ | inefficient. In fact, BRAG has a similar thing: rather than relying | on the presence of the GEANT3.21 headers somewhere on the system, it | has imported them all directly into the `include' directory - which | is creates potential for disaster: if the headers in BRAG (the common | blocks) are not in sync with libgeant321.a library, chaos _will_ | ensue. Another legacy from back when static libraries was the coolest | thing next to `dd' :-) | | > I haven't been able to figure out how to merge the guinti.cdf and | > ukcard.cdf files, which I suspect would solve the problem (assuming | > such a merger were possible). | | I think you can simple put one into the other, and that's it. But | don't take my word for it: Read The Manual [1] (no online version I'm | afraid). | | > p.s. Thanks for the libtoolize tip. This seems to work. | | With newer Autotools, that step is mandetory, so the full preparation | sequence becomes: | | libtoolize --automake | autoheader | automake --add-missing | autoconf | | Yours, | | ___ | Christian Holm Christensen | |_| | ------------------------------------------------------------- | | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 | _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 | _| Denmark Office: (+45) 353 25 305 | ____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm | | | | | [1] http://wwwinfo.cern.ch/asdoc/psdir/kuip.ps.gz
This archive was generated by hypermail 2.1.5 : Thu Jan 30 2003 - 10:17:21 EST