9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] malloc redefinition when linking pcc with 8c programs
Date: Mon,  1 Dec 2003 14:43:18 -0700	[thread overview]
Message-ID: <Pine.LNX.4.44.0312011436470.1957-100000@fbsd.cpsc.ucalgary.ca> (raw)
In-Reply-To: <20031201205415.GA25262@ionkov.net>

On Mon, 1 Dec 2003, Latchesar Ionkov wrote:

> What about compiling libdraw (and friends) with pcc?
>

as Russ said, it's a pain in the butt...

a more elegant solution would be to change the names of the system calls
"behind the scenes" while linking with ape/libc.a for example malloc becomes
apemalloc. with statically linked binaries that should solve my problem...

unless i'm missing many things.

"links" (the browser) is such a bloated piece of software that a rewrite for
plan9 seems impossible, you saw the font_include.c example already, which
won't even compile under pcc because it runs out of memory :)

andrey



  parent reply	other threads:[~2003-12-01 21:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-01 18:13 mirtchov
2003-12-01 19:43 ` Russ Cox
2003-12-01 20:00   ` mirtchov
2003-12-01 20:54     ` Latchesar Ionkov
2003-12-01 21:20       ` boyd, rounin
2003-12-01 21:43       ` andrey mirtchovski [this message]
2003-12-01 21:53         ` Russ Cox
2003-12-01 22:13           ` mirtchov
2003-12-01 23:05             ` Hugo Santos
2003-12-01 23:10               ` Russ Cox
2003-12-01 23:21                 ` Hugo Santos
2003-12-02  0:05                   ` David Arnold
2003-12-01 21:11     ` Russ Cox

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.LNX.4.44.0312011436470.1957-100000@fbsd.cpsc.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.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 NNTP newsgroup(s).