[Coco] CMOC linking error

James Ross jrosslist at outlook.com
Mon Aug 6 03:05:13 EDT 2018


I successfully built and installed LWASM and CMOC on Cygwin under Windows ... 

When I compile a simple test hello world:

#include <cmoc.h>
int main() {
	printf("Hello, world\n");	
	return 0;
}

jar at Win8 /cygdrive/d/Dev/Retro/CoCo/Projects/TestCMOC
$ cmoc tst1.c
lwlink: error: Can't open library: -lcmoc-crt-ecb

scanning through the doc "The standard library" section I don't see how to properly link it

anyone know what I am missing? 

Thanks James


More information about the Coco mailing list