Article # 48, added by Geoworks, historical record
| first | previous | index | next | last |

Compiling GOC libraries that @classdecl classes



When compiling a library that defines and declares its own class(es),
you must pass the -L  to GOC.  If you don't do this, you will
see compile errors on those files that @classdecl the new class(es).

To pass -L to GOC, you'll have to define a local.mk file in your
library directory, like this:

	GOCFLAGS	+= -L 

	#include <$(SYSMAKEFILE)>

"libname" is the name of the library from the .gp file.