Justin Hallett wrote:
> 
> Why won't this work, I have to ^C from it or in about one hour it kills
> Finder and crashes the system...it just sits there.
> 
> justin@localhost [~/tmp-clan]$ cat conftest.C
> #include <unistd.h>
> justin@localhost [~/tmp-clan]$
> 
> justin@localhost [~/tmp-clan]$ cc -E -v -I/sw/include -I/usr/X11R6/include
> -I/usr/X11R6/include/X11 -I/sw/include/freetype2 -L/usr/X11R6/lib -lX11
> -lXext conftest.C
> Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
> Apple Computer, Inc. version gcc-934.3, based on gcc version 2.95.2
> 19991024 (release)
>  /usr/libexec/gcc/darwin/ppc/2.95.2/cpp -lang-c -v -I/sw/include
> -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/sw/include/freetype2
> -arch ppc -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ppc__
> -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__ -D__ppc__
> -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__ -D__STDC__
> -D__APPLE_CC__=934 -D__DYNAMIC__ -lX11

"cc -E" is not very smart and often does not what one thinks it should.
As you can see, it does not even transmit your file name to cpp but
stops after the "-lX11" it doesn't understand. Why do you have these
libraries in there, anyway? 

-- 
Martin

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to