[Coco] COmpiling CMOC under Windows?

RETRO Innovations go4retro at go4retro.com
Sat Apr 25 17:49:01 EDT 2020


On 4/25/2020 2:33 PM, Pierre Sarrazin wrote:
> Indeed.
> Could the src/usim-0.91-cmoc/main.cc file have been deleted somehow?
> It comes with the source archive.
$ ls src/usim*
machdep.h  Makefile.am  mc6809.h     misc.h   term.h      usim.h
main.cc    Makefile.in  mc6809in.cc  README   typedefs.h
Makefile   mc6809.cc    misc.cc      term.cc  usim.cc

>
> For what it's worth, 'g++ --version' gives 7.5.0 on my system.
$ g++ --version
g++ (GCC) 7.4.0
Copyright (C) 2017 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.

>
> Also, 'which g++' should give a path that is inside the Cygwin system.
$ which g++
/usr/bin/g++

>
> I have successfully compiled CMOC under Cygwin in the past.
>
> Does the same problem happen with a previous version of CMOC?
$ make
Making all in src
make[1]: Entering directory `C:/tools/src/cmoc-0.1.64/src'
Making all in support
make[2]: Entering directory `C:/tools/src/cmoc-0.1.64/src/support'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `C:/tools/src/cmoc-0.1.64/src/support'
Making all in usim-0.91-cmoc
make[2]: Entering directory `C:/tools/src/cmoc-0.1.64/src/usim-0.91-cmoc'
g++ -DPACKAGE_NAME=\"cmoc\" -DPACKAGE_TARNAME=\"cmoc\" 
-DPACKAGE_VERSION=\"0.1.64\" -DPACKAGE_STRING=\"cmoc\ 0.1.64\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cmoc\" 
-DVERSION=\"0.1.64\" -I.     -g -O2 -W -Wall -MT main.o -MD -MP -MF 
.deps/main.Tpo -c -o main.o main.cc
g++: fatal error: no input files
compilation terminated.
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `C:/tools/src/cmoc-0.1.64/src/usim-0.91-cmoc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `C:/tools/src/cmoc-0.1.64/src'
make: *** [all-recursive] Error 1

I'm happy to try versions earlier, but don't see a previous versions 
link on the page.

JIm



More information about the Coco mailing list