Man this forum can be hot sometimes... However I have not found what I am looking for and I hope to get some nice hints...
I am working on porting OCC5.1 to Mac OS 10.3
After debugging and fixing files, we ( Brian and I ) succeeded compiling all the source codes with GCC 3.3 on a G5 computer and we actually got draw to work partially when calling TTOPOLOGY. However, XSDRAWEXE still doesn't work.
Currently when running TTOPOLOGY with GDB ( the debugger) we get the following error:
Standard AllocMemory failed to mmap : Bad file descriptor
Program received signal EXC_BAD_ACCESS, Could not access memory.
Standard::MAllocate(int) (aSize=40960000) at ../../../src/Standard/Standard.cxx:43
431 *(Standard_Address*)aStorage = theAllocList;
We visibly have a memory allocation issue here. And we can't get MMAP to work properly.
Any hints? Is memory allocation in OS X that different from Linux???
Thanks in advance for your reply