Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <20020130182545.9228.qmail@web20005.mail.yahoo.com> Date: Wed, 30 Jan 2002 10:25:45 -0800 (PST) From: Joshua Franklin Subject: setup.exe lnk generation To: cygwin-apps AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii FWIW, I've been working on a cygwin link generator that allows more options than ln (such as links to URLs, arguments, changing the icon, etc.). This would allow the removal of all the link generation stuff in desktop.cc from setup.exe. Right now the program looks like: Usage mklink.exe [OPTION]... TARGET NOTE: All filename arguments must be in unix (POSIX) format -a|--arguments=ARGS use arguments ARGS -h|--help output usage information and exit -i|--icon icon file for link to use -j|--iconoffset offset of icon in icon file (default is 0) -n|--name name for link (defaults to TARGET) -v|--version output version information and exit -A|--allusers use 'All Users' instead of current user for -D,-P -D|--desktop create link relative to 'Desktop' directory -P|--smprograms create link relative to Start Menu 'Programs' directory Everything except the last three options works great. I'm fighting with getopt about these and can't seem to find any good documentation about what the :'s or the last line of the getopt_long struct mean. But I should be able to complete it soon. __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com