From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 12:55:10 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 669AF16A41F for ; Fri, 9 Sep 2005 12:55:10 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0A9E43D45 for ; Fri, 9 Sep 2005 12:55:09 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.3/8.13.3) with ESMTP id j89Ct7Sx022296; Fri, 9 Sep 2005 14:55:08 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A6A326325; Fri, 9 Sep 2005 14:55:07 +0200 (CEST) Date: Fri, 9 Sep 2005 14:55:07 +0200 From: Roland Smith To: vittorio Message-ID: <20050909125507.GA78781@slackbox.xs4all.nl> Mail-Followup-To: vittorio , freebsd-questions@freebsd.org References: <200509091353.49269.vdemart1@tin.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <200509091353.49269.vdemart1@tin.it> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: Re: C program to write to the com port - RESOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 12:55:10 -0000 --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--