Quick walk through BIRCH Development Protocols and Directories (Brian)

How do directories map between Linux, Cygwin and MingW?

Is there a way to get winxp and win7 to share a working directory, or a user account, or does everything we do on winxp have to be duplicated on win7?

Does it matter that binaries are compiled on MingW but our production platform is Cygwin?

Are there things we need to do to ensure a smooth transition between Cygwin and Turtleshell?

Unix paths on Windows:

cygwin

Add /cygdrive/ to the windows path, and convert the \'s to /. Remove the :

The home directory is ACTUALLY at /cygdrive/c/Documents\ and\ Settings/USERNAME on windows xp, and /cygdrive/c/Users/USERNAME on Windows Vista/7

In cygwin, the path to the BIRCH folder is symlinked to /home/BIRCH, regardless of its physical location.

Note: given any path, you can use the "cygpath" utility to convert it. For example, to get the windows form of a unix path, use cygpath -aw path.

mingw

Remove the :, convert all \'s to /.

Home directories:

XP:

C:\Documents and Settings\BIRCHBINDEV

/cygdrive/c/Documents and Settings/BIRCHBINDEV (cygwin)

Note: The actual $HOME directory inside of cygwin (type cd at the prompt) will be at C:\Documents and Settings\BIRCHBINDEV\BIRCHBINDEV\cygwin\home\BIRCHBINDEV on the windows filesystem.

/c/Documents and Settings/BIRCHBINDEV (mingw)

7:

C:\Users\BIRCHBINDEV

/cygdrive/c/Users/BIRCHBINDEV

Note: the actual $HOME directory inside of cygwin (type cd at the prompt) will be at C:\Users\BIRCHBINDEV\BIRCHBINDEV\cygwin\home\BIRCHBINDEV

/c/Users/BIRCHBINDEV (mingw)

BIRCHBINDEV

Get this to the point where the BIRCHBINDEV/bin-winxp-32 directory has the current versions of all binaries so far.

test - let's compile xylem

premake - what is it, and is it really worth the extra overhead?

Used to generate makefiles on each platform. If it is too much overhead, we can jsut do a single run-through to generate the makefiles, toss premake, and work off those. What you get with premake is GNU-compliant makefiles, that every make/gcc will like.

BIRCHBINDEV/install - let's populate this directory with all of the working directories for the existing BIRCH binaries on Windows.

QUESTION - how realistic is it that these binaries will run on both winxp-32 and win7-64?

The next steps we'll do tonight, but in the near future, we need to test how good portable the binaries are on other Windows systems.

Dale - State of Getbrich installer on Windows

Need a clear distinction between what Getbirch does and what install-scripts do.