|
From: | Brandon J. Van Every |
Subject: | [Chicken-users] Cygwin naming support |
Date: | Mon, 24 Jul 2006 00:24:18 -0700 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
Brandon J. Van Every wrote:
I've bitten the bullet and started reworking the CMake library naming code. Actually in CMake 2.4.2 it won't be so difficult. CMake 2.2 didn't handle lib- prefixes very well, CMake 2.4.2 is more automagical. For instance, right now it's generating dlls of the form cygchicken.dll, so the only missing ingredient is to add -0. Gotta go run my dog around and beat the heat. Will have a patch later tonight.
I've pushed it to Darcs. Let me know if it works. Libraries of the form cygchicken-0.dll are generated. The corresponding import library is libchicken-0.dll.a. I hope that's what Cygwinners expect, because there doesn't seem to be a way to specify the body of the DLL's name any different from the body of its import library. Prefixes, no sweat, suffixes, no sweat, but postfixes, I am unsure about. If this isn't what's expected, I'll need to follow up on the CMake lists about it.
It is unclear to me from my Googling what's expected. The problem also bores me tremendously. I don't know if these Cygwin naming conventions are a "best practice," but they do seem to be a practice, and a hard one to get rid of.
Cheers, Brandon Van Every
[Prev in Thread] | Current Thread | [Next in Thread] |