From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cd360877c9ddf31f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-23 08:52:05 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!xlink.net!howland.reston.ans.net!gatech!newsfeed.pitt.edu!uunet!world!cmr From: cmr@world.std.com (Charles M Richmond) Subject: Re: Stupid 'cc' question (hello.c doesn't work) Message-ID: Organization: Integrated International Systems Corp. One Longfellow Place, Suite 3309, Boston, Ma. References: <3kr1vo$8v0@jhunix1.hcf.jhu.edu> Date: Thu, 23 Mar 1995 16:36:38 GMT szgyula@hoplite.pha.jhu.edu (Gyula Szokoly) writes: >cc -o hello.e hello.c > It fails (under OSF/1 v3.0b). Could somebody tell me how to tell the >compiler/linker to do what I want? Yes, I know, it will compile to >hello, but I have to compile to hello.e. Is there any way to set >some enviroment variable to disable this feature? Even a compiler >flag is out of question. Adding a compiler flag would mean editing >hundreds of files. Which I'm not willing to do... > At a lower priority: can somebody explain who did it and why? I see >no point in this (clearly) added feature. It fails becasue .e is a valid source extension. However I have filed a QAR since ... well you can see for yourself: cc -o test.e test.c cc: Error: -o test.e resembles the name of a source file, disallowed cp test.c test.e cc test.e cc: Error: can't find or exec: /bsd43/usr/bin/efl Note that .e was not allowed on Ultrix also. Charlie -- ***************************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@asoko.iisc.com cmr@world.std.com * * Specializing in UNIX, X, Image Processing, and Communications. *