This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Where's sbrk()?
- To: Richard Stanton <stanton at haas dot berkeley dot edu>
- Subject: Re: Where's sbrk()?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 22 Mar 1998 00:06:59 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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