Return-Path: linux-users-error@fnal.gov
Return-Path: <linux-users-error@fnal.gov>
Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.9.8])
by sapphire.fnal.gov (8.8.7/8.8.7) with ESMTP id PAA19379
for <yocum@sapphire.fnal.gov>; Fri, 11 Sep 1998 15:54:34 -0500
Received: from ea831.fnal.gov ("port 1335"@ea831.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998) id <01J1OP77MT3K0005C4@FNAL.FNAL.GOV>
(original mail from kreymer@fnal.gov) for yocum@sapphire.fnal.gov; Fri,
11 Sep 1998 15:54:33 -0500 CST
Received: from ea831.fnal.gov ("port 1335"@ea831.fnal.gov)
by FNAL.FNAL.GOV (PMDF V5.1-10 #3998)
with SMTP id <01J1OP76EM4W000SOT@FNAL.FNAL.GOV> for
linux-users-expand@reprocess.FNAL.FNAL.GOV; Fri, 11 Sep 1998 15:54:04 -0500
Received: from localhost by ea831.fnal.gov; (5.65v3.2/1.1.8.2/03Feb96-0240PM)
id AA27603; Fri, 11 Sep 1998 15:54:03 -0500
Date: Fri, 11 Sep 1998 15:54:02 -0500 (CDT)
From: Art Kreymer <kreymer@fnal.gov>
Subject: Re: FW: ktev and linux (fwd)
In-reply-to: <001001bdddc1$54b6e1a0$5c51e183@fndapo.fnal.gov>
To: Carmenita Moore <carmenita@fnal.gov>
Cc: "Dart-Support@Fndaub. Fnal. Gov" <dart-support@fndaub.fnal.gov>,
"Linux-Users@Fnal. Gov" <linux-users@fnal.gov>
Errors-to: linux-users-error@fnal.gov
Reply-to: Art Kreymer <kreymer@fnal.gov>
Message-id: <Pine.OSF.3.93.980911154749.28606B-100000@ea831.fnal.gov>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
You need to use the -no_second_underscore qualifier .
Why ?...
g77 , by default, appends a hidden underscore to all entry point and
external reference names, to avoid conflicts with C runtime libraries.
This is consistent with standard Fermilab usage on all our other Unix systems.
For purely historical reasons having to do with the development of g77
from the f2c preprocessor, g77 actually appends TWO underscores if the
name of the global symbol itself contains an underscore anywhere within
itself.
So this_symbol becomes this_symbol__ instead of this_symbol_ .
The -fno-second-underscore qualifier prevents this stupidity,
appending only one underscore in these cases.
This may become the default with some future g77 release.
------- End of Forwarded Message