Przemek:
>2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
> * harbour/source/vm/fm.c
> + harbour/source/vm/dlmalloc.c
> + added alternative memory manager written by Doug Lea
> It can be activated by recompiling Harbour with HB_FM_DL_ALLOC
>macro.
> Please make test on different platforms with different C >compilers.
> Linux users will not benefit from it because the default GLIBC MM
> is derived from a version of code.
> NOTE: the results may strongly depend on total memory allocation
> and will be different then in simple memory tests.
Below are results of current Harbour under eComStation 1.2MR
gcc 3.3.5
set C_USR=-DHB_FM_STATISTICS_OFF -DHB_FM_DL_ALLOC
errors in dlmalloc.c
David Macias
../../gtstd.c: In function `hb_gt_std_ReadKey':
../../gtstd.c:389: warning: unused variable `TODO'
In file included from ../../fm.c:117:
../../dlmalloc.c: In function `mmap_alloc':
../../dlmalloc.c:3120: error: `MAP_PRIVATE' undeclared (first use in
this functi
on)
../../dlmalloc.c:3120: error: (Each undeclared identifier is reported
only once
../../dlmalloc.c:3120: error: for each function it appears in.)
../../dlmalloc.c: In function `sys_alloc':
../../dlmalloc.c:3417: error: `MAP_PRIVATE' undeclared (first use in
this functi
on)
../../dlmalloc.c: In function `release_unused_segments':
../../dlmalloc.c:3537: warning: implicit declaration of function `munmap'
make[3]: *** [fm.o] Error 1
make[2]: *** [descend] Error 2
E:/usr/i386-pc-os2-emx/bin/ld.exe: No such file or directory for hbvm
make[3]: *** [hbrun.exe] Error 1
make[2]: *** [descend] Error 2
[...]
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour