<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">25.12.2023 18:35, Michael Van Canneyt
via fpc-devel пишет:<br>
</div>
<blockquote type="cite"
cite="mid:bfd71c24-74a7-7119-8061-1dce2016ec0@freepascal.org">
<br>
<br>
On Mon, 25 Dec 2023, Maxim Ganetsky via fpc-devel wrote:
<br>
<br>
<blockquote type="cite">
<blockquote type="cite">||
<br>
-Fu$CfgDir../lib/fpc/3.3.1/pas2js/rtl/src
<br>
|
<br>
</blockquote>
<br>
I see that there are missing directory separators after $CfgDir,
maybe this is the reason?
<br>
</blockquote>
<br>
I added it.
<br>
<br>
</blockquote>
<p>Thanks. But still no luck. It seems like asterisks in config file
are not expanded properly. See the output of compilation run for a
trivial "Hello, World!" program:<br>
</p>
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap term-fg-l-green term-bold"><font
face="monospace">$ cat hello.pas</font></span></div>
<code data-testid="job-log-content" class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">program hello;</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">begin</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap"> writeln('Hello, World!');</span></div>
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">end.</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap term-fg-l-green term-bold">$
pas2js -va hello.pas</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: quick handling option
"hello.pas"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Configfile search:
/root/.pas2js.cfg</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Configfile search:
/usr/local/bin/pas2js.cfg</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Reading options from
file "/usr/local/bin/pas2js.cfg"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# Minimal config file for pas2js compiler"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# -d is the same as #DEFINE"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# -u is the same as #UNDEF"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# Write always a nice logo ;)"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-l"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: handling option "-l"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option ""</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# Display Warnings, Notes and Hints"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-vwnh"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: handling option "-vwnh"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# If you don't want so much verbosity use"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#-vw"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option ""</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#IFDEF FPC_SUBTARGET_NAMESPACED"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">/usr/local/bin/pas2js.cfg(15,1)
Debug: cfg directive "#IFDEF FPC_SUBTARGET_NAMESPACED": false
-> skip</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/namespaced"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-Fi$CfgDir/../lib/fpc/3.3.1/pas2js/*/src"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/rtl/src"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#else"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">/usr/local/bin/pas2js.cfg(19,1)
Debug: cfg directive "#else": execute</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/src"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: handling option
"-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/src"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#endif"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option ""</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#IFDEF nodejs"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">/usr/local/bin/pas2js.cfg(23,1)
Debug: cfg directive "#IFDEF nodejs": false -> skip</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-Jirtl.js"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "#ENDIF"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">/usr/local/bin/pas2js.cfg(25,1)
Debug: cfg directive "#ENDIF": end block</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option ""</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# Put all generated JavaScript into one file"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "-Jc"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: handling option "-Jc"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option ""</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: interpreting file
option "# end."</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: End of reading config
file "/usr/local/bin/pas2js.cfg"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: handling option "-va"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: handling option
"hello.pas"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Pas2JS Compiler version 2.3.1
[2023/12/25] for Linux x86_64</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Message encoding is
console</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Copyright (c) 2023 Free Pascal
team.</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Target platform is
Browser</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Target processor is
ECMAScript5</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Syntax mode is ObjFPC</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch CLASS is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch RESULT is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
NESTEDCOMMENTS is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch REPEATFORWARD
is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch AUTODEREF is
off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch INITFINAL is
on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch OUT is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
DEFAULTPARAMETERS is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch HINTDIRECTIVE
is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch PROPERTIES is
on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch EXCEPTIONS is
on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
ADVANCEDRECORDS is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
UNICODESTRINGS is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch TYPEHELPERS
is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch CBLOCKS is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
ARRAYOPERATORS is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch MULTIHELPERS
is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
PREFIXEDATTRIBUTES is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
IMPLICITFUNCTIONSPECIALIZATION is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
FUNCTIONREFERENCES is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
ANONYMOUSFUNCTIONS is on</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch EXTERNALCLASS
is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch OMITRTTI is
off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
MULTILINESTRINGS is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Modeswitch
DELPHIMULTILINESTRINGS is off</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Class interface style is
COM</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Skip default
configs" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Build all" is
disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show logo" is
enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show errors" is
enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show warnings"
is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show notes" is
enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show hints" is
enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show infos" is
enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show line
numbers" is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show tried/used
files" is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show
conditionals" is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show used tools"
is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show debug" is
enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show message
numbers" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Overflow
checking" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Range checking"
is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Method call
checking" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Assertions" is
disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Allow C
assignments" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Allow macros" is
disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Allows typed
constants to be writeable" is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Lowercase
identifiers" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Use strict" is
enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Write
pas2jsdebug.log" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Write messages
to StdErr" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Create
precompiled units" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Enum values as
numbers" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Keep not used
private declarations" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Keep not used
declarations (WPO)" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Create short
local variables for globals" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Obfuscate local
identifiers" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Create source
map" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Include Pascal
sources in source map" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Do not shorten
filenames in source map" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Prepend XSSI
protection )]} to source map" is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show full
filenames" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Show tried/used
files" is enabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Search files
like FPC" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Option "Strict file
case" is disabled</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined: Browser</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro ECMAScript set to
"5"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
ECMAScript5</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_CLASSES</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_DYNARRAYS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_EXCEPTIONS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_EXITCODE</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_INIT</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_INITFINAL</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_RTTI</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_SUPPORT</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_UNICODESTRINGS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_WIDESTRINGS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_TYPE_DOUBLE</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_UNICODESTRING</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_UNICODESTRINGS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_WIDESTRING_EQUAL_UNICODESTRING</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined: PAS2JS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro Pas2JSTargetCPU
set to "ECMAScript5"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro Pas2JSTargetOS set
to "Browser"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro PAS2JS_FULLVERSION
set to "20301"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
STR_CONCAT_PROCS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined: UNICODE</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Compiler exe:
"/usr/local/bin/pas2js"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Using working directory:
"/builds/freepascal.org/lazarus-sandbox/lazarus-test-4"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Using unit path:
"/usr/local/lib/fpc/3.3.1/pas2js/*/src"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Note: unit path not found:
"/usr/local/lib/fpc/3.3.1/pas2js/*/src"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Output file: ""</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Parsing hello.pas ...</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined: Browser</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro ECMAScript set to
5</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
ECMAScript5</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_CLASSES</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_DYNARRAYS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_EXCEPTIONS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_EXITCODE</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_INIT</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_INITFINAL</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_RTTI</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_SUPPORT</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_UNICODESTRINGS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_FEATURE_WIDESTRINGS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_TYPE_DOUBLE</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_HAS_UNICODESTRING</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_UNICODESTRINGS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
FPC_WIDESTRING_EQUAL_UNICODESTRING</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined: PAS2JS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro Pas2JSTargetCPU
set to ECMAScript5</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro Pas2JSTargetOS set
to Browser</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro PAS2JS_FULLVERSION
set to 20301</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined:
STR_CONCAT_PROCS</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Macro defined: UNICODE</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: Opening file
"/builds/freepascal.org/lazarus-sandbox/lazarus-test-4/hello.pas"...</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Parsing
"/builds/freepascal.org/lazarus-sandbox/lazarus-test-4/hello.pas"
...</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Searching file:
System.pp... not found</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Searching file:
System.pas... not found</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Searching file:
System.p... not found</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Searching file:
/usr/local/lib/fpc/3.3.1/pas2js/*/src/System.pp... not found</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Searching file:
/usr/local/lib/fpc/3.3.1/pas2js/*/src/System.pas... not found</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Info: Searching file:
/usr/local/lib/fpc/3.3.1/pas2js/*/src/System.p... not found</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $00000000005A123A</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $00000000005F6631</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $0000000000599347</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $0000000000540839</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $0000000000540BC0</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $000000000053EBC7</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $000000000053E784</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $000000000053DBBF</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $00000000004A4C11</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $00000000004A706D</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $00000000004B3C51</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $00000000004014A3</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $0000000000498333</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">Debug: $0000000000401994</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">hello.pas(2,6) Error: can't
find unit "System"</span></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block"><span
class="gl-white-space-pre-wrap">Fatal: Compilation aborted</span></code>
<blockquote type="cite"
cite="mid:bfd71c24-74a7-7119-8061-1dce2016ec0@freepascal.org">
<blockquote type="cite">
<br>
Also probably it would be worth to consider removing code
duplication between createconfig.pp and fpmake.pp in regards of
config file generation.
<br>
</blockquote>
<br>
I'd rather not. Preferably, the fpmake.pp file should not depend
on anything.
<br>
</blockquote>
<p>Of course it is for you to decide (and I understand your
reasons), but the amount of time this debug session has already
taken suggests the opposite (at least shared include file, which
can be copied to the fpmake.pp body by some script). </p>
<p>Merry Christmas!</p>
<pre class="moz-signature" cols="72">--
Best regards,
Maxim Ganetsky <a class="moz-txt-link-freetext" href="mailto:ganmax@narod.ru">mailto:ganmax@narod.ru</a></pre>
</body>
</html>