[SDL] GUI compile problems (fwd)
nbs at sonic.net
Thu Apr 8 16:04:25 PDT 1999
> > > > GUI_C.o(.text+0x28): undefined reference to `__eh_pc'
> > > > GUI_C.o(.text+0x31): undefined reference to `__throw'
> > >
> > > Do you need to link with libstdc++ ? -lgcc? Something? :)
> > Bada-bing, bada-boom! It worked! :) (And I learned something. Let's see
> > if I can ever remember it ;) )
> Which worked? -lstdc++ or -lgcc?
Oops, frankly I dunno... I used both, both times. :) Let me see...
-lgcc did nothing (same errors). Not surprisingly, "-lstdc++" helped
(it compiled). This is for both "hello" and "hello_C".
More information about the SDL