Author Topic: ScriptBasic 64 Bit Linux  (Read 9556 times)

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
ScriptBasic 64 Bit Linux
« on: March 31, 2011, 12:40:12 AM »
I wrote a webservice application using ScriptBasic on a Ubuntu 10.10 32 bit system recently. As it turned out the application needed to run on a 64 bit version of Ubuntu. Armando had compiled 64 bit versions of ScriptBasic for OSX and Windows. (MinGWGCC-IDM) For some reason we never got around to doing a 64 bit version for Linux. The good news is that ScriptBasic runs fine in 64 bit mode on Linux. (thanks to Armando's assistance) When I find some spare time, I would like to add a setup --gcc64 option to add the needed compiler switches to the make files being generated to create 64 bit executables and libraries.


Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
Re: ScriptBasic 64 Bit Linux
« Reply #1 on: April 05, 2011, 10:54:18 AM »
Here is the complete set of binaries for ScriptBasic on Ubuntu 10.10 64 bit.  Feedback welcome!

Code: [Select]
/usr/bin
  sbhttpd
  scriba

/usr/share/scriba/include
  cgi.bas
  curl.bas
  curses.bas
  hash.bas
  mt.bas
  mysql.bas
  odbc.bas
  re.bas
  t.bas
  ux.bas
  xml.bas
  zlib.bas

/usr/local/lib/scriba
  cgi.so
  curl.so
  curses.so
  dbg.so
  hash.so
  mysql.so
  mt.so
  odbc.so
  re.so
  t.so
  ux.so
  xml.so
  zlib.so

/etc/scriba
  basic.conf.txt

Note I have provided a minimal configuration file in text format to customize for your particular needs. ScriptBasic requires the configuration file be in a binary format for use. The following scriba option will create the needed binary format configuration  file.  (basic.conf)

scriba -k basic.conf.txt

You can alway view your current configuration scriba/sbhttpd is using with this command.

scriba -D

 
« Last Edit: April 05, 2011, 11:03:52 AM by support »