▄▄             ▄▄▄  ▄▄▄ Power
█  █ ▄▄▄▄ ▄▄▄▄▄ █  █ █  █
█▄▄█ █▄▄▄ █ █ █ █▀▀▄ █▀▀▄
█  █ ▄▄▄█ █ █ █ █▄▄▀ █▄▄▀

Login
Register
/ ad amd64 asm asmbb best bugs chat common debian deck design dll email fast fossil friendly gamedev heap help hiawatha incredible interop learning libfresh links linux meme meta.http-equiv money neo nginx numbers orly os outage pass password programmers programming resources script.alert.xss secret seo skins sodom source sourcecode support test work xss игнат котики парола русский тест уеб.програмиране хабр.наполеон
Categories Thread list

Instructions for assembling asmbb without using FreshIde

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:

  1. More work in the console and scripts.
  2. 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):

  1. 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
  2. Set the following environment variables: TargetOS=Linux lib=/WORK/FreshLibDev/freshlib
  3. Then compile the main project file ( asmbb/source/engine.asm) with: cd asmbb/source/ fasm -m 300000 ./engine.asm ../www/engine
  4. In order to compile the skins .less files I am using the compiler clessc from http://lesscss.org/
  5. 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:

  1. More work in the console and scripts.
  2. 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):

  1. 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
  2. Set the following environment variables: TargetOS=Linux lib=/WORK/FreshLibDev/freshlib
  3. Then compile the main project file ( asmbb/source/engine.asm) with: cd asmbb/source/ fasm -m 300000 ./engine.asm ../www/engine
  4. In order to compile the skins .less files I am using the compiler clessc from http://lesscss.org/
  5. 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

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. ?rofl

Categories Thread list

Instructions for assembling asmbb without using FreshIde

AsmBB v2.4 (check-in: 8bc9b47fcf53ebbd); SQLite v3.25.0 (check-in: 5a954533edbde58a);

©2016..2018 John Found; Licensed under EUPL.
Powered by Assembly language
Created with Fresh IDE

Icons are made by Egor Rumyantsev, vaadin and icomoon from www.flaticon.com