Skip to content
FreeBASIC Runtime Library written in FreeBASIC
Visual Basic Makefile Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
crt_extra
darwin
static
unix
win32
x86
.gitignore
.poseidon
README.md
array_boundchk.bas
array_clear.bas
array_clearobj.bas
array_core.bas
array_destructobj.bas
array_destructstr.bas
array_erase.bas
array_eraseobj.bas
array_erasestr.bas
array_lbound.bas
array_redim.bas
array_redim_obj.bas
array_redimpresv.bas
array_redimpresv_obj.bas
array_redimto.bas
array_resetdesc.bas
array_setdesc.bas
array_tmpdesc.bas
array_ubound.bas
con_input.bas
con_lineinp.bas
con_lineinp_wstr.bas
con_locate.bas
con_pos.bas
con_print_raw.bas
con_print_raw_uni.bi
con_print_raw_wstr.bas
con_print_tty.bas
con_print_tty_uni.bi
con_print_tty_wstr.bas
con_readline.bas
data.bas
data_readbool.bas
data_readbyte.bas
data_readdouble.bas
data_readint.bas
data_readlong.bas
data_readshort.bas
data_readsingle.bas
data_readstr.bas
data_readubyte.bas
data_readuint.bas
data_readulong.bas
data_readushort.bas
data_readwstr.bas
dev_com.bas
dev_com_private.bi
dev_com_test.bas
dev_cons_open.bas
dev_err_open.bas
dev_file_close.bas
dev_file_encod_open.bas
dev_file_encod_read.bas
dev_file_encod_read_core.bas
dev_file_encod_read_wstr.bas
dev_file_encod_readline.bas
dev_file_encod_readline_wstr.bas
dev_file_encod_write.bas
dev_file_encod_write_wstr.bas
dev_file_eof.bas
dev_file_flush.bas
dev_file_lock.bas
dev_file_open.bas
dev_file_read.bas
dev_file_read_wstr.bas
dev_file_readline.bas
dev_file_readline_wstr.bas
dev_file_seek.bas
dev_file_size.bas
dev_file_tell.bas
dev_file_unlock.bas
dev_file_write.bas
dev_file_write_wstr.bas
dev_lpt.bas
dev_lpt_close.bas
dev_lpt_test.bas
dev_lpt_write.bas
dev_lpt_write_wstr.bas
dev_pipe_close.bas
dev_pipe_open.bas
dev_scrn.bas
dev_scrn_close.bas
dev_scrn_eof.bas
dev_scrn_init.bas
dev_scrn_read.bas
dev_scrn_read_wstr.bas
dev_scrn_readline.bas
dev_scrn_readline_wstr.bas
dev_scrn_write.bas
dev_scrn_write_wstr.bas
dev_stdio_close.bas
error.bas
error_assert.bas
error_assert_wstr.bas
error_getset.bas
error_message.bas
error_ptrchk.bas
fb.bi
fb_array.bi
fb_config.bi
fb_config.h
fb_console.bi
fb_data.bi
fb_datetime.bi
fb_device.bi
fb_error.bi
fb_file.bi
fb_gfx_private.bi
fb_hook.bi
fb_legacy.bi
fb_math.bi
fb_oop.bi
fb_print.bi
fb_printer.bi
fb_private_hdynload.bi
fb_private_thread.bi
fb_serial.bi
fb_string.bi
fb_system.bi
fb_thread.bi
fb_unicode.bi
file_attr.bas
file_close.bas
file_copy_crt.bas
file_datetime.bas
file_dir64.bas
file_dirnext.bas
file_dirnext64.bas
file_encod.bas
file_eof.bas
file_exists.bas
file_free.bas
file_get.bas
file_get_wstr.bas
file_getarray.bas
file_getstr.bas
file_hconvpath.bas
file_input_bool.bas
file_input_byte.bas
file_input_file.bas
file_input_float.bas
file_input_int.bas
file_input_longint.bas
file_input_short.bas
file_input_str.bas
file_input_tok.bas
file_input_tok_wstr.bas
file_input_ubyte.bas
file_input_uint.bas
file_input_ulongint.bas
file_input_ushort.bas
file_input_wstr.bas
file_inputstr.bas
file_kill.bas
file_len.bas
file_lineinp.bas
file_lineinp_wstr.bas
file_loc.bas
file_lock.bas
file_open.bas
file_opencom.bas
file_opencons.bas
file_openencod.bas
file_openerr.bas
file_openlpt.bas
file_openpipe.bas
file_openscrn.bas
file_openshort.bas
file_print.bas
file_print_wstr.bas
file_put.bas
file_put_wstr.bas
file_putarray.bas
file_putback.bas
file_putback_wstr.bas
file_putstr.bas
file_reset.bas
file_resetex.bas
file_seek.bas
file_size.bas
file_tell.bas
file_winputstr.bas
gosub.bas
hook_cls.bas
hook_color.bas
hook_getmouse.bas
hook_getmouse64.bas
hook_getsize.bas
hook_getx.bas
hook_getxy.bas
hook_gety.bas
hook_inkey.bas
hook_isredir.bas
hook_lineinp.bas
hook_lineinp_wstr.bas
hook_locate_ex.bas
hook_multikey.bas
hook_pageset.bas
hook_pcopy.bas
hook_ports.bas
hook_print_wstr.bas
hook_printstr.bas
hook_readstr.bas
hook_readxy.bas
hook_setmouse.bas
hook_sleep.bas
hook_view_update.bas
hook_width.bas
init.bas
intl_get.bas
intl_getdateformat.bas
intl_getmonthname.bas
intl_getset.bas
intl_gettimeformat.bas
intl_getweekdayname.bas
io_hinkey.bas
io_lpos.bas
io_lprint_bool.bas
io_lprint_byte.bas
io_lprint_fix.bas
io_lprint_fp.bas
io_lprint_int.bas
io_lprint_longint.bas
io_lprint_short.bas
io_lprint_str.bas
io_lprint_wstr.bas
io_lprintusg.bas
io_lprintvoid.bas
io_print.bas
io_print_bool.bas
io_print_byte.bas
io_print_fix.bas
io_print_fp.bas
io_print_int.bas
io_print_longint.bas
io_print_short.bas
io_print_wstr.bas
io_printpad.bas
io_printpad_wstr.bas
io_printusg.bas
io_printvoid.bas
io_printvoid_wstr.bas
io_serial_private.bi
io_setpos.bas
io_spc.bas
io_view.bas
io_viewhlp.bas
io_widthdev.bas
io_widthfile.bas
io_write_wstr.bas
io_writebool.bas
io_writebyte.bas
io_writefloat.bas
io_writeint.bas
io_writelongint.bas
io_writeshort.bas
io_writestr.bas
io_writevoid.bas
legacy_str_lcase.bas
legacy_str_ucase.bas
legacy_strw_lcase.bas
legacy_strw_ucase.bas
license.txt
list.bas
listdyn.bas
makefile
math_cvn.bas
math_fix.bas
math_frac.bas
math_log10.bas
math_rnd.bas
math_sgn.bas
mem_copyclear.bas
oop_istypeof.bas
oop_object.bas
oop_object_copyctor.bas
qb_file_open.bas
qb_inkey.bas
qb_sleep.bas
qb_str_convto.bas
qb_str_convto_flt.bas
qb_str_convto_lng.bas
scancodes.bas
signals.bas
str_asc.bas
str_assign.bas
str_base.bas
str_bin.bas
str_bin_lng.bas
str_bin_ptr.bas
str_chr.bas
str_comp.bas
str_concat.bas
str_concatassign.bas
str_convfrom.bas
str_convfrom_bool.bas
str_convfrom_int.bas
str_convfrom_lng.bas
str_convfrom_rad.bas
str_convfrom_radlng.bas
str_convfrom_uint.bas
str_convfrom_ulng.bas
str_convto.bas
str_convto_bool.bas
str_convto_flt.bas
str_convto_lng.bas
str_core.bas
str_cvmk.bas
str_del.bas
str_fill.bas
str_format.bas
str_ftoa.bas
str_hex.bas
str_hex_lng.bas
str_hex_ptr.bas
str_hskip.bas
str_instr.bas
str_instrany.bas
str_instrrev.bas
str_instrrevany.bas
str_lcase.bas
str_left.bas
str_len.bas
str_ltrim.bas
str_ltrimany.bas
str_ltrimex.bas
str_mid.bas
str_midassign.bas
str_misc.bas
str_oct.bas
str_oct_lng.bas
str_oct_ptr.bas
str_right.bas
str_rtrim.bas
str_rtrimany.bas
str_rtrimex.bas
str_set.bas
str_tempdescf.bas
str_tempdescv.bas
str_tempdescz.bas
str_tempres.bas
str_trim.bas
str_trimany.bas
str_trimex.bas
str_ucase.bas
strw_alloc.bas
strw_asc.bas
strw_assign.bas
strw_bin.bas
strw_bin_lng.bas
strw_bin_ptr.bas
strw_chr.bas
strw_comp.bas
strw_concat.bas
strw_concatassign.bas
strw_convassign.bas
strw_convconcat.bas
strw_convfrom.bas
strw_convfrom_bool.bas
strw_convfrom_int.bas
strw_convfrom_lng.bas
strw_convfrom_rad.bas
strw_convfrom_radlng.bas
strw_convfrom_str.bas
strw_convfrom_uint.bas
strw_convfrom_ulng.bas
strw_convto.bas
strw_convto_bool.bas
strw_convto_flt.bas
strw_convto_lng.bas
strw_convto_str.bas
strw_del.bas
strw_fill.bas
strw_ftoa.bas
strw_hex.bas
strw_hex_lng.bas
strw_hex_ptr.bas
strw_instr.bas
strw_instrany.bas
strw_instrrev.bas
strw_instrrevany.bas
strw_lcase.bas
strw_left.bas
strw_len.bas
strw_ltrim.bas
strw_ltrimany.bas
strw_ltrimex.bas
strw_mid.bas
strw_midassign.bas
strw_oct.bas
strw_oct_lng.bas
strw_oct_ptr.bas
strw_right.bas
strw_rtrim.bas
strw_rtrimany.bas
strw_rtrimex.bas
strw_set.bas
strw_space.bas
strw_trim.bas
strw_trimany.bas
strw_trimex.bas
strw_ucase.bas
swap_mem.bas
swap_str.bas
swap_wstr.bas
sys_cdir.bas
sys_chain.bas
sys_chdir.bas
sys_cmd.bas
sys_environ.bas
sys_exec.bas
sys_exepath.bas
sys_mkdir.bas
sys_parseargs.bas
sys_rmdir.bas
sys_run.bas
sys_shell.bas
thread_call.bas
thread_ctx.bas
time_core.bas
time_date.bas
time_dateadd.bas
time_datediff.bas
time_datepart.bas
time_dateserial.bas
time_dateset.bas
time_datevalue.bas
time_decodeserdate.bas
time_decodesertime.bas
time_isdate.bas
time_monthname.bas
time_now.bas
time_parsedate.bas
time_parsedatetime.bas
time_parsetime.bas
time_sleep.bas
time_sleepex.bas
time_time.bas
time_timeserial.bas
time_timeset.bas
time_timevalue.bas
time_week.bas
time_weekdayname.bas
utf_convfrom_char.bas
utf_convfrom_wchar.bas
utf_convto_char.bas
utf_convto_wchar.bas
utf_core.bas
vfs_open.bas

README.md

fbrtLib

FreeBASIC Runtime Library written in FreeBASIC

Attempt at writing the fbrt in freeBASIC to remove the dependence on C.

As I am working primarily on windows right now, here are build instructions for windows.

You will need: -a working install of freeBASIC. See here: https://www.freebasic.net/forum/viewforum.php?f=1 -a properly configured environment for compiling FB itself. See here: https://www.freebasic.net/wiki/wikka.php?wakka=DevBuild -a copy of the current rtlib source code. See here: https://github.com/freebasic/fbc -a second copy of the freeBASIC folder structure for testing.

For the purpose of this I will assume the follow: -fbc.exe installed in the following location: C:\fbc -testing fbc at the following location: C:\fbcTest -current rtlib source at following location: C:\fbsrc -this project checked out as follwoing location: C:\fbrtlib

The current rtlib source from github is in the folder src\rtlib. The files there are the onlt ones you need for this process.

Using the msys console, run the following commands:

cd /c/fbrtlib make FBC=../fbc/fbc.exe FB_SRC_PATH=../fbsrc

Then you can go to C:\fbrtlib\lib\freebasic\win32\ and copy all three files out. Paste them into C:\fbcTest\lib\win32\

You should now be able to compile using the generated libs.

You can’t perform that action at this time.