Some GCC user can solve it ?



I need to allocate huge memory blocks for database buffering - some
years ago, with no portability problems to solve (just unix & dos),
that was easy: in dos, just changing the compiler's memory model, and in
unix nothing to do: the complier allways was set with the biggest memory
model possible as default.

But i can't find nothing about in on-line GCC docs. The stdlib malloc
only allow 64k of memory alocation, and g_malloc, despite the
definition: gpointer g_malloc(gulong size), fails in the same point as
malloc.

Some clue ?

Mauro Ferreira
mauroferreira enersulnet com br





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]