This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where's sbrk()?



  In message <199803200654.WAA29509@shell.wco.com>you write:
  > I'm trying to compile the dbmalloc debugging malloc library for use
  > with egcs (under Windows 95/NT). I'm almost there, but I get the
  > following error messages:
  > 
  > gcc  -o testmalloc.exe testmalloc.o dbmalloc.a
  > testmalloc.o(.text+0x3bf):testmalloc.c: undefined reference to `sbrk'
  > testmalloc.o(.text+0x3ce):testmalloc.c: undefined reference to `end'
sbrk is typically found in the C library.

I have no idea where it would be found for Windows/NT.

Similarly for fork, and many other system calls.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]