Date: Fri, 5 Feb 93 14:21:31 GMT From: Colin Brough Subject: RCS and DJGCC To: djgpp AT sun DOT soe DOT clarkson DOT edu Organisation: Edinburgh Parallel Computing Centre Phone: 031 650 5026 Fcc: +pc/djgpp Here is a message I have just been able to send to the RCS developers. Thought people on this list might be interested. Also, if anyone (particularly with a newer version of DJGPP) wants to pick up my changes and try them out, I'd be grateful. > Subject: DOS/GCC port of RCS 5.6.4 beta > To: rcs-bugs AT cs DOT purdue DOT edu > > I have made what appears to be a successful port of RCS 5.6.4 beta > (plus MSDOS files) to DOS using DJ Delorie's port of GCC. > > Took the 'rcs-5.6.4-beta.tar.Z' and 'msrcs-1.8-beta.tar.Z' files from > ftp.cs.purdue.edu in pub/hammer. Modified the Unix 'Makefile' and the > MS-DOS conf.h. Copied the logindos.c, getcwdsl.c and *.rsp files from > the 'ms' directory. Compiled and it appears to work fine. > > I have the DOS ports of the fileutils (ls, rm, etc.), and 'gnumake', > as well as a /bin/sh clone, which made using the Unix Makefile much > easier. System is a 386-40MHz, 4Mbyte RAM, 105Mbyte hard disk (IDE), > MS-DOS 5. No guarantees on the quality of the port at the moment - > getting the 'rcsvers.c' rules to work OK was a pain, and I don't think > it is right yet (limitations in the /bin/sh clone, that I then tried > to work round). Also, gnumake didn't seem to have its default rules > mechanism working, so there are a lot of new rules at the end to build > the .o files. I have also not been clean in using $x, $o extensions in > the makefile and *.rsp files... > > I had to comment out a number of things in the conf.h since they > clashed with the definitions the gcc header files gave me. Note that I > do not have the current version of DJGPP - I have 1.04 or so, and the > current one is 1.09. DJGPP 1.04 is either a gcc 2.1x or 2.2x port. I > simply iterated until I got a totally clean compile. > > I have only done preliminary testing so far, but it appears to work > OK. Everything I have done so far has worked, though I want to check > the write permissions after 'ci -u' again - I noticed files were > (sometimes?) left writeable, but am not sure whether it is me, MS-DOS, > or RCS... By the way, having the manual pages processed in the MS-DOS > tar file was *extremely* useful - useable man pages on a PC! > > I don't have a lot of time at present, but will be trying to clean up > the port and check the functionality some more. In the meantime, my > modified 'conf.h' and 'Makefile' files are available by anon.ftp. at > ftp.epcc.ed.ac.uk in directory pub/rcs/dos_gcc. __________________________________________________________________________ Colin Brough cmb AT epcc DOT ed DOT ac DOT uk Edinburgh Parallel Computing Centre