cygwin compile needs cl.exe?

1,648 views
Skip to first unread message

Simon

unread,
Mar 22, 2007, 2:56:14 AM3/22/07
to pactester

Not having compiled much at all under cygwin, I have downloaded it,
installed gcc, and attempted to run the install.sh script.
Unfortunately it fails I think asking for cl.exe during the
SpiderMonkey compile.

I am using Vista64, which is the reference to WINNT6.0-WOW64. Not sure
if that is causing the problem...

Any suggestions?

[installshlog]
js/src/SpiderMonkey.rsp
js/src/win32.order
cat: ../../dist/WINNT6.0-WOW64_DBG.OBJ/nspr/Version: No such file or
directory
cd fdlibm; make -f Makefile.ref all
make[1]: Entering directory `/home/pactester-1.0.4/build/js/src/
fdlibm'
cl -FoWINNT6.0-WOW64_DBG.OBJ/ -c -DXP_UNIX -MD -Od -Z7 -D_X86_=1 -
DXP_WIN -DXP_
WIN32 -DWIN32 -D_WINDOWS -D_WIN32 -nologo -W3 -FpWINNT6.0-
WOW64_DBG.OBJ/js.pch
-DDEBUG -DDEBUG_SimonG -I.. -I../WINNT6.0-WOW64_DBG.OBJ -DJSFILE -
D_IEEE_LIBM k
_standard.c
make[1]: cl: Command not found
make[1]: *** [WINNT6.0-WOW64_DBG.OBJ/k_standard.obj] Error 127
make[1]: Leaving directory `/home/pactester-1.0.4/build/js/src/fdlibm'
make: *** [all] Error 2
JavaScript-SpiderMonkey-0.17/
JavaScript-SpiderMonkey-0.17/README
[/installshlog]

Thx,
Simon.

Manu Garg

unread,
Mar 22, 2007, 2:28:32 PM3/22/07
to pact...@googlegroups.com
On 3/22/07, Simon <sga...@gmail.com> wrote:
>
>
> Not having compiled much at all under cygwin, I have downloaded it,
> installed gcc, and attempted to run the install.sh script.
> Unfortunately it fails I think asking for cl.exe during the
> SpiderMonkey compile.

cl.exe is Microsoft Visual C++ compiler, I guess.

> Any suggestions?


> js/src/win32.order
> cat: ../../dist/WINNT6.0-WOW64_DBG.OBJ/nspr/Version: No such file or
> directory
> cd fdlibm; make -f Makefile.ref all
> make[1]: Entering directory `/home/pactester-1.0.4/build/js/src/
> fdlibm'
> cl -FoWINNT6.0-WOW64_DBG.OBJ/ -c -DXP_UNIX -MD -Od -Z7 -D_X86_=1 -
> DXP_WIN -DXP_
> WIN32 -DWIN32 -D_WINDOWS -D_WIN32 -nologo -W3 -FpWINNT6.0-
> WOW64_DBG.OBJ/js.pch
> -DDEBUG -DDEBUG_SimonG -I.. -I../WINNT6.0-WOW64_DBG.OBJ -DJSFILE -
> D_IEEE_LIBM k
> _standard.c
> make[1]: cl: Command not found
> make[1]: *** [WINNT6.0-WOW64_DBG.OBJ/k_standard.obj] Error 127
> make[1]: Leaving directory `/home/pactester-1.0.4/build/js/src/fdlibm'
> make: *** [all] Error 2

I could find references to similar issue elsewhere on searching a bit.
These instructions might help you in installing mozilla spidermonkey
in cygwin environment:
http://gemal.dk/mozilla/build.html

I haven't got the time to try them yet. Tomorrow, I'll give them a try
on one of my "unused" virtual windows instance.

-Manu

Simon

unread,
Mar 22, 2007, 10:47:10 PM3/22/07
to pactester
Thanks Manu,

yes, the details here enabled me to compile it ok:
http://www.mail-archive.com/elinks...@linuxfromscratch.org/msg00486.html

and it's all good - cheers!

Basically, use Linux config and make some minor changes to both config
& makefile. Had to comment out your tar xvf in the installer 2nd time
through so it didn't overwrite my custom files!

Simon.

> I could find references to similar issue elsewhere on searching a bit.
> These instructions might help you in installing mozilla spidermonkey
> in cygwin environment:http://gemal.dk/mozilla/build.html
>
> I haven't got the time to try them yet. Tomorrow, I'll give them a try
> on one of my "unused" virtual windows instance.
>

> -Manu-

Reply all
Reply to author
Forward
0 new messages