Dear all,

I encountered this issue :)
http://www.openoffice.org/issues/show_bug.cgi?id=37728

I think this is closely related to
solenv/inc/unxmacxp.mk.
this shold be completely rewritten to catch-up recent version
of solenv/inc/unxlngi6.mk.

and I suspect we should use g++ as linker, instead of gcc.
at least Linux(unxlngi6.mk) and FreeBSD(unxfbsdi.mk) uses g++.

Dan, Pavel, any comment for this?

--unxmacxp.mk
# ---------------------------------
#  Link stage flags
# ---------------------------------
# always link with gcc since you may be linking c code and don't want -lstdc++ 
linked in!
LINK=gcc
LINKFLAGS=-Wl,-multiply_defined,suppress

--unxlng6i.mk
# name of linker
LINK*=$(CXX)

# default linker flags
LINKFLAGSDEFS*=-Wl,-z,defs
LINKFLAGSRUNPATH*=-Wl,-rpath,\''$$ORIGIN'\'
LINKFLAGS=-z combreloc $(LINKFLAGSDEFS) $(LINKFLAGSRUNPATH)

All the best,
-- NAKATA, Maho


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to