Menu

Tree [424828] master / contrib / tools /
 History

HTTPS access


File Date Author Commit
 check-whitespace.bas 2023-11-04 coderJeff coderJeff [ff8617] contrib/tools/check-whitespace.bas
 emar.bas 2023-10-01 coderJeff coderJeff [8281f6] emscripten: add emar (hack for windows)
 emcc.bas 2022-07-18 coderJeff coderJeff [efafc2] emscripten: add emcc (hack for windows) and cle...
 readme.txt 2023-10-01 coderJeff coderJeff [8281f6] emscripten: add emar (hack for windows)

Read Me

Tools
=====

Miscellaneous tools for fbc


check-whitespace.bas (fbc sources)
----------------------------------
  Tool to sanitize white space in fbc .bas|.bi sources.  Used occasionaly
  when committing changes to fbc source repository (jeffm)

    Compile with:
      fbc check-whitespace.bas.bas

  Place on PATH and run without any arguments to see options.


emcc.bas (emscripten / Windows)
-------------------------------
  Binary to launch emscipten on Windows.

    Compile with:
      fbc emcc.bas
    Copy to ../../bin/js-asmjs/

  fbc expects supporting tools to be executable but the emscripten
  font-end on windows uses 'emcc.bat' (plus python in the background) and fbc 
  can't directly call a .BAT file. This tool is a cheap hack to make it work.
  Compile the source and copy 'emcc.exe' to 'd:/fb.git/bin/js-asmjs/emcc.exe'.
  This should allow fbc to find emcc.exe when launching tools.
  See https://www.freebasic.net/wiki/DevBuildEmscripten


emar.bas (emscripten / Windows)
-------------------------------
  Binary to launch emscipten on Windows.

    Compile with:
      fbc emar.bas
    Copy to ../../bin/js-asmjs/

  fbc expects supporting tools to be executable but the emscripten
  font-end on windows uses 'emar.bat' (plus python in the background) and fbc 
  can't directly call a .BAT file. This tool is a cheap hack to make it work.
  Compile the source and copy 'emar.exe' to 'd:/fb.git/bin/js-asmjs/emar.exe'.
  This should allow fbc to find emar.exe when launching tools.
  See https://www.freebasic.net/wiki/DevBuildEmscripten
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.