The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] cryptic cc error on v7
@ 2017-11-09  4:44 Will Senn
  2017-11-09  4:50 ` Will Senn
  0 siblings, 1 reply; 2+ messages in thread
From: Will Senn @ 2017-11-09  4:44 UTC (permalink / raw)


I found head on 3BSD and thought it might be as simple to compile as 
cr3, unfortunately, it isn't. I did:

$ cc head.c
head.o?

$ cc -c head.c
head.o?

$ pcc head.c
head.c
head.o?

I thought the assembler, as, was cryptic, at least there you get a one 
character error response. What is cc trying to say? Obviously head.o 
won't exist unless cc succeeds...

Thanks,

Will

-- 
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [TUHS] cryptic cc error on v7
  2017-11-09  4:44 [TUHS] cryptic cc error on v7 Will Senn
@ 2017-11-09  4:50 ` Will Senn
  0 siblings, 0 replies; 2+ messages in thread
From: Will Senn @ 2017-11-09  4:50 UTC (permalink / raw)


On 11/8/17 10:44 PM, Will Senn wrote:
> I found head on 3BSD and thought it might be as simple to compile as 
> cr3, unfortunately, it isn't. I did:
>
> $ cc head.c
> head.o?
>
> $ cc -c head.c
> head.o?
>
> $ pcc head.c
> head.c
> head.o?
>
> I thought the assembler, as, was cryptic, at least there you get a one 
> character error response. What is cc trying to say? Obviously head.o 
> won't exist unless cc succeeds...
>
> Thanks,
>
> Will
>
Cryptic indeed. Actually, it makes some sense. I was logged in as dmr 
and trying to compile the code in a directory where I didn't have 
permissions (apparently I ran tar xv0 as root). So, it seems like the 
compiler succeeded in compiling the code, but wasn't able to create the 
output. I switched to root and was able to get head working.

Thanks,

Will

-- 
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-09  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09  4:44 [TUHS] cryptic cc error on v7 Will Senn
2017-11-09  4:50 ` Will Senn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).