AsmBB

Power
Login Register

Instructions for assembling asmbb without using FreshIde
0

#15571 (ツ) crustyoz
Created 17.10.2018, read: 4686 times

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.

#15572 (ツ) johnfound
Created 17.10.2018, read: 4685 times
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.

  2. 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
    
  3. Set the following environment variables:

  4. TargetOS=Linux                 
    lib=/WORK/FreshLibDev/freshlib  
    
  5. Then compile the main project file ( asmbb/source/engine.asm) with:

  6. cd asmbb/source/
    fasm -m 300000 ./engine.asm ../www/engine
    
  7. In order to compile the skins .less files I am using the compiler clessc from http://lesscss.org/

  8. 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

#15573 (ツ) crustyoz
Created 17.10.2018, read: 4679 times
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.

  2. 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
    
  3. Set the following environment variables:

  4. TargetOS=Linux                 
    lib=/WORK/FreshLibDev/freshlib  
    
  5. Then compile the main project file ( asmbb/source/engine.asm) with:

  6. cd asmbb/source/
    fasm -m 300000 ./engine.asm ../www/engine
    
  7. In order to compile the skins .less files I am using the compiler clessc from http://lesscss.org/

  8. 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.

#15574 (ツ) johnfound
Created 17.10.2018, read: 4676 times
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.

#15575 (ツ) crustyoz
Created 17.10.2018, read: 4674 times
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.

#15576 (ツ) johnfound
Created 18.10.2018, read: 4673 times
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

Instructions for assembling asmbb without using FreshIde
0

AsmBB v3.0 (check-in: a316dab8b98d07d9); SQLite v3.42.0 (check-in: 831d0fb2836b71c9);
©2016..2023 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE