Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Free Pascal linking (Developers)

posted by marcov, 10.04.2008, 10:40

> Is the internal linker used for the go32v2 target too? Or does this target
> rely on ld.exe?

External linker still. I see the internal linker there, but it is commented. So probably sb tried quickly, but it didn't work without additional debugging/work.

> Btw: It's annoying that go32v2 executables become so much larger than in
> FPC 1.x. Why do stripped EXEs still contain strings from "$undefined" to
> "TResourceManager"? That are >12,500 bytes. "Hello world" in ~124K seems
> quite heavy anyway.

No idea, and no dos maintainer to ask. win32 ones are 20k, but the internal linker strips/smartlinks better because it "knows" pascal.

While FPC doesn't like unnecessary bloat, functionality goes over size. So a few kb aren't considered a problem.

However if you have an analysis why this happens, bugreport it, maybe there is something that can be done about it easily. It could be that the 2.0 branch for Dos was never fully analysed for these kind of issues.

While you are at it, debugging the internal linker might also save some space!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 275 users online (0 registered, 275 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum