[Pas2js] Building problem

Ryan Joseph genericptr at gmail.com
Tue Sep 29 17:44:07 CEST 2020



> On Sep 29, 2020, at 12:02 AM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> Your configuration file /etc/pas2js.cfg or ~/.pas2js.cfg is either missing or wrong.
> pas2js works always with sources, it needs the paths to the sources of all
> units. My config file contains:
> 
> -Fu/Users/michael/pas2js/packages/rtl
> -Fu/Users/michael/pas2js/packages/*

Ok, I added the config file and it finds system now. Still the command I'm using must be wrong.

macro_test$ pas2js -Jc -Jirtl.js -Tbrowser /Users/ryanjoseph/Developer/Projects/pas2js/WebGL/Pas2JS_WebGL.pas
/Users/ryanjoseph/Developer/pas2js/packages/rtl/system.pas(369,1) Error: Expected "asm"

In my config file:

-Sc
-Fu~/Developer/pas2js/packages/rtl
-Fu~/Developer/pas2js/packages/*


Regards,
	Ryan Joseph



More information about the Pas2js mailing list