The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] V7 unix
@ 2006-05-26 21:18 Bill Cunningham
  2006-05-27  8:07 ` Andrzej Popielewicz
  2006-05-27  9:23 ` Hellwig.Geisse
  0 siblings, 2 replies; 3+ messages in thread
From: Bill Cunningham @ 2006-05-26 21:18 UTC (permalink / raw)


        Greetings Hellwig

Mine Brooder in Unix Dast ist!

I have noticed something about your v7 creation. When I try to use the C
compiler to compile fp support or any system structures(not structs but
components) I get an error /lib/c0 so there's something wrong with the c0
pass in libc. It was probably that way when the tapes were recovered. I have
managed to compile and assemble all the c source in the /usr/src/cmd/c
directory into object files so the assembler works. What should I do
manually with all these .o files? I need a working compiler.

Bill





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

* [TUHS] V7 unix
  2006-05-26 21:18 [TUHS] V7 unix Bill Cunningham
@ 2006-05-27  8:07 ` Andrzej Popielewicz
  2006-05-27  9:23 ` Hellwig.Geisse
  1 sibling, 0 replies; 3+ messages in thread
From: Andrzej Popielewicz @ 2006-05-27  8:07 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

Bill Cunningham napisał(a):

>        Greetings Hellwig
>
>Mine Brooder in Unix Dast ist!
>
>I have noticed something about your v7 creation. When I try to use the C
>compiler to compile fp support or any system structures(not structs but
>components) I get an error /lib/c0 so there's something wrong with the c0
>pass in libc. It was probably that way when the tapes were recovered. I have
>managed to compile and assemble all the c source in the /usr/src/cmd/c
>directory into object files so the assembler works. What should I do
>manually with all these .o files? I need a working compiler.
>
>Bill
>
>
>_______________________________________________
>TUHS mailing list
>TUHS at minnie.tuhs.org
>https://minnie.tuhs.org/mailman/listinfo/tuhs
>
>  
>
What about using portable pcc ?

Andrzej



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

* [TUHS] V7 unix
  2006-05-26 21:18 [TUHS] V7 unix Bill Cunningham
  2006-05-27  8:07 ` Andrzej Popielewicz
@ 2006-05-27  9:23 ` Hellwig.Geisse
  1 sibling, 0 replies; 3+ messages in thread
From: Hellwig.Geisse @ 2006-05-27  9:23 UTC (permalink / raw)


Hi Bill,

On 26-May-2006 Bill Cunningham wrote:
> I have noticed something about your v7 creation. When I try to use the C
> compiler to compile fp support or any system structures(not structs but
> components) I get an error /lib/c0 so there's something wrong with the c0
> pass in libc. It was probably that way when the tapes were recovered. I have
> managed to compile and assemble all the c source in the /usr/src/cmd/c
> directory into object files so the assembler works. What should I do
> manually with all these .o files? I need a working compiler.

in principle, the .o files have to be bound (together with
the libraries) by the linker, which produces the executable.
But this is tedious to do manually, so you better use the
makefile (and the "make" utility) to run the necessary
commands automatically.

I can reproduce your problem with the c0 pass. I don't
know the exact cause but I guess it has nothing to do
with the compiler itself. I found a workaround: reset
the sticky bit for cc, i.e., do a "chmod 755 cc" in /bin.
At least on my machine I then can run the makefile for
building cc without errors.

Hellwig




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

end of thread, other threads:[~2006-05-27  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26 21:18 [TUHS] V7 unix Bill Cunningham
2006-05-27  8:07 ` Andrzej Popielewicz
2006-05-27  9:23 ` Hellwig.Geisse

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