Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AFB6699.701FA784@ece.gatech.edu> Date: Fri, 11 May 2001 00:12:09 -0400 From: "Charles S. Wilson" X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Collins CC: soren AT wonderstorm DOT com, Cygwin Subject: Re: OT:Re: CMD.exe for Win9x and other goodies References: Content-Type: multipart/mixed; boundary="------------3BA7EFBA68F374CFBF3A4303" --------------3BA7EFBA68F374CFBF3A4303 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for following up. It's difficult to extract the necessary source for building cmd without the other stuff. I did 'cvs co rosapps' (which gives me cmd, plus LOTS of extra stuff I don't want). I edited rules.mak as directed (but had to also make other changes to cmd/makefile, cmd/cmd.rc, and cmd/dir.c. Patch attached) I then did 'make cmd'. BUT, I had to download additional files: I needed the following files from the reactos module: reactos/include/defines.h reactos/include/ntos/registry.h reactos/include/reactos/config.h reactos/include/reactos/resource.h reactos/include/reactos/version.h as well. Also, the following file was needed, but is not in CVS at all (I suppose it is created while building reactos; I just created an empty file with the appropriate name) reactos/include/reactos/buildno.h So, it's POSSIBLE to build cmd.exe without the rest, but it ain't easy. --Chuck Robert Collins wrote: > > Hi Chuck, > I just realised I never answered this. > > http://www.reactos.com/kernel/srctree.html > > and cvs should get you just cmd.exe > > Rob > > > -----Original Message----- > > From: Charles S. Wilson [mailto:cwilson AT ece DOT gatech DOT edu] > > Sent: Monday, January 08, 2001 7:26 AM > > To: Robert Collins > > Cc: soren AT wonderstorm DOT com; Cygwin > > Subject: Re: OT:Re: CMD.exe for Win9x and other goodies > > > > > > Robert Collins wrote: > > > > > > You might like to try the cmd.exe from the reactos project. > > > > Seems to work OK on Win98 and NT. And it is GPL. I'd like to put > > *just* cmd.exe on the cygutils website, but I can't seem to find the > > source code for it withing the huge reactos source tarball. > > > > I assume I'll have to make room for a 3Meg source code > > tarball, in order > > to put a 100k exe on the site? (And, I'm not even *sure* > > that the code > > for cmd.exe is actually IN that tarball....) > > > > --Chuck > > --------------3BA7EFBA68F374CFBF3A4303 Content-Type: application/x-unknown-content-type-patch_auto_file; name="cmd.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="cmd.patch" PyBjbWQucGF0Y2gKPyBjbWQvY21kLmNvZmYKSW5kZXg6IHJ1bGVzLm1hawo9PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09ClJDUyBmaWxlOiAvQ1ZTL1JlYWN0T1Mvcm9zYXBwcy9ydWxlcy5tYWssdgpyZXRyaWV2 aW5nIHJldmlzaW9uIDEuNQpkaWZmIC11IC1yMS41IHJ1bGVzLm1hawotLS0gcnVsZXMubWFr CTIwMDAvMDQvMjUgMjM6MjI6NTYJMS41CisrKyBydWxlcy5tYWsJMjAwMS8wNS8xMSAwNDow OToxNQpAQCAtNjMsNyArNjMsNyBAQAogCiBDQyA9ICQoUFJFRklYKWdjYwogTkFUSVZFX0ND ID0gZ2NjCi1DRkxBR1MgPSBcCitDRkxBR1MgPSAtbW5vLWN5Z3dpbiBcCiAJJChCQVNFX0NG TEFHUykgXAogCS1waXBlIFwKIAktTzIgXApJbmRleDogY21kL2NtZC5yYwo9PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09ClJDUyBmaWxlOiAvQ1ZTL1JlYWN0T1Mvcm9zYXBwcy9jbWQvY21kLnJjLHYKcmV0cmll dmluZyByZXZpc2lvbiAxLjIKZGlmZiAtdSAtcjEuMiBjbWQucmMKLS0tIGNtZC9jbWQucmMJ MjAwMC8wOS8xMiAyMzoyMDoxNQkxLjIKKysrIGNtZC9jbWQucmMJMjAwMS8wNS8xMSAwND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9tYWtlZmlsZSx2CnJldHJpZXZp bmcgcmV2aXNpb24gMS4xOQpkaWZmIC11IC1yMS4xOSBtYWtlZmlsZQotLS0gY21kL21ha2Vm aWxlCTE5OTkvMTEvMDQgMTE6Mjk6MzYJMS4xOQorKysgY21kL21ha2VmaWxlCTIwMDEvMDUv MTEgMDQ6MDk6MTgKQEAgLTEsNyArMSw2IEBACiAjCiAjICBSZWFjdE9TIG1ha2VmaWxlIGZv ciBDTUQKICMKLQogVEFSR0VUPWNtZC5leGUKIAogYWxsOiAkKFRBUkdFVCkKQEAgLTE4LDcg KzE3LDcgQEAKIAogCiBjbWQuZXhlOiAkKE9CSkVDVFMpCi0JJChDQykgJChPQkpFQ1RTKSAt bGtlcm5lbDMyIC1sY3J0ZGxsIC1sdXNlcjMyIC1vIGNtZC5leGUKKwkkKENDKSAtbW5vLWN5 Z3dpbiAtbXdpbmRvd3MgJChPQkpFQ1RTKSAtbGtlcm5lbDMyIC1sY3J0ZGxsIC1sdXNlcjMy IC1vIGNtZC5leGUKIAkkKE5NKSAtLW51bWVyaWMtc29ydCBjbWQuZXhlID4gY21kLnN5bQog CiAK --------------3BA7EFBA68F374CFBF3A4303 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple --------------3BA7EFBA68F374CFBF3A4303--