[cmake-developers] [CMake 0014793]: CMake on Linux can not produce Watcom Wmake files or use Watcom as compiler

Mantis Bug Tracker mantis at public.kitware.com
Fri Mar 7 04:54:31 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14793 
====================================================================== 
Reported By:                Jens Staal
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14793
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-07 04:54 EST
Last Modified:              2014-03-07 04:54 EST
====================================================================== 
Summary:                    CMake on Linux can not produce Watcom Wmake files or
use Watcom as compiler
Description: 
Dear 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-07 04:54 Jens Staal     New Issue                                    
======================================================================



More information about the cmake-developers mailing list