Can't Install on MacOS X

I just got a new Mac, and need to get Ruby 1.8 running ASAP, or I'll go
into withdrawal.

I ran the 'XCode tools' installer, including gcc 3.3 and the BSD SDK.

My system says:
[Sliver:local/src/ruby-1.8.2] root# uname -a
Darwin Sliver.local 7.7.2 Darwin Kernel Version 7.7.2: Wed Dec 22
20:01:20 PST 2004; root:xnu/xnu-517.10.7.obj~1/RELEASE_PPC Power
Macintosh powerpc

[Sliver:local/src/ruby-1.8.2] root# ./configure
checking build system type... powerpc-apple-darwin7.7.2
checking host system type... powerpc-apple-darwin7.7.2
checking target system type... powerpc-apple-darwin7.7.2
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables
See `config.log' for more details.

Inside config.log, possibly relevant lines are:
configure:1417: checking target system type
configure:1431: result: powerpc-apple-darwin7.7.2
configure:1658: checking for gcc
configure:1674: found /usr/bin/gcc
configure:1684: result: gcc
configure:1928: checking for C compiler version
configure:1931: gcc --version </dev/null >&5
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

configure:1934: $? = 0
configure:1936: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)
configure:1939: $? = 0
configure:1941: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1944: $? = 1
configure:1968: checking for C compiler default output
configure:1971: gcc conftest.c >&5
ld: can't locate file for: -lcrt1.o
configure:1974: $? = 1
configure: failed program was:

#line 1947 "configure"
/* confdefs.h. */

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
/* end confdefs.h. */

int
main ()
{

  ;
  return 0;
}

configure:2013: error: C compiler cannot create executables
See `config.log' for more details.

Anyone know what step I missed?

Nevermind! Apparently I was too frugal in my dev tools install.

Install the MacOS SDK fixed the trouble.