[haiku-3rdparty-dev] Re: x86 -- can't link to new & delete

  • From: Pete Goodeve <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Tue, 14 Jul 2020 23:01:31 -0700

On Tue, Jul 14, 2020 at 11:14:21PM -0400, waddlesplash wrote:

On Tue, Jul 14, 2020 at 10:33 PM Pete Goodeve <pete.goodeve@xxxxxxxxxxxx> 
wrote:
I think I've installed all the relevant devel packages into beta 2
 (a bit disconcerting that these are no longer in the basic set!)
but I guess something must be missing.  Can't figure out what.
Suggestions?

If you are using the Makefile-Engine, you need $(STDCPPLIBS); or
-lstdc++ / -lsupc++ otherwise.

Thanks -- that worked.  Is any of this documented anywhere (like the need
for stdc++, which as far as I know I never had to include with gcc2)?
Couldn't the should-be-documented variable (:-)) STDCPPLIBS be in LIBS by
default? Would it hurt, say C sources?

        -- Pete --

Other related posts: