From e6363b267851004b7d3b16e48816d877d18eb06f Mon Sep 17 00:00:00 2001 From: levine Date: Fri, 6 Feb 1998 04:35:43 +0000 Subject: added warning about -fno-exceptions for egcs --- ACE-INSTALL.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'ACE-INSTALL.html') diff --git a/ACE-INSTALL.html b/ACE-INSTALL.html index 8e2273a84f6..73b20a00f3c 100644 --- a/ACE-INSTALL.html +++ b/ACE-INSTALL.html @@ -210,7 +210,7 @@ source. Then, rebuild and install as.

//+++ ecoff.c Thu Jan 15 09:21:08 1998 //@@ -769,7 +769,11 @@ // can't be represented (assuming there are strings > 4096 bytes). */ -// +// // #ifndef PAGE_SIZE //-#define PAGE_SIZE 4096 /* size of varray pages */ //+// Thu Jan 15 09:21:03 CST 1998 David L. Levine <levine@cs.wustl.edu> @@ -219,7 +219,7 @@ source. Then, rebuild and install as.

//+// should be OK. //+#define PAGE_SIZE 8192 /* size of varray pages */ // #endif -// +// // #define PAGE_USIZE ((unsigned long) PAGE_SIZE)

@@ -233,7 +233,7 @@ to avoid compilation errors:

//@@ -41,9 +41,13 @@ // #undef __FDMASK // #define __FDMASK(d) (1UL << ((d) % __NFDBITS)) -// +// //-typedef struct fd_set { //+#include <gnu/types.h> //+typedef __fd_set __kernel_fd_set; @@ -242,7 +242,7 @@ to avoid compilation errors:

// unsigned long fds_bits [__FDSET_LONGS]; // } __kernel_fd_set; //+#endif -// +// // /* Type of a signal handler. */ // typedef void (*__kernel_sighandler_t)(int);

@@ -424,6 +424,15 @@ If you use the GNU GCC g++ compiler please note the following:

  • ACE transparently supports egcs. Please use the appropriate g++ config and platform files for the OS on which you will use egcs. + WARNING: The default behavior of + the ACE Makefiles is to add -fno-exceptions to egcs + (and g++ starting with version 2.8.0) invocations. This disables + exception handling support. On Solaris/sparc and Linux/alpha, it + results in a 25 percent reduction in the size of libACE.so. To enable + exception handling, add exceptions=1 to your + make command line invocation, or to your + $ACE_ROOT/include/makeinclude/platform_macros.GNU. +
  • With g++ 2.8.0, an internal compiler error is raised when trying to compile ACE_Map_Manager instantiations. One workaround is to disable optimization. The easiest way to do that is: -- cgit v1.2.1