From: Ian Edwards (ian_at_concerto.demon.co.uk)
Date: Fri Mar 22 2002 - 12:07:32 GMT
On 21-Mar-02 Rod Armstrong wrote: > Kenneth, > My guess is that you are using Fortran. The same issue came up years > ago (see http://www.inference.phy.cam.ac.uk/mackay/ups/rod.txt). The > relevent part was: ... > 1. setenv UPS_LANGUAGE C++ > 2. Debug with "-nodemangle", viz: > > ups target -nodemangle ... > I don't have a fortran compiler, so can't test to see if this still works > though Just checked it and it works with GNU f77 (gcc version 2.95.3) on FreeBSD. As an alternative : If you are building from source then there is a '-fno-underscoring' option to f77 which stops two underscores being added if the name contains an underscore. You may want to check the program builds and links properly without the option before trying it, especially if the program links to non-Fortran code. Regards, Ian. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Ian Edwards <ian_at_concerto.demon.co.uk> 22-Mar-02 12:07:32 Early Music Record Labels - http://www.recordlabels.org/ 'ups' debugger for C/C++/f77 - http://www.concerto.demon.co.uk/UPS/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
This archive was generated by hypermail 2.1.4 : Thu May 23 2002 - 15:53:55 BST