The same error (because of not having the '-no-cpp-precomp' flag) occurs in
trying to compile the latest version of DDD (ddd-3.3.1-2).  The main DDD
directory compiles fine because this flag is set but when it moves to the
"libiberty" directory to compile those files, with argv.c being the first
one, it dies because it's not set.  It can't be changed there because as
part of the install of DDD it does a "rm -rf ddd-3.3.1-2".  The specific
error is below.

Making all in libiberty
if [ x"no" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
test x"no" != xyes || \
  gcc -c -DHAVE_CONFIG_H -g -I. -I./../include    argv.c -o pic/argv.o
gcc -c -DHAVE_CONFIG_H -g -I. -I./../include   argv.c
cpp-precomp: could not open '/usr/include/gcc/darwin/3.1'
make[1]: *** [argv.o] Error 1
make: *** [all-recursive] Error 1
### make failed, exit code 2
Failed: compiling ddd-3.3.1-2 failed

Thanks.

   Jeff


> ----------
> From:         Martin Costabel
> Sent:         Wednesday, April 10, 2002 4:09 PM
> To:   Hester, Jeffrey W.; '[EMAIL PROTECTED]'
> Subject:      Re: [Fink-users] Fink update-all with new gcc
> 
> Martin Costabel wrote:
> > 
> > "Hester, Jeffrey W." wrote:
> > 
> > > checking for C compiler default output... configure: error: C compiler
> cannot
> > > create executables
> > 
> > Standard answer to questions about configure failure: What does the
> > config.log file say at the end?
> 
> After looking at this myself, I see that this is again a problem with
> this @#%!#@ cpp-precomp. If you change the db3 info file as follows
> 
> -(cd build_unix; ../dist/configure %c)
> +(cd build_unix;  export CPPFLAGS="-no-cpp-precomp"; ../dist/configure %c)
> 
> then it starts building correctly. This is with 
> Apple Computer, Inc. GCC version 1025, based on gcc version 3.1 20020105
> (experimental)
> 
> -- 
> Martin
> 
> _______________________________________________
> Fink-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-users
> 
> 

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

Reply via email to