The executable is fine (tested under windows),just to print "hello"
Version 1.02.1, i didn't compile fb source like from the fb manual (FB and cross-compiling )
All mingw packages from slitaz repository.
Code: Select all
root@slitaz:~# fbc test.bas -target i586-pc-mingw32
Warning: .drectve `-aligncomm:"___mingw_winmain_lpCmdLine",2 ' unrecognized
Warning: .drectve `-aligncomm:"___mingw_winmain_hInstance",2' unrecognized
Warning: .drectve `-aligncomm:"___fb_ctx",6' unrecognized
Warning: .drectve `-aligncomm:"___fb_con",5' unrecognized
Warning: .drectve `-aligncomm:"___DTOR_LIST__",2 ' unrecognized
Warning: .drectve `-aligncomm:"___CTOR_LIST__",2' unrecognized
Warning: .drectve `-aligncomm:"___onexitend",2 ' unrecognized
Warning: .drectve `-aligncomm:"___onexitbegin",2' unrecognized
Warning: .drectve `-aligncomm:"___native_startup_lock",2 ' unrecognized
Warning: .drectve `-aligncomm:"___native_startup_state",2' unrecognized