Ok, I'm gonna need some help here, this just ain't working. What I'm trying to
do is write a Cygwin shell script that will build Mozilla on WhyME. Here it is:
[quote]
#!/bin/sh
# Tippy-top-level build script for Mozilla on Windows
export MOZ_BITS=32
export MOZ_DEBUG=
export MOZ_SRC='c:\unix\home\grvs\src'
export MOZ_TOOLS='C:\unix\home\grvs\mozilla_wintools'
export OS_TARGET=WIN95
export WINOS=$OS_TARGET
export _MSC_VER=1200
export MSVCDir='C:\PROGRA~1\MICROS~3\VC98'
export
INCLUDE=$MSVCDir\\ATL\\INCLUDE\;$MSVCDir\\INCLUDE\;$MSVCDir\\MFC\\INCLUDE\;$INCLUDE
export LIB=$MSVCDir\\LIB\;$MSVCDir\\MFC\\LIB\;$LIB
export PATH=$PATH:$(cygpath -u $MSVCDir\\bin):$(cygpath -u
'C:\PROGRA~1\MICROS~3\Common\MSDev98\Bin'):$(cygpath -u $MOZ_TOOLS\\bin)
nmake /f client.mak build_all
[endquote]
Running this from the bash prompt gets me the following output:
[quote]
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
gmake -f gmakefile.win MOZ_SRC_FLIPPED=c:/unix/home/grvs/src
cd WIN32_O.OBJ/ ; \
sh ../configure --with-mozilla
--with-dist-prefix=c:/unix/home/grvs/src/mozilla/dist
--with-dist-bindir=c:/unix/home/grvs/src/mozilla/dist/WIN32_O.OBJ/bin
--with-dist-libdir=c:/unix/home/grvs/src/mozilla/dist/WIN32_O.OBJ/lib
--enable-optimize --disable-debug
loading cache ./config.cache
checking host system type... i586-pc-cygwin
checking target system type... i586-pc-cygwin
checking build system type... i586-pc-cygwin
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
dummy.c
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
/out:dummy.exe
/out:dummy.exe
dummy.obj
configure: error: Missing OS_TARGET for i586-pc-cygwin. Use
--enable-win32-target to set.
c:\unix\home\grvs\mozilla_wintools\bin\gmake.exe: ***
[WIN32_O.OBJ/config.status] Error 1
NMAKE : fatal error U1077: 'c:\unix\home\grvs\mozilla_wintools\bin\gmake.exe' :
return code '0x2'
Stop.
[endquote]
Now unless my eyes are completely shot, did I not properly set the OS_TARGET
variable in the script? What's going wrong here?
TIA,
--
Gary "JTK" Van Sickle