* [Unix-jun72] Readme written: needs checking
@ 2008-05-07 1:33 Warren Toomey
2008-05-07 2:35 ` John Cowan
` (4 more replies)
0 siblings, 5 replies; 18+ messages in thread
From: Warren Toomey @ 2008-05-07 1:33 UTC (permalink / raw)
I've just written a Readme to describe how to build the kernel and filesystems,
and to run 1st Edition UNIX. Can a few people who haven't actually used the
system please have a go and give me feedback on the Readme.
To fetch the repository:
svn checkout http://unix-jun72.googlecode.com/svn/trunk/ unix72
Then go into the new unix72/ and read the Readme.
Thanks,
Warren
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 1:33 [Unix-jun72] Readme written: needs checking Warren Toomey
@ 2008-05-07 2:35 ` John Cowan
2008-05-07 3:05 ` Tim Newsham
2008-05-07 3:29 ` [Unix-jun72] simh patch fails Warren Toomey
2008-05-07 2:44 ` [Unix-jun72] Readme written: needs checking Jim Capp
` (3 subsequent siblings)
4 siblings, 2 replies; 18+ messages in thread
From: John Cowan @ 2008-05-07 2:35 UTC (permalink / raw)
Warren Toomey scripsit:
> I've just written a Readme to describe how to build the kernel and filesystems,
> and to run 1st Edition UNIX. Can a few people who haven't actually used the
> system please have a go and give me feedback on the Readme.
The misc/KE.diff file does not work with patch. I get this:
/opt/simh$ patch --dry-run --verbose <../unix72/misc/KE.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- makefile.~1~ 2006-07-07 14:50:52.000000000 -0400
|+++ makefile 2008-05-01 10:43:20.000000000 -0400
--------------------------
Patching file makefile using Plan A...
Hunk #1 FAILED at 83.
1 out of 1 hunk FAILED -- saving rejects to file makefile.rej
Hmm... The next patch looks like a unified diff to me...
can't find file to patch at input line 15
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- PDP11/pdp11_defs.h.~1~ 2006-07-06 11:33:30.000000000 -0400
|+++ PDP11/pdp11_defs.h 2008-05-01 11:12:57.000000000 -0400
--------------------------
File to patch:
--
"Well, I'm back." --Sam John Cowan <cowan at ccil.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 1:33 [Unix-jun72] Readme written: needs checking Warren Toomey
2008-05-07 2:35 ` John Cowan
@ 2008-05-07 2:44 ` Jim Capp
2008-05-07 3:36 ` Jim Capp
` (2 subsequent siblings)
4 siblings, 0 replies; 18+ messages in thread
From: Jim Capp @ 2008-05-07 2:44 UTC (permalink / raw)
Warren,
I've been watching the activity with great interest and have been dying
to try it out. I will give this a spin.
Jim
Warren Toomey wrote:
> I've just written a Readme to describe how to build the kernel and filesystems,
> and to run 1st Edition UNIX. Can a few people who haven't actually used the
> system please have a go and give me feedback on the Readme.
>
> To fetch the repository:
>
> svn checkout http://unix-jun72.googlecode.com/svn/trunk/ unix72
>
> Then go into the new unix72/ and read the Readme.
>
> Thanks,
> Warren
> _______________________________________________
> Unix-jun72 mailing list
> Unix-jun72 at tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/unix-jun72
>
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 2:35 ` John Cowan
@ 2008-05-07 3:05 ` Tim Newsham
2008-05-07 3:19 ` Warren Toomey
2008-05-07 5:11 ` John Cowan
2008-05-07 3:29 ` [Unix-jun72] simh patch fails Warren Toomey
1 sibling, 2 replies; 18+ messages in thread
From: Tim Newsham @ 2008-05-07 3:05 UTC (permalink / raw)
> The misc/KE.diff file does not work with patch. I get this:
I updated the KE.diff. Let me know if you still have problems.
> "Well, I'm back." --Sam John Cowan <cowan at ccil.org>
Tim Newsham
http://www.thenewsh.com/~newsham/
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 3:05 ` Tim Newsham
@ 2008-05-07 3:19 ` Warren Toomey
2008-05-07 5:11 ` John Cowan
1 sibling, 0 replies; 18+ messages in thread
From: Warren Toomey @ 2008-05-07 3:19 UTC (permalink / raw)
On Tue, May 06, 2008 at 05:05:07PM -1000, Tim Newsham wrote:
> > The misc/KE.diff file does not work with patch. I get this:
>
> I updated the KE.diff. Let me know if you still have problems.
Also, make sure that you unzip -a on Unix, to remove CR (^M) characters.
Warren
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] simh patch fails
2008-05-07 2:35 ` John Cowan
2008-05-07 3:05 ` Tim Newsham
@ 2008-05-07 3:29 ` Warren Toomey
1 sibling, 0 replies; 18+ messages in thread
From: Warren Toomey @ 2008-05-07 3:29 UTC (permalink / raw)
On Tue, May 06, 2008 at 10:35:49PM -0400, John Cowan wrote:
> The misc/KE.diff file does not work with patch. I get this:
Looks like Simh unpacks with lots of ^Ms. Tim has updated the patch.
I've updated the Readme:
1. Download the source code for the Simh simulator from here:
http://simh.trailing-edge.com/. Unpack it somewhere.
2. Copy misc/pdp11_ke.c into the Simh PDP11/ directory, and apply
the misc/KE.diff patch to the source code:
patch -l < misc/KE.diff
3. In Simh, make the BIN/ directory. Do make pdp11 to make the pdp11 simulator.
Copy the BIN/pdp11 executable into the tools/ directory.
Warren
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 1:33 [Unix-jun72] Readme written: needs checking Warren Toomey
2008-05-07 2:35 ` John Cowan
2008-05-07 2:44 ` [Unix-jun72] Readme written: needs checking Jim Capp
@ 2008-05-07 3:36 ` Jim Capp
2008-05-07 3:43 ` Warren Toomey
2008-05-07 5:22 ` Johan Beisser
2008-05-07 8:40 ` P.A.Osborne
4 siblings, 1 reply; 18+ messages in thread
From: Jim Capp @ 2008-05-07 3:36 UTC (permalink / raw)
Warren,
The hardest part was patching and compiling simh under Linux. I have
edited the various files by hand and have attached a new KE.diff.
Also, the build failed at tools/assemv2. I had to supply the files names
by hand:
root at linux:/var/files/unix72# tools/assemv2
rebuilding...
patching...
vec0407
initorig
v2_as
missing header for unified diff at line 3 of patch
The text leading up to this was:
--------------------------
|--- u0.s Wed May 7 01:20:13 2008
|+++ ../a/u0.s Wed May 7 01:19:38 2008
--------------------------
File to patch:
When I supplied the file names, u0.s, u1.s, u5.s, and ux.s, it patched
them just fine and I was able to finish the process without a hitch.
Very cool!
Jim
Warren Toomey wrote:
> I've just written a Readme to describe how to build the kernel and filesystems,
> and to run 1st Edition UNIX. Can a few people who haven't actually used the
> system please have a go and give me feedback on the Readme.
>
> To fetch the repository:
>
> svn checkout http://unix-jun72.googlecode.com/svn/trunk/ unix72
>
> Then go into the new unix72/ and read the Readme.
>
> Thanks,
> Warren
> _______________________________________________
> Unix-jun72 mailing list
> Unix-jun72 at tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/unix-jun72
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KE.diff
Type: text/x-diff
Size: 1401 bytes
Desc: not available
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20080506/69cf12f2/attachment-0001.diff>
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 3:36 ` Jim Capp
@ 2008-05-07 3:43 ` Warren Toomey
2008-05-07 3:59 ` Jim Capp
2008-05-07 4:01 ` Jim Capp
0 siblings, 2 replies; 18+ messages in thread
From: Warren Toomey @ 2008-05-07 3:43 UTC (permalink / raw)
On Tue, May 06, 2008 at 11:36:41PM -0400, Jim Capp wrote:
> The hardest part was patching and compiling simh under Linux. I have
> edited the various files by hand and have attached a new KE.diff.
Jim, Tim & I have fixed a few things up. Could you clean out your Simh
build, re-fetch the svn tree from scratch, and try again? The Readme is
also updated.
Thanks for testing it when it was (is?) on the bleeding edge though!
Warren
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 3:43 ` Warren Toomey
@ 2008-05-07 3:59 ` Jim Capp
2008-05-07 4:01 ` Jim Capp
1 sibling, 0 replies; 18+ messages in thread
From: Jim Capp @ 2008-05-07 3:59 UTC (permalink / raw)
Warren,
I just did a new checkout of unix72 and it build like a charm!!!
I will go back and test the simh build again with the new instructions.
Cheers,
Jim
Warren Toomey wrote:
> On Tue, May 06, 2008 at 11:36:41PM -0400, Jim Capp wrote:
>
>> The hardest part was patching and compiling simh under Linux. I have
>> edited the various files by hand and have attached a new KE.diff.
>>
>
> Jim, Tim & I have fixed a few things up. Could you clean out your Simh
> build, re-fetch the svn tree from scratch, and try again? The Readme is
> also updated.
>
> Thanks for testing it when it was (is?) on the bleeding edge though!
>
> Warren
> _______________________________________________
> Unix-jun72 mailing list
> Unix-jun72 at tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/unix-jun72
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20080506/4bd1be78/attachment.html>
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 3:43 ` Warren Toomey
2008-05-07 3:59 ` Jim Capp
@ 2008-05-07 4:01 ` Jim Capp
1 sibling, 0 replies; 18+ messages in thread
From: Jim Capp @ 2008-05-07 4:01 UTC (permalink / raw)
Oh, and I see you've fixed the control-J problem. It starts right up to
a :login: prompt.
Warren Toomey wrote:
> On Tue, May 06, 2008 at 11:36:41PM -0400, Jim Capp wrote:
>
>> The hardest part was patching and compiling simh under Linux. I have
>> edited the various files by hand and have attached a new KE.diff.
>>
>
> Jim, Tim & I have fixed a few things up. Could you clean out your Simh
> build, re-fetch the svn tree from scratch, and try again? The Readme is
> also updated.
>
> Thanks for testing it when it was (is?) on the bleeding edge though!
>
> Warren
> _______________________________________________
> Unix-jun72 mailing list
> Unix-jun72 at tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/unix-jun72
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20080507/06040797/attachment.html>
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 3:05 ` Tim Newsham
2008-05-07 3:19 ` Warren Toomey
@ 2008-05-07 5:11 ` John Cowan
2008-05-07 6:18 ` Warren Toomey
1 sibling, 1 reply; 18+ messages in thread
From: John Cowan @ 2008-05-07 5:11 UTC (permalink / raw)
Tim Newsham scripsit:
> > The misc/KE.diff file does not work with patch. I get this:
>
> I updated the KE.diff. Let me know if you still have problems.
Okay. As of revision 200, everything works provided you unzip -a the
simh zipfile and mkdir the BIN directory.
--
John Cowan cowan at ccil.org http://ccil.org/~cowan
If a traveler were informed that such a man [as Lord John Russell] was
leader of the House of Commons, he may well begin to comprehend how the
Egyptians worshiped an insect. --Benjamin Disraeli
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 1:33 [Unix-jun72] Readme written: needs checking Warren Toomey
` (2 preceding siblings ...)
2008-05-07 3:36 ` Jim Capp
@ 2008-05-07 5:22 ` Johan Beisser
2008-05-07 8:40 ` P.A.Osborne
4 siblings, 0 replies; 18+ messages in thread
From: Johan Beisser @ 2008-05-07 5:22 UTC (permalink / raw)
Will do, when I've a spare few hours to mess around with it. That
might be in a day or so.
On Tue, May 6, 2008 at 6:33 PM, Warren Toomey <wkt at tuhs.org> wrote:
> I've just written a Readme to describe how to build the kernel and filesystems,
> and to run 1st Edition UNIX. Can a few people who haven't actually used the
> system please have a go and give me feedback on the Readme.
>
> To fetch the repository:
>
> svn checkout http://unix-jun72.googlecode.com/svn/trunk/ unix72
>
> Then go into the new unix72/ and read the Readme.
>
> Thanks,
> Warren
> _______________________________________________
> Unix-jun72 mailing list
> Unix-jun72 at tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/unix-jun72
>
--
Johan Beisser
UNIX Contracting: infrastructure design, network security, disaster
planning and recovery
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 5:11 ` John Cowan
@ 2008-05-07 6:18 ` Warren Toomey
0 siblings, 0 replies; 18+ messages in thread
From: Warren Toomey @ 2008-05-07 6:18 UTC (permalink / raw)
On Wed, May 07, 2008 at 01:11:25AM -0400, John Cowan wrote:
> Okay. As of revision 200, everything works provided you unzip -a the
> simh zipfile and mkdir the BIN directory.
Thanks John.
Warren
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 1:33 [Unix-jun72] Readme written: needs checking Warren Toomey
` (3 preceding siblings ...)
2008-05-07 5:22 ` Johan Beisser
@ 2008-05-07 8:40 ` P.A.Osborne
2008-05-07 9:28 ` Warren Toomey
4 siblings, 1 reply; 18+ messages in thread
From: P.A.Osborne @ 2008-05-07 8:40 UTC (permalink / raw)
On Wed, May 07, 2008 at 11:33:59AM +1000, Warren Toomey wrote:
> Then go into the new unix72/ and read the Readme.
On OS X 10.5.3
simh builds fine however:
building apout fails (everything else in tools compiles) with:
luthien:apout pao$ make
gcc -Wall -g -DEMU211 -DEMUV1 -DNATIVES -DDEBUG -DZERO_MEMORY
-DWRITEBASE -c -o aout.o aout.c
In file included from aout.c:7:
defines.h:87: error: conflicting types for 'int8_t'
/usr/include/i386/types.h:78: error: previous declaration of 'int8_t'
was here
defines.h:89: error: conflicting types for 'int32_t'
/usr/include/i386/types.h:88: error: previous declaration of 'int32_t'
was here
defines.h:92: error: conflicting types for 'u_int32_t'
/usr/include/i386/types.h:90: error: previous declaration of 'u_int32_t'
was here
make: *** [aout.o] Error 1
Paul
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 8:40 ` P.A.Osborne
@ 2008-05-07 9:28 ` Warren Toomey
2008-05-07 10:19 ` P.A.Osborne
0 siblings, 1 reply; 18+ messages in thread
From: Warren Toomey @ 2008-05-07 9:28 UTC (permalink / raw)
On Wed, May 07, 2008 at 09:40:43AM +0100, P.A.Osborne wrote:
> On OS X 10.5.3
> simh builds fine however:
> building apout fails (everything else in tools compiles) with:
Thanks Paul, I'll try to fix it tomorrow. Is there a compiler defined
preprocessor symbol that I can add which covers OSX. For example:
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && \
!defined(__OpenBSD__) && !defined(__linux__)
# define NEED_INT_N
#endif
Is there __OSX__ or similar? If there is, simply add
&& !defined(__OSX__)
to that second line, which is around line 71 in tools/apout/defines.h.
Thanks,
Warren
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 9:28 ` Warren Toomey
@ 2008-05-07 10:19 ` P.A.Osborne
2008-05-07 14:11 ` Robert Tillyard
0 siblings, 1 reply; 18+ messages in thread
From: P.A.Osborne @ 2008-05-07 10:19 UTC (permalink / raw)
On Wed, May 07, 2008 at 07:28:42PM +1000, Warren Toomey wrote:
> Is there __OSX__ or similar? If there is, simply add
>
> && !defined(__OSX__)
>
> to that second line, which is around line 71 in tools/apout/defines.h.
Warren,
__APPLE__ does part of the trick, then we get:
cc -static -g aout.o branch.o bsd_ioctl.o bsd_signal.o bsdtrap.o cpu.o
debug.o double.o ea.o fp.o itab.o ke11a.o magic.o main.o single.o
v1trap.o v7trap.o -o apout -lm
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[1]: *** [apout] Error 1
At this point I am in the midst of Apple butchering tools to produce
universal binaries (powerpc and x64), will continue to swear at this
(or just give in and install FreeBSD under VMWare :-) ).
Paul
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 10:19 ` P.A.Osborne
@ 2008-05-07 14:11 ` Robert Tillyard
2008-05-07 14:29 ` P.A.Osborne
0 siblings, 1 reply; 18+ messages in thread
From: Robert Tillyard @ 2008-05-07 14:11 UTC (permalink / raw)
On 7 May 2008, at 11:19, P.A.Osborne wrote:
> On Wed, May 07, 2008 at 07:28:42PM +1000, Warren Toomey wrote:
>> Is there __OSX__ or similar? If there is, simply add
>>
>> && !defined(__OSX__)
>>
>> to that second line, which is around line 71 in tools/apout/
>> defines.h.
>
> Warren,
>
> __APPLE__ does part of the trick, then we get:
>
> cc -static -g aout.o branch.o bsd_ioctl.o bsd_signal.o bsdtrap.o cpu.o
> debug.o double.o ea.o fp.o itab.o ke11a.o magic.o main.o single.o
> v1trap.o v7trap.o -o apout -lm
> ld_classic: can't locate file for: -lcrt0.o
> collect2: ld returned 1 exit status
> make[1]: *** [apout] Error 1
>
>
> At this point I am in the midst of Apple butchering tools to produce
> universal binaries (powerpc and x64), will continue to swear at this
> (or just give in and install FreeBSD under VMWare :-) ).
>
> Paul
Remove the -static
Regards, Rob.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Unix-jun72] Readme written: needs checking
2008-05-07 14:11 ` Robert Tillyard
@ 2008-05-07 14:29 ` P.A.Osborne
0 siblings, 0 replies; 18+ messages in thread
From: P.A.Osborne @ 2008-05-07 14:29 UTC (permalink / raw)
On Wed, May 07, 2008 at 03:11:42PM +0100, Robert Tillyard wrote:
> Remove the -static
Yes, that works. Will now continue as time allows.
Thanks
Paul
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2008-05-07 14:29 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-07 1:33 [Unix-jun72] Readme written: needs checking Warren Toomey
2008-05-07 2:35 ` John Cowan
2008-05-07 3:05 ` Tim Newsham
2008-05-07 3:19 ` Warren Toomey
2008-05-07 5:11 ` John Cowan
2008-05-07 6:18 ` Warren Toomey
2008-05-07 3:29 ` [Unix-jun72] simh patch fails Warren Toomey
2008-05-07 2:44 ` [Unix-jun72] Readme written: needs checking Jim Capp
2008-05-07 3:36 ` Jim Capp
2008-05-07 3:43 ` Warren Toomey
2008-05-07 3:59 ` Jim Capp
2008-05-07 4:01 ` Jim Capp
2008-05-07 5:22 ` Johan Beisser
2008-05-07 8:40 ` P.A.Osborne
2008-05-07 9:28 ` Warren Toomey
2008-05-07 10:19 ` P.A.Osborne
2008-05-07 14:11 ` Robert Tillyard
2008-05-07 14:29 ` P.A.Osborne
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).