Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cmr@world.std.com (Charles M Richmond)
Subject: Re: Stupid 'cc' question (hello.c doesn't work)
Date: Thu, 23 Mar 1995 16:36:38 GMT	[thread overview]
Message-ID: <D5wJH3.Gn3@world.std.com> (raw)
In-Reply-To: 3kr1vo$8v0@jhunix1.hcf.jhu.edu

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.           *


      reply	other threads:[~1995-03-23 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-23  5:46 Stupid 'cc' question (hello.c doesn't work) Gyula Szokoly
1995-03-23 16:36 ` Charles M Richmond [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox