trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

iccconfig - Makefile.am: noinst_HEADERS = iccconfig.h (is this right?)

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 10 Feb 2011 18:06:17 -0600
Serghei, Tim, all,

  Trying to debug the iccconfig.cpp error I'm having with kdebase, I've run
across the following line in the ../iccconfig/Makefile.am:

noinst_HEADERS = iccconfig.h

  According to http://www.gnu.org/software/hello/manual/automake/Headers.html

<quote>

Usually, only header files that accompany installed libraries need to be
installed. Headers used by programs or convenience libraries are not installed.
The noinst_HEADERS variable can be used for such headers. However when the
header actually belongs to a single convenience library or program, we recommend
listing it in the program's or library's _SOURCES variable (see Program Sources)
instead of in noinst_HEADERS. This is clearer for the Makefile.am reader.
noinst_HEADERS would be the right variable to use in a directory containing only
headers and no associated library or program.

</quote>

What struck me is the line reading: "noinst_HEADERS would be the right variable
to use in a directory containing only headers and no associated library or
program." This isn't the case with iccconfig because you have the program
iccconfig.cpp.

Also, is it possible that I've run into a gcc compiler error? I'm working with
the following:

gcc 4.5.2-6
gcc-fortran 4.5.2-6
gcc-libs 4.5.2-6
gcc-objc 4.5.2-6

Thanks for any thoughts you may have.

-- 
David C. Rankin, J.D.,P.E.