..:: AsmBB ::..: Instructions for assembling asmbb without using FreshIde
<img src="https://board.asm32.info/images/title.svg" alt="Title img">
<h1>AsmBB is ultrafast web forum, written entirely in assembly language. This site is the official support development forum and demo/test installation.</h1>
tag:board.asm32.info,2018-03-06:Thread2312018-10-18T20:35:24Zjohnfound on Instructions for assembling asmbb without using FreshIdetag:board.asm32.info,2018-03-06:Post155762018-10-18T20:35:24Z
<blockquote><header>crustyoz</header><p>All good features. Does it handle other languages too? Such as html, css, javascript, C, Go, Markdown? My world is mixed language programming so a language specific editor has too narrow a scope.
</p></blockquote>
<p>All these features are based on FASM compiler, so they work only for FASM sources. That is, because it is impossible to implement them based on text analysis of the source files. Only full compilation, only hardcore. <img class="inline" src="/templates/Urban+Sunrise/_images/emoticons/rofl.gif" alt="rofl" />
</p>
johnfoundcrustyoz on Instructions for assembling asmbb without using FreshIdetag:board.asm32.info,2018-03-06:Post155752018-10-17T23:52:31Z
<blockquote><header>johnfound</header><blockquote><header>crustyoz</header><p>I've settled on the geany editor (http://geany.org) as my preferred IDE for the many different file types for which it has syntax highlighting.
</p></blockquote>
<p>As I already said, the biggest problem (at least for me) is the fast navigation across the source files. That is why I created Fresh IDE in the first place.
</p>
<p>The most important features, I am using all the time are <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H6.3.">Editor cross reference</a>, <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H7.">Goto definition/interface</a>, <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H8.">Embeded help</a>, <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H7.">Arguments hint</a> and of course <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H10.">Code completion</a>.
</p>
</blockquote>
<p>All good features. Does it handle other languages too? Such as html, css, javascript, C, Go, Markdown? My world is mixed language programming so a language specific editor has too narrow a scope.
</p>
crustyozjohnfound on Instructions for assembling asmbb without using FreshIdetag:board.asm32.info,2018-03-06:Post155742018-10-17T22:56:59Z
<blockquote><header>crustyoz</header><p>I've settled on the geany editor (http://geany.org) as my preferred IDE for the many different file types for which it has syntax highlighting.
</p></blockquote>
<p>As I already said, the biggest problem (at least for me) is the fast navigation across the source files. That is why I created Fresh IDE in the first place.
</p>
<p>The most important features, I am using all the time are <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H6.3.">Editor cross reference</a>, <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H7.">Goto definition/interface</a>, <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H8.">Embeded help</a>, <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H7.">Arguments hint</a> and of course <a href="http://fresh.flatassembler.net/index.cgi?page=content/articles/1_tips.txt#H10.">Code completion</a>.
</p>
johnfoundcrustyoz on Instructions for assembling asmbb without using FreshIdetag:board.asm32.info,2018-03-06:Post155732018-10-17T19:53:35Z
<blockquote><header>johnfound</header><blockquote><header>crustyoz</header><p>Is it possible to assemble asmbb without using FreshIde and work with fasm directly?
</p>
<p>The .fpr files are not readable in a text editor so fasm instructions for assembling asmbb require other documentation.
</p>
</blockquote>
<p>Yes, it is possible, because Fresh IDE is the same as FASM, but has some drawbacks:
</p>
<ol type=""><li><p>More work in the console and scripts.
</p></li>
<li><p>You will not be able to use the source navigation tools and cross reference of Fresh IDE and the navigation among source files will be pretty hard.
</p></li></ol>
<p>Anyway here is a short description (all paths are arbitrary):
</p>
<ol type=""><li><p>In order to compile AsmBB you will need to clone and checkout Fresh IDE repository, the branch <code>FreshLibDev</code> - it contains only the development version of FreshLib.
</p></li>
<pre><code class="">fossil clone https://fresh.flatassembler.net/fossil/repo/fresh MY_REPOS/fresh.fossil
mkdir /WORK/FreshLibDev
cd /WORK/FreshLibDev
fossil open MY_REPOS/fresh.fossil FreshLibDev
</code></pre>
<li><p>Set the following environment variables:
</p></li><pre><code class="">TargetOS=Linux
lib=/WORK/FreshLibDev/freshlib
</code></pre>
<li><p>Then compile the main project file ( <code>asmbb/source/engine.asm</code>) with:
</p></li><pre><code class="">cd asmbb/source/
fasm -m 300000 ./engine.asm ../www/engine
</code></pre>
<li><p>In order to compile the skins <code>.less</code> files I am using the compiler <code>clessc</code> from <a href="http://lesscss.org/">http://lesscss.org/</a>
</p></li>
<li><p>The other components of the system - <code>SQLite</code> and <code>MUSL</code> can be compiled by running the script <code>asmbb/musl_sqlite/build</code> and the binary distribution is created by the script <code>asmbb/install/create_release.sh</code>
</p></li>
</ol>
</blockquote>
<p>Thanks. I use make to handle many different actions, of which compiling/assembling is just one, as shown by your use of clessc and the distribution script.
</p>
<p>I've settled on the geany editor (http://geany.org) as my preferred IDE for the many different file types for which it has syntax highlighting.
</p>
crustyozjohnfound on Instructions for assembling asmbb without using FreshIdetag:board.asm32.info,2018-03-06:Post155722018-10-17T16:36:29Z
<blockquote><header>crustyoz</header><p>Is it possible to assemble asmbb without using FreshIde and work with fasm directly?
</p>
<p>The .fpr files are not readable in a text editor so fasm instructions for assembling asmbb require other documentation.
</p>
</blockquote>
<p>Yes, it is possible, because Fresh IDE is the same as FASM, but has some drawbacks:
</p>
<ol type=""><li><p>More work in the console and scripts.
</p></li>
<li><p>You will not be able to use the source navigation tools and cross reference of Fresh IDE and the navigation among source files will be pretty hard.
</p></li></ol>
<p>Anyway here is a short description (all paths are arbitrary):
</p>
<ol type=""><li><p>In order to compile AsmBB you will need to clone and checkout Fresh IDE repository, the branch <code>FreshLibDev</code> - it contains only the development version of FreshLib.
</p></li>
<pre><code class="">fossil clone https://fresh.flatassembler.net/fossil/repo/fresh MY_REPOS/fresh.fossil
mkdir /WORK/FreshLibDev
cd /WORK/FreshLibDev
fossil open MY_REPOS/fresh.fossil FreshLibDev
</code></pre>
<li><p>Set the following environment variables:
</p></li><pre><code class="">TargetOS=Linux
lib=/WORK/FreshLibDev/freshlib
</code></pre>
<li><p>Then compile the main project file ( <code>asmbb/source/engine.asm</code>) with:
</p></li><pre><code class="">cd asmbb/source/
fasm -m 300000 ./engine.asm ../www/engine
</code></pre>
<li><p>In order to compile the skins <code>.less</code> files I am using the compiler <code>clessc</code> from <a href="http://lesscss.org/">http://lesscss.org/</a>
</p></li>
<li><p>The other components of the system - <code>SQLite</code> and <code>MUSL</code> can be compiled by running the script <code>asmbb/musl_sqlite/build</code> and the binary distribution is created by the script <code>asmbb/install/create_release.sh</code>
</p></li>
</ol>
johnfoundcrustyoz on Instructions for assembling asmbb without using FreshIdetag:board.asm32.info,2018-03-06:Post155712018-10-17T15:57:25Z
<p>Is it possible to assemble asmbb without using FreshIde and work with fasm directly?
</p>
<p>The .fpr files are not readable in a text editor so fasm instructions for assembling asmbb require other documentation.
</p>
crustyoz