lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great William Ahern once stated:
> 
> Sorry for the OT, but this scenario is actually more representative than you
> might think. "System" headers are anything included by "<...>", including
> third-party libraries. If you update to a newer version of Lua, or update an
> XML library, then your dependencies are already out-of-date when you next
> `make`, and ideally make would know this and rebuild stuff that depended on
> those headers.

  But then you'll need to generate the dependencies at compile time (or at
least at installing the source time), because where is math.h stored?  On
Unix systems, it's most likely in "/usr/include" but on Windows?  

  And further more, here's a full list of dependencies on a source file that
only includes math.h under Linux:

	/usr/include/math.h 
	/usr/include/features.h
	/usr/include/sys/cdefs.h 
	/usr/include/gnu/stubs.h
	/usr/include/bits/huge_val.h 
	/usr/include/bits/mathdef.h
	/usr/include/bits/mathcalls.h

  And under OS-X:

	/usr/include/math.h
	/usr/include/architecture/i386/math.h
	usr/include/sys/cdefs.h

  A complete different list.

  -spc (Just one more data point here ... )