Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-06

Custom memory managers - (documentation)

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Thomas Schatzl

Hello,

while browsing some of the documentation I think I found a bug.

prog.pdf Page 66 (Writing your own memory manager, description of the callback functions)

MemSize: I think this description is wrong since imho it fits better with MemAvail because imho Memsize should return the allocated memory size of the given memory block, not the total amount of memory available for allocation. MemAvail is missing btw (or better: MemSize).

But I might be wrong.

Regards,
Thomas

Reply by email

Pavel V. Ozerski
to Thomas Schatzl

Hello,
What is mean to rename MinGW32 utils used in FPC (as -> asw, ld -> ldw etc)? That was necessary (prevented overwriting) while binaries for differnt targets were placed in the same directory but now it seems to be needless, I think.

Pavel

Reply by email

Peter Vreman
to Pavel V. Ozerski
you wrote 5 lines
Hello, What is mean to rename MinGW32 utils used in FPC (as -> asw, ld -> ldw etc)? That was necessary (prevented overwriting) while binaries for differnt targets were placed in the same directory but now it seems to be needless, I think.

It was/is used for cross compiling win32 from go32v2 running in a dosbox. It was also done to not confuse the as.exe from go32v2 with as.exe from win32 with eachother. Because the produce almost the same object files that can cause wrong executables to be generated

Peter

Reply by email