[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#94955: Linking with libstdc++ changes behavior of a program (which does not require libstdc++)



On Sun, Apr 22, 2001 at 11:31:18PM -0700, Philippe Troin wrote:
> phil@resume:~% gcc -o foo foo.cpp -lstdc++

IMO, you should use:

% g++ foo foo.cpp


...instead. There are a lot more things going on when using g++ other
than adding -lstdc++. If this works for you, then I suggest closing the
bug.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: