John Cowan wrote:
[EMAIL PROTECTED] scripsit: It is true that I have not implemented GCC specific flags in CMake. This is pretty easy to do. 2) In the autotools version of chicken-defaults.h, C_INSTALL_MORE_LIBS and C_INSTALL_MORE_STATIC_LIBS contain the additional switch "-ldl" before anything else. I have a vague memory of -ldl appearing twice under Autoconf. I'll look at this. A quick look at the chicken-config.h diffs doesn't show anything that looks significant: I'm attaching the diff here in case Brandon or Felix wants to run an eye or two over it. Under Autoconf, chicken-config.h is generated entirely by Autoconf. Under CMake, chicken-config.h is created from the chicken-config-cmake.h.in template. Adding HAVE_SOMETHING works differently under CMake; #if 0 | #if 10 was an easy way to implement the substitutions, rather than Autoconf's more elaborate system of commenting out things that aren't needed. Although, if I cared, I could use the same comment substitution trick that Makefile.am --> Makefile.in generation uses. Anyways, the two files have the same name and fulfill the same functional requirements, but they are generated in completely different manners. CMake doesn't put anything extra in its version, only the variables that actually cause the build to change in some way. Autoconf is notorious for including everything and the kitchen sink. Cheers, Brandon Van Every |
_______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
