Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!sdcc6!calmasd!pal From: pal@calmasd.GE.COM (Peter Lawrence) Newsgroups: comp.lang.c Subject: compilers and linkers Message-ID: <2522@calmasd.GE.COM> Date: Fri, 13-Nov-87 03:44:45 EST Article-I.D.: calmasd.2522 Posted: Fri Nov 13 03:44:45 1987 Date-Received: Sun, 15-Nov-87 09:05:26 EST Organization: GE Calma, San Diego R&D. Lines: 11 It appears that in Unix derived C compilers global names get an underscore prepended to them before they end up as symbols in the object file. It also appears that in Unix derived Fortran compilers global names get an underscore appended to them. I am sure there is going to be a bad reason for this but I have to know: why the underscores and why in different places. Most other compilers dont do this kind of thing, but how in Unix environments does one link C and or Fortran with Pascal for example. -- pal@calmasd.GE.COM or ...!sdcsvax!calmasd!pal