[OpenBIOS] problems compiling pforth

Stefan Reinauer stepan at suse.de
Mon Feb 17 13:45:03 CET 2003


* Dwight Schauer <das at teegra.net> [030217 11:06]:
> > 20:49 < Dwight> objects/pf_cglue.o(.eh_frame+0x11): undefined reference to
> >                 `__gxx_personality_v0'

[..] 

> > --- makefile.orig 1998-04-06 19:43:01.000000000 -0500
> > +++ makefile 2003-02-16 20:52:18.000000000 -0600
> > @@ -27,7 +27,7 @@
> >          -Wmissing-declarations
> >
> >  CCOPTS = -DPF_SUPPORT_FP $(FULL_WARNINGS)
> > -COMPILER = gcc
> > +COMPILER = g++
  
It might be worth to just not use C++ at all:

--- makefile.orig       1998-04-07 02:43:01.000000000 +0200
+++ makefile    2003-02-17 13:27:53.000000000 +0100
@@ -18,7 +18,6 @@
         -fno-unroll-loops \
         -fpeephole \
         -fno-keep-inline-functions \
-        -x c++ \
         -Wcast-qual \
         -Wall \
         -Wwrite-strings \

With above patch, pforth is 30k instead of 34k, doing the same thing.
Is there any reason this was originally there?

Stefan



-- 
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offense.                      -- E. W. Dijkstra
_______________________________________________
OpenBIOS mailing list
OpenBIOS at freiburg.linux.de
http://freiburg.linux.de/cgi-bin/mailman/listinfo/openbios



More information about the openbios mailing list