[Gc] Improving perfs on a multi CPU windows system

Boehm, Hans hans_boehm@hp.com
Thu, 4 Sep 2003 12:19:27 -0700

I don't think autoconf helps much here.

This is a question about the targets which will eventually be used to
run the collector.  My understanding is that Microsoft supports compiling
on an XP system and targeting, say, NT3.1.  Autoconf can determine
lots of things about the host used for compilation, but that doesn't
seem to imply much about the target.

We could dynamically test what the target OS is, and issue the right call.
That would require some sort of "weak symbol" ability so that we can run
with an undefined (but unused) reference.  Does such a thing exist on


> -----Original Message-----
> From: Fergus Henderson [mailto:fjh@cs.mu.oz.au]
> Sent: Thursday, September 04, 2003 11:37 AM
> To: Emmanuel Stapf [ES]
> Cc: 'Boehm, Hans'; gc@napali.hpl.hp.com
> Subject: Re: [Gc] Improving perfs on a multi CPU windows system
> On 02-Sep-2003, Emmanuel Stapf [ES] <manus@eiffel.com> wrote:
> > > I changed this in my version, as you suggested.  Based on my 
> > > reading of Microsoft's documentation and a small amount of 
> > > experimentation, _WIN32_WINNT has to be defined explicitly to 
> > > reflect the target?
> > 
> > Indeed, this is why it is up to the person who compiles the 
> C code to add this in
> > the Makefile to ensure it is taken into account.
> autoconf
> -- 
> Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known 
> that the pursuit
> The University of Melbourne         |  of excellence is a 
> lethal habit"
> WWW: <https://www.cs.mu.oz.au/~fjh>  |     -- the last words 
> of T. S. Garp.