Yup, dang it. I definititely forgot to do that. Seems like this could (and should) be made an automatic part of the make file, despite the circular dependency within the rtlib. I think I see a couple of steps that could make this happen:angros47 wrote:I remind that, for the DOS version of Freebasic, the file "makesymbr.bas" in the directory src/rtlib/dos should be compiled, then makesymbr.bas should be executed, and after that, the runtime library should be compiled again. It's the only way to keep dynamic linking symbols up to date for the DOS version
Separate exports module:
1) build rtlib, no exports, no symb_reg.txt
2) dxe3gen, symb_reg.txt, etc
3) move dlregsym(libfb_symbol_table) to separate module
4) compile the exports module as separate step
Complete rtlib as two files
Option 1) build rtlib (no-exports) first, followed by rtlib (with exports), using different file names. The final filename would be the rtlib normally used, and no changes are needed to fbc compiler, only the build process
Option 2) build rtlib (no-exports), and exports module (separately), then modify fbc compiler to link the exports module as additional module in the build step of an executable.
I fear that if we don't get this made part of the build process, then I am destined to forget again.