Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2005 14:55:07 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        vittorio <vdemart1@tin.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fwd: Re: C program to write to the com port - RESOLVED
Message-ID:  <20050909125507.GA78781@slackbox.xs4all.nl>
In-Reply-To: <200509091353.49269.vdemart1@tin.it>
References:  <200509091353.49269.vdemart1@tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help

--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 09, 2005 at 01:53:49PM +0200, vittorio wrote:
>=20
> As a C++ absolute beginner I'm trying to compile your testssc.c file with
>=20
> g++ testssc.c -o testssc
> (under freebsd 5.4, gcc version 3.4.2)

The C and C++ languages are different. Use cc or gcc instead of g++ to
compile C code.

Roland
--=20
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt

--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDIYYrEnfvsMMhpyURAv2rAJ44HAZwhTXCzlgh6iXUBwdeLEILoQCeOx7O
HRb4ugkLwOlouuMtKIcZHB4=
=jFas
-----END PGP SIGNATURE-----

--PEIAKu/WMn1b1Hv9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050909125507.GA78781>