I realized that when I try to compile a library with -lib it gives me this error, it does it only on DOS, I have a doubt that I'm doing something wrong, maybe I'm skipping steps that don't need to under linux or windows.
FreeBASIC 1.09.0
test.bas
Code: Select all
function RetriveString(ByVal RowString as String)as String export
Return left(RowString,3)
end function
fbc test.bas -dll
output:
dxe_tmp.o: linker output file has more than one section
It also causes error on a PC with Windows 98 from DOS and from the prompt window
output:
Error: neither DXE_LD_LIBRARY_PATH nor DJDIR are set in evironment
Do I have to make some settings or is it a bug?