From: pavenis AT lanet DOT lv To: djgpp-workers AT delorie DOT com Date: Fri, 8 Jun 2001 11:19:06 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: [PATCH] Uses -fno-exceptions for C++ in CVS version of DJGPP Message-ID: <3B20B4AA.30542.55E772@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com This patch adds -fno-exceptions for C++ compiler options (currently for emu387.cc only). C++ exceptions is not used there and as result we can get smaller size of object code (and emu387.dxe) Also with gcc-3.0 one should link with either libstd++ or libsupc++ when exceptions are being used Andris *** djgpp/src/makefile.inc~1 Sat Feb 10 07:00:44 2001 --- djgpp/src/makefile.inc Fri Jun 8 10:37:34 2001 *************** *** 70,77 **** @$(MISC) echo - $(CROSS_GCC) '...' -c $< @$(XGCC) -c $< %.o : %.cc ! @$(MISC) echo - $(CROSS_GCC) '...' -c $< ! @$(XGCC) -c $< %.o : %.S @$(MISC) echo - $(CROSS_GCC) '...' -c $< @$(XGCC) -c $< --- 70,77 ---- @$(MISC) echo - $(CROSS_GCC) '...' -c $< @$(XGCC) -c $< %.o : %.cc ! @$(MISC) echo - $(CROSS_GCC) '...' -c -fno-exceptions $< ! @$(XGCC) -c -fno-exceptions $< %.o : %.S @$(MISC) echo - $(CROSS_GCC) '...' -c $< @$(XGCC) -c $<