From f21b3de88bd174f43900946b683a248baca79a9f Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Wed, 25 Jul 2001 03:14:39 +0000 Subject: [PATCH] Added a comment about compiling for use with C++, including the use of the -fexceptions flag with GCC. This closes SF bug #419585. --- expat/README | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/expat/README b/expat/README index a9834fe8..9bcfe49a 100644 --- a/expat/README +++ b/expat/README @@ -38,6 +38,13 @@ things and "make install" will install things into their proper location. Note that you need to have write permission into the directories into which things will be installed. +When building for use with C++, you may need to add additional +compiler flags to support proper interaction with exceptions. This +can be done by setting the CFLAGS environment variable. For example, +when using GCC, you can use: + + CFLAGS=-fexceptions ./configure + Note for Solaris users: The "ar" command is usually located in "/usr/ccs/bin", which is not in the default PATH. You will need to add this to your path for the "make" command. If you're using ksh or -- 2.40.0