From: Reini U. <ru...@x-...> - 2001-07-10 20:26:15
|
with or without cygwin? with cygwin it's basically exactly the same as in linux/freebsd. I noticed no differences. without cygwin some bash/cmd commands are different or not existent. (export => set, no find, no for-done, no if-fi, ...) and I don't think that you will be able to get ms nmake to do the same as gnu make. so better get cygwin. John Donagher schrieb: > I've been following this discussion a bit; it would be cool if the various > folks with non-Linux platforms put together an INSTALL document (the current > INSTALL document contains a broken HTTP link) for various platforms which are > outside of the current development environments. Linux is, to my knowledge, the > only operating system that binarycloud is being _developed_ on, but as long as > it works(?) under FreeBSD and WIN32, we should leverage that. It would also > help move this traffic off of the development list. > > John > > On Mon, 9 Jul 2001, Alby Lash wrote: > > I figured out to put "env BCHOME=c:/cygwin/usr/binarycloud/r2/binarycloud/" > > and then I get a list of the environment variables and can see that its > > listed there. However, I still get the same grep error... my cygwin grep/sed from the main Makefile works okay for me. only the main Makefile.in should better have a fallback for BCHOME, like a shell call to if [ -x BCHOME ]; then BCHOME=`pwd`; fi <quote> 4. set the environment variable BCHOME=c:/path/to/binarycloud 5. edit BCHOME/base/utils/installcode.sh, add #!/bin/sh in the first line 6. edit BCHOME/base/utils/processprepend.php and xml2php.php, replace the first line with #!c:/path/to/php/php.exe -q 7. then let's make, and it should be fine....... :) </quote> okay, step by step for cygwin: (BTW: a sed script for fixing the three shebangs would be nice...) $ cd /cygdrive/r/php/bc/cvs $ cvs -d:pserver:anonymous@209.61.189.150:/home/scm/cvsroot login $ cvs -d:pserver:anonymous@209.61.189.150:/home/scm/cvsroot update r2 $ cd r2/binarycloud $ notepad base/utils/installcode.sh $ notepad base/utils/processprepend.php $ notepad base/utils/xml2php.php $ export BCHOME=`pwd`; make -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |