From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: stack space 26 Jun 1997 00:17:38 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <01BC821A.58908C80.cygnus.gnu-win32@gater.krystalbank.msk.ru> Original-To: Cygnus GNU-WIN32 Discussion , "'Scott Christley'" Encoding: 34 TEXT Original-Sender: owner-gnu-win32 AT cygnus DOT com Scott Christley wrote: > > With Microsoft's linker, you can specify the amount of stack space to > reserve for the application. Can this be done with GNU's ld or is it > supposedly not relevant? > Pe.em in ld sources contains the following: static struct option longopts[] = { /* PE options */ {"base-file", required_argument, NULL, OPTION_BASE_FILE}, {"dll", no_argument, NULL, OPTION_DLL}, {"file-alignment", required_argument, NULL, OPTION_FILE_ALIGNMENT}, {"heap", required_argument, NULL, OPTION_HEAP}, {"image-base", required_argument, NULL, OPTION_IMAGE_BASE}, {"major-image-version", required_argument, NULL, OPTION_MAJOR_IMAGE_VERSION}, {"major-os-version", required_argument, NULL, OPTION_MAJOR_OS_VERSION}, {"major-subsystem-version", required_argument, NULL, OPTION_MAJOR_SUBSYSTEM_VERSION}, {"minor-image-version", required_argument, NULL, OPTION_MINOR_IMAGE_VERSION}, {"minor-os-version", required_argument, NULL, OPTION_MINOR_OS_VERSION}, {"minor-subsystem-version", required_argument, NULL, OPTION_MINOR_SUBSYSTEM_VERSION}, {"section-alignment", required_argument, NULL, OPTION_SECTION_ALIGNMENT}, > {"stack", required_argument, NULL, OPTION_STACK}, {"subsystem", required_argument, NULL, OPTION_SUBSYSTEM}, {NULL, no_argument, NULL, 0} }; -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".