GNU bug report logs - #13495
Compilation fails on Mac OS X 10.8.0

Previous Next

Package: coreutils;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Fri, 18 Jan 2013 22:34:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: karl <at> freefriends.org (Karl Berry)
To: assafgordon <at> gmail.com, bug-gnulib <at> gnu.org, 13495 <at> debbugs.gnu.org
Subject: bug#13495: Compilation fails on Mac OS X 10.8.0
Date: Mon, 4 Feb 2013 23:09:02 GMT
    > 1. This code isn't used - due to the combination of #if's.

Sorry if I'm missing the point here, but FWIW, my suggestion for
cpp-related debugging is to take the line from make for compiling the
file and change it to:
gcc -E -dD -o foobar  ...copy rest of cmdline from make output...

Then foobar will have the #define statements, in the context of the
regular preprocessed output, so you can see what is #defining what and
why. 
http://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
(at -dCHARS, toward the end.)

(Or similar, for other compilers.  Sorry, I don't recall if you're using
gcc.)

Best,
karl




This bug report was last modified 12 years and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.