This is the mail archive of the
mailing list for the Cygwin project.
What to include when creating a distribution using cygwin?
- To: email@example.com
- Subject: What to include when creating a distribution using cygwin?
- From: Ashley Ward <firstname.lastname@example.org>
- Date: Thu, 15 Jul 1999 22:24:14 +0100
I'm porting our research group's software to Windows. This is written in
ANSI C, and uses Tcl and Tk. After a bit of effort, things seem to be
working fairly well now (thanks for creating cygwin - it is making Windows
a less painful experience for me! :).
The software runs well under my cygwin/bash environment. However I would
like to be able to package the thing up so that people can install it
without setting up their own cygwin environment. I'm planning on using the
GkSetup install builder (see http://www.gkware.com/). I'm aware that this
will mean that our software will have to be GPL'd.
I'm attempting to discover which bits need including in the package along
with the executable that I have compiled. Doing objdump -p on the
executable reveals dependencies on CYGWINB19.DLL, KERNEL32.DLL,
CYGTCL80.DLL and CYGTK80.DLL.
To simulate this, I copied these four files into the same directory as the
executable, and ran it. Unfortunately this causes "invalid page fault in
module <unknown> at 0000:cc267bb8. Running it under gdb is slightly more
illuminating - I include the output with backtrace below. It all seems to
fall over in something called from cygwin_crt0 somewhere.
What am I missing?
Apologies for subscribing and jumping in straight away with a question, but
I have been reading many articles from the archives today with no
success. Also apologies for my lack of knowledge on Windows - I'm mainly a
UNIX type bod.
Output from gdb:
Starting program: /Ash/PhD/Tkeden/pctkeden/tkeden.exe
[failed reading symbols from DLL]
"/WINDOWS/SYSTEM/COMDLG32.DLL": error reading line numbers
Program received signal SIGSEGV, Segmentation fault.
0xcc267bb8 in ?? ()
#0 0xcc267bb8 in ?? ()
#1 0x10027907 in _size_of_stack_reserve__ ()
#2 0x1004eb92 in _size_of_stack_reserve__ ()
#3 0x100448f7 in _size_of_stack_reserve__ ()
#4 0x10044962 in _size_of_stack_reserve__ ()
#5 0x10017737 in _size_of_stack_reserve__ ()
#6 0x10017a49 in _size_of_stack_reserve__ ()
#7 0x100305a8 in _size_of_stack_reserve__ ()
#8 0x100068d6 in _size_of_stack_reserve__ ()
#9 0x10006b9c in _size_of_stack_reserve__ ()
#10 0x43498e in cygwin_crt0 ()
Thanks very much for any help.
Ashley Ward - Graduate Teaching Assistant - PhD year 1
email@example.com - http://www.dcs.warwick.ac.uk/~ashley/
Room 102, Department of Computer Science, University of Warwick, Coventry
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org