看板 FB_stable 關於我們 聯絡資訊
--Apple-Mail=_142932C3-EFD2-410D-AFA3-31647C08A83D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 16 Jun 2014, at 23:56, Dimitry Andric <dim@FreeBSD.org> wrote: > On 16 Jun 2014, at 23:07, Thomas Krause = <freebsd-stable@chef-ingenieur.de> wrote: >>=20 >> I'm using Adaptec controllers for my servers. >> The arcconf utility is not working under FreeBSD10 (because of = clang): >> Shared object "libstdc++.so.7" not found, required by "arcconf" .... >> Is there an easy way to get it working? >> I don't want to install gcc (about 470MB disk space) only for this = tool. >=20 > make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj all install > make -C /usr/src/gnu/lib/libsupc++ -D WITH_GNUCXX obj all install Hmm, sorry, that won't actually work, since libstdc++ will not be able to find its own includes. Instead, first do: make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX obj depend includes This will install the headers to /usr/include/c++/4.2; then do: make -C /usr/src/gnu/lib/libstdc++ -D WITH_GNUCXX all install make -C /usr/src/gnu/lib/libsupc++ -D WITH_GNUCXX obj depend all install -Dimitry --Apple-Mail=_142932C3-EFD2-410D-AFA3-31647C08A83D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlOfalMACgkQsF6jCi4glqOZIwCglnLAUfYVxo+qubWHZuuaugdk n/QAnR9qrZ+x7GF9Gt8364j6ntjx9ETx =M9ww -----END PGP SIGNATURE----- --Apple-Mail=_142932C3-EFD2-410D-AFA3-31647C08A83D--