<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">26.12.2023 16:21, Michael Van Canneyt
via fpc-devel пишет:<br>
</div>
<blockquote type="cite"
cite="mid:61ba2484-a78-ad88-c9e5-9b334b626d2d@freepascal.org">
<br>
<br>
On Tue, 26 Dec 2023, Maxim Ganetsky via fpc-devel wrote:
<br>
<br>
<blockquote type="cite">26.12.2023 11:49, Michael Van Canneyt via
fpc-devel пишет:
<br>
<blockquote type="cite">On Mon, 25 Dec 2023, Maxim Ganetsky
wrote:
<br>
<blockquote type="cite">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>
</blockquote>
<br>
They are expanded. I've been using it for quite some time now.
<br>
I don't think I've been hallucinating. See below :-)
<br>
<br>
<blockquote type="cite">||
<br>
Info: Macro defined: UNICODE
<br>
||
<br>
Info: Compiler exe: "/usr/local/bin/pas2js"
<br>
||
<br>
Info: Using working directory:
"/builds/freepascal.org/lazarus-sandbox/lazarus-test-4"
<br>
||
<br>
Info: Using unit path:
"/usr/local/lib/fpc/3.3.1/pas2js/*/src"
<br>
||
<br>
Note: unit path not found:
"/usr/local/lib/fpc/3.3.1/pas2js/*/src"
<br>
</blockquote>
<br>
Is the path correct to begin with ?
<br>
</blockquote>
<br>
Sigh, no it is not:
<br>
<br>
$ ls -l /usr/local/lib/fpc/3.3.1/pas2js
<br>
|
<br>
total 4
<br>
||
<br>
drwxr-xr-x 2 root root 4096 Dec 25 17:37 rtl
<br>
||
<br>
$ ls -l /usr/local/lib/fpc/3.3.1/pas2js/rtl
<br>
||
<br>
total 48
<br>
||-rw-rw-r-- 1 root root 45451 Dec 25 15:49 rtl.js|
<br>
<br>
So `make install` does not work as expected?
<br>
</blockquote>
<br>
It does, but 'make install' only does half the job for making a
release:
<br>
pas2js works with sources only, which are not installed by 'make
install'.
<br>
</blockquote>
<p>They were before. I rolled back to Pas2Js commit
bdf63857de5cc53bde6d72f1261ecff5d08c8d7b, and with this commit
hello.pas builds successfully and I see the following files
installed by `make install`:</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">$ ls /usr/local/lib/fpc/$FPC_MAIN_VER/pas2js</font></span></div>
<div class="js-log-line job-log-line"></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">chartjs</span></div>
<div class="js-log-line job-log-line"></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">dataabstract</span></div>
<div class="js-log-line job-log-line"></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">fcl-base</span></div>
<div class="js-log-line job-log-line"></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">fcl-db</span></div>
<div class="js-log-line job-log-line"></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">fpcunit</span></div>
<div class="js-log-line job-log-line"></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">jspdf</span></div>
<div class="js-log-line job-log-line"></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">nodejs</span></div>
<div class="js-log-line job-log-line"></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">rtl</span></div>
<div class="js-log-line job-log-line"></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">$ ls
/usr/local/lib/fpc/$FPC_MAIN_VER/pas2js/rtl</span></div>
<div class="js-log-line job-log-line"></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">Rtl.BrowserLoadHelper.pas</span></div>
<div class="js-log-line job-log-line"></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">Rtl.HTMLActions.pas</span></div>
<div class="js-log-line job-log-line"></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">Rtl.HTMLEventNames.pas</span></div>
<div class="js-log-line job-log-line"></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">Rtl.HTMLTranslate.pas</span></div>
<div class="js-log-line job-log-line"></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">Rtl.HTMLUtils.pas</span></div>
<div class="js-log-line job-log-line"></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">Rtl.ScriptLoader.pas</span></div>
<div class="js-log-line job-log-line"></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">Rtl.TemplateLoader.pas</span></div>
<div class="js-log-line job-log-line"></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">Rtl.UnitLoader.pas</span></div>
<div class="js-log-line job-log-line"></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">arrayutils.pas</span></div>
<div class="js-log-line job-log-line"></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">browserconsole.pas</span></div>
<div class="js-log-line job-log-line"></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">class2pas.pas</span></div>
<div class="js-log-line job-log-line"></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">classes.pas</span></div>
<div class="js-log-line job-log-line"></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">contnrs.pas</span></div>
<div class="js-log-line job-log-line"></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">dateutils.pas</span></div>
<div class="js-log-line job-log-line"></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">generics.collections.pas</span></div>
<div class="js-log-line job-log-line"></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">generics.defaults.pas</span></div>
<div class="js-log-line job-log-line"></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">generics.strings.pas</span></div>
<div class="js-log-line job-log-line"></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">hotreloadclient.pas</span></div>
<div class="js-log-line job-log-line"></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">js.pas</span></div>
<div class="js-log-line job-log-line"></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">libjquery.pas</span></div>
<div class="js-log-line job-log-line"></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">math.pas</span></div>
<div class="js-log-line job-log-line"></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">node.events.pas</span></div>
<div class="js-log-line job-log-line"></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">nodejs.pas</span></div>
<div class="js-log-line job-log-line"></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">objpas.pas</span></div>
<div class="js-log-line job-log-line"></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">p2jsres.pp</span></div>
<div class="js-log-line job-log-line"></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_rtl.lpk</span></div>
<div class="js-log-line job-log-line"></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_rtl.pas</span></div>
<div class="js-log-line job-log-line"></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">rstranslate.pp</span></div>
<div class="js-log-line job-log-line"></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">rtl.js</span></div>
<div class="js-log-line job-log-line"></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">rtl.webthreads.pas</span></div>
<div class="js-log-line job-log-line"></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">rtlconsts.pas</span></div>
<div class="js-log-line job-log-line"></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">rtti.pas</span></div>
<div class="js-log-line job-log-line"></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">simplelinkedlist.pas</span></div>
<div class="js-log-line job-log-line"></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">strutils.pas</span></div>
<div class="js-log-line job-log-line"></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">system.pas</span></div>
<div class="js-log-line job-log-line"></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">sysutils.pas</span></div>
<div class="js-log-line job-log-line"></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">timer.pas</span></div>
<div class="js-log-line job-log-line"></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">types.pas</span></div>
<div class="js-log-line job-log-line"></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">typinfo.pas</span></div>
<div class="js-log-line job-log-line"></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">web.pas</span></div>
<div class="js-log-line job-log-line"></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">webassembly.pas</span></div>
<div class="js-log-line job-log-line"></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">webaudio.pas</span></div>
<div class="js-log-line job-log-line"></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">webbluetooth.pas</span></div>
<div class="js-log-line job-log-line"></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">webgl.pas</span></div>
<div class="js-log-line job-log-line"></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">weborworker.pas</span></div>
<div class="js-log-line job-log-line"></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">webrouter.pp</span></div>
<div class="js-log-line job-log-line"></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">webrtc.pas</span></div>
<div class="js-log-line job-log-line"></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">websvg.pas</span></div>
<div class="js-log-line job-log-line"></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">webutils.pas</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block"><span
class="gl-white-space-pre-wrap">webworker.pas</span></code>
<p></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>