From: Mumit Khan <khan@xraylith.wisc.edu>
To: Richard Stanton <stanton@haas.berkeley.edu>
Cc: egcs@cygnus.com
Subject: Re: Where's sbrk()?
Date: Mon, 23 Mar 1998 19:24:00 -0000 [thread overview]
Message-ID: <Pine.SUN.3.93.980321195836.12153B-100000@modi.xraylith.wisc.edu> (raw)
In-Reply-To: <199803200654.WAA29509@shell.wco.com>
On Thu, 19 Mar 1998, Richard Stanton wrote:
> 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'
>
> What do I need to do to get rid of these errors?
>
> Looking further, I get a similar message about fork().
>
Hi Richard,
This has *nothing* to do with egcs. It's a runtime library issue, and
you'll have to either use a runtime that provides sbrk, fork etc (eg.,
Cygwin32 B19 at http://www.cygnus.com/misc/gnu-win32/ or AT&T UWIN
at http://www.research.att.com/sw/tools/uwin/ ) or modify dbmalloc to
use Win32 API (good luck).
Mumit
next prev parent reply other threads:[~1998-03-23 19:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-20 8:45 Richard Stanton
1998-03-23 16:39 ` Jeffrey A Law
1998-03-23 19:24 ` Jim Wilson
1998-03-23 19:24 ` Mumit Khan [this message]
1998-03-23 10:41 Kaz Kylheku
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SUN.3.93.980321195836.12153B-100000@modi.xraylith.wisc.edu \
--to=khan@xraylith.wisc.edu \
--cc=egcs@cygnus.com \
--cc=stanton@haas.berkeley.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).