Marco van de Voort wrote:
michael paap wrote:
- There is a really big difference in the size of executables made by
TPC under Dos ans those made by GPC under LINUX. Is this normal, or is there any possibility, to decrease the size of the executables made by GPC?
You might want to strip the binary after the compilation, or compile without `-g' and with `-s'. Last thing, which makes a big difference, is the RTS being built as a static library. You might think of building the RTS as a shared library, but I don't suggest that.
Does creating a static library force smart linking (eliminating unused code?)
Only on a per-object-file level. There are plans to let GPC automatically split a source file into multiple object files (one per routine, basically) to facilitate real smart linking.
Frank