View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014793CMakeCMakepublic2014-03-07 04:542016-06-10 14:31
ReporterJens Staal 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
Platformx86_64OSArch LinuxOS Version
Product Version 
Target VersionFixed in Version 
Summary0014793: CMake on Linux can not produce Watcom Wmake files or use Watcom as compiler
DescriptionDear all,

I am playing with trying to build ReactOS using Open Watcom (the v2 fork) and would love to be able to do so natively (from Linux) using Open Watcom as a win32 cross compiler instead of MinGW. My forked sources can be found at [1].

Strangely, configuring with CMake either running under Wine or under Windows allows for selecting Watcom as compiler / make file style, but not when run under Linux. Also if CC and CXX is set to the watcom compilers and CMake is told to make "Unix makefiles", CMake detects them during configuration but the actual build falls back to the default cc (gcc).

1: https://github.com/staalmannen/reactos/tree/reactow [^]
Steps To Reproduce* Install Open Watcom on Linux, try to configure a CMake project to use Watcom as compiler / Make file style.

If example sources is the "ReactOW" above, simply do something like:

WATCOM=/opt/watcom bash ../reactos/configure.sh

cd to host-tools
make
cd to reactos
make

you will see that it falls back to gcc.

from a build directory next to the checked out sources.
TagsCMake, compiler, cross compile
Attached Files

 Relationships

  Notes
(0035356)
Brad King (manager)
2014-03-10 10:30

There is some ongoing discussion on the cmake-developers mailing list:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/9543 [^]

One may join the list here:

 http://www.cmake.org/mailman/listinfo/cmake-developers [^]
(0042503)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-03-07 04:54 Jens Staal New Issue
2014-03-07 04:56 Jens Staal Tag Attached: CMake
2014-03-07 04:56 Jens Staal Tag Attached: compiler
2014-03-07 04:56 Jens Staal Tag Attached: cross compile
2014-03-10 10:30 Brad King Note Added: 0035356
2014-03-10 10:30 Brad King Severity minor => feature
2014-03-10 10:30 Brad King Status new => backlog
2016-06-10 14:29 Kitware Robot Note Added: 0042503
2016-06-10 14:29 Kitware Robot Status backlog => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team