Is it possible to assemble asmbb without using FreshIde and work with fasm directly?
The .fpr files are not readable in a text editor so fasm instructions for assembling asmbb require other documentation.
Is it possible to assemble asmbb without using FreshIde and work with fasm directly?
The .fpr files are not readable in a text editor so fasm instructions for assembling asmbb require other documentation.
crustyoz Is it possible to assemble asmbb without using FreshIde and work with fasm directly?
The .fpr files are not readable in a text editor so fasm instructions for assembling asmbb require other documentation.
Yes, it is possible, because Fresh IDE is the same as FASM, but has some drawbacks:
More work in the console and scripts.
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.
Anyway here is a short description (all paths are arbitrary):
In order to compile AsmBB you will need to clone and checkout Fresh IDE repository, the branch FreshLibDev
- it contains only the development version of FreshLib.
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
Set the following environment variables:
TargetOS=Linux
lib=/WORK/FreshLibDev/freshlib
Then compile the main project file ( asmbb/source/engine.asm
) with:
cd asmbb/source/
fasm -m 300000 ./engine.asm ../www/engine
In order to compile the skins .less
files I am using the compiler clessc
from http://lesscss.org/
The other components of the system - SQLite
and MUSL
can be compiled by running the script asmbb/musl_sqlite/build
and the binary distribution is created by the script asmbb/install/create_release.sh
johnfound crustyoz Is it possible to assemble asmbb without using FreshIde and work with fasm directly?
The .fpr files are not readable in a text editor so fasm instructions for assembling asmbb require other documentation.
Yes, it is possible, because Fresh IDE is the same as FASM, but has some drawbacks:
More work in the console and scripts.
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.
Anyway here is a short description (all paths are arbitrary):
In order to compile AsmBB you will need to clone and checkout Fresh IDE repository, the branch
FreshLibDev
- it contains only the development version of FreshLib.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
Set the following environment variables:
TargetOS=Linux lib=/WORK/FreshLibDev/freshlib
Then compile the main project file (
asmbb/source/engine.asm
) with:cd asmbb/source/ fasm -m 300000 ./engine.asm ../www/engine
In order to compile the skins
.less
files I am using the compilerclessc
from http://lesscss.org/The other components of the system -
SQLite
andMUSL
can be compiled by running the scriptasmbb/musl_sqlite/build
and the binary distribution is created by the scriptasmbb/install/create_release.sh
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.
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.
crustyoz 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.
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.
The most important features, I am using all the time are Editor cross reference, Goto definition/interface, Embeded help, Arguments hint and of course Code completion.
johnfound crustyoz 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.
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.
The most important features, I am using all the time are Editor cross reference, Goto definition/interface, Embeded help, Arguments hint and of course Code completion.
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.
crustyoz 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.
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.