|
From: Wolfgang T. <wol...@gm...> - 2005-07-18 16:27:44
|
> Unfortunately, yes. (In order to be sure, I tried it again, but the
> problem remains.)
>
> Chris
>
> $ gcc --version
> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809)
> Copyright (C) 2002 Free Software Foundation, Inc.
Grmpf. Code built by 3.3 "should not" refer to fprintf$LDBLStub.
a) Make sure you've completely rebuilt the HOC_cbits directory after
switching to gcc 3.3. ("make clean" should work, but don't trust my
Makefiles to work correctly; make sure that all the .o files are
really gone).
b) Write a "Hello, world" program in C (#include <stdio.h> and use
printf, other popular "Hello, world" variants don't do the trick
here...). Look at or send me the output of gcc -S and gcc -E.
If the output mentions $LDBLStub, find out the values of the
__LDBL_MANT_DIG__ and __DBL_MANT_DIG__ macros. (See sys/cdefs.h for
info on how Apple's headers decide whether to use "foo$LDBLStub"
instead of plain "foo" for some library functions).
Cheers,
Wolfgang
|