From owner-freebsd-ports Fri Apr 24 12:42:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12064 for freebsd-ports-outgoing; Fri, 24 Apr 1998 12:42:04 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from shell9.ba.best.com (hjh@shell9.ba.best.com [206.184.139.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11978 for ; Fri, 24 Apr 1998 12:41:45 -0700 (PDT) (envelope-from hjh@shell9.ba.best.com) Received: (from hjh@localhost) by shell9.ba.best.com (8.8.8/8.8.BEST) id MAA15259; Fri, 24 Apr 1998 12:41:43 -0700 (PDT) Date: Fri, 24 Apr 1998 12:41:43 -0700 (PDT) Message-Id: <199804241941.MAA15259@shell9.ba.best.com> From: "J. Han" To: freebsd-ports@FreeBSD.ORG Subject: new libarary port survey [LONG] Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have just finished porting CII (version 1.1) library to FreeBSD (2.2.6) and I'd like to ask a few questions to propective users. CII is "C Interfaces and Implementations" by David Hanson, published by Addison-Wesley. Its URL is http://www.cs.princeton.edu/software/cii/ 1. Right now libcii.a is installed in /usr/local/lib/cii/1 (major version number 1) and a symlink to it is placed in /usr/local/lib. Headers are also installed in /usr/local/lib/cii/1/include with a symlink in /usr/local/include/cii I used symlinks to preserve "release-independence" for future CII (following recommendation from the CII installation guide). What's your opinion on this matter? I noticed that no other local headers are symlinks, though. 2. If I could, I'd like to try different compilers but two problems stand in my way: - FreeBSD doesn't have lcc (3.6) headers. (lcc doesn't like long long in FreeBSD headers). - Another gcc, pgcc is said to be not so good. For now I'd just use stock cc. Any comments? Also there is question about platforms for heterogeneous environment, eg: /usr/local/lib/cii/1/{i386-FreeBSD,alpha-osf,..}/{cc,lcc,..}/libcii.a Frankly, I think all this compiler/platform dependency should be handled by local installers, not port makers. What do you think? 3. Because of the book, I doubt utility of putting the source in the package. After all, the source is extracted from literate programs (the book) and has neither comment nor documentation (other than the book). Still (instructional) examples can be useful. They can be placed in /usr/local/share/doc/cii/examples. Or would you rather have binaries instead in /usr/local/lib/cii/1/examples? Or both? Or some *other* location (say /usr/local/bin/cii)? I'd like to follow hier(7) as closely as possible... To summarize: /usr/local: lib/libcii.a@ -> lib/cii/1/libcii.a include/cii/include@ -> lib/cii/1/include share/doc/cii/ lib/cii/1/examples/ [*] bin/cii/ [*] share/doc/cii/examples/*.c [*] share/doc/cii/src/*.c [*] [*] are not yet installed If anybody's interested in testing the port, let me know privately. If I don't need to make some drastic changes, I'll submit the port in a week or so. Thanks for reading, J Han hjh@best.com PS: If you reply to me privately, you don't need to quote what I already wrote here -- it's long enough already. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message