Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-adm!brl-smoke!smoke!gwyn@BRL.ARPA From: gwyn@BRL.ARPA (VLD/VMB) Newsgroups: net.unix-wizards Subject: Re: 7 option for cc Message-ID: <1943@brl-smoke.ARPA> Date: Wed, 19-Mar-86 23:33:01 EST Article-I.D.: brl-smok.1943 Posted: Wed Mar 19 23:33:01 1986 Date-Received: Sat, 22-Mar-86 05:40:22 EST Sender: news@brl-smoke.ARPA Lines: 19 The BRL UNIX System V emulation "cc -7" option merely substitutes the native Berkeley include directory and C library in place of the System V versions, while continuing to use the AT&T UNIX System V VAX C preprocessor, compiler, and code generator. There was not enough information in your sample code to be sure what the problem is, but I did notice the absence of any declaration for the variable `file'. My guess is that the fopen failed, since `file' was garbage, and then the fprintf to stderr died when it tried to print `file' as a string. Run a debugger (e.g. "adb" $C command) on the core image to see where it died. Incidentally, the BRL UNIX System V emulation C library includes emulations for the UNIX System V system calls. You should address BRL UNIX System V emulation questions to me directly , rather than to the news group. (I am answering this with copy to the news group just in case someone else is now curious about the answer.)