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 rr Homepage E-mail, Berlin, Germany, 10.04.2008, 12:18

> 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.

OK, I see.

> No idea, and no dos maintainer to ask. win32 ones are 20k, but the

Yes, Win32 ones are small. Of course, Win32 builds can make use of existing Windows DLLs for doing a job, where DOS builds have to rely on a complete RTL in EXEs.

> internal linker strips/smartlinks better because it "knows" pascal.

Ah, that explains nearly everything. ;-) So the FPC guys did a good job then. :-)

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

I understand this, but disk space on DOS is a little different thing as you probably remember from the past. ;-)

> However if you have an analysis why this happens, bugreport it, maybe

Maybe I'd like to do, but I don't know where to start analyzing. I already tried to create a map file (-Xm?), but FPC didn't create one for me. :-(

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

Let's start easy. ;-)

---
Forum admin

 

Complete thread:

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