skydevgit / crisscross

Automatically exported from code.google.com/p/crisscross
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

build fails using "mingw32-make check" #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Executing "mingw32-make check" produces this output:
==========================================================
Scanning dependencies of target BuildNumber
[  0%] Generating crisscross/build_number.h
File CRC: a627e1f2, Data CRC: 00000000
[  1%] Built target BuildNumber
Scanning dependencies of target TestSuite_gch
[  1%] Generating header.h.gch
The syntax of the command is incorrect.
mingw32-make[3]: *** [TestSuite/header.h.gch] Error 1
mingw32-make[2]: *** [TestSuite/CMakeFiles/TestSuite_gch.dir/all] Error 2
mingw32-make[1]: *** [CMakeFiles/check.dir/rule] Error 2
mingw32-make: *** [check] Error 2
===========================================================

The output:
 "The syntax of the command is incorrect."
seems to originate from the cmake generated file:
 "TestSuite\CMakeFiles\TestSuite_gch.dir\build.make"
corresponding to this line:
 "cd E:\Projects\Win32\CrissCross\crisscross-0.7.2\TestSuite && mkdir
E:/Projects/Win32/CrissCross/crisscross-0.7.2/TestSuite/header.h.gch"

The windows console isn't liking the directory separators as forward
slashes. A bug in cmake, instead of the crisscross build setup?

Attached is a log of the commands I used on my system.

My environment is:
Windows Vista 32
crisscross-0.7.2

Original issue reported on code.google.com by spetznaz.au@gmail.com on 17 Nov 2008 at 2:32

Attachments:

GoogleCodeExporter commented 9 years ago
What GCC version?

Original comment by steven.n...@gmail.com on 17 Nov 2008 at 3:57

GoogleCodeExporter commented 9 years ago
Also, it could indeed be a CMake bug, but  why aren't you building in msys?

Original comment by steven.n...@gmail.com on 17 Nov 2008 at 3:58

GoogleCodeExporter commented 9 years ago
> What GCC version?
3.4.5, from:
==========================================================
E:\Projects\Win32\CrissCross>mingw32-gcc --version
mingw32-gcc (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
==========================================================

> but  why aren't you building in msys?
Just didn't download msys with mingw. I'm mainly driving mingw via the latest 
Eclipse
with CDT (Ganymede)....

Original comment by spetznaz.au@gmail.com on 18 Nov 2008 at 10:43