From owner-freebsd-questions@FreeBSD.ORG Tue Aug 12 05:41:03 2003 Return-Path: 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 5D24237B401 for ; Tue, 12 Aug 2003 05:41:03 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8338B43FA3 for ; Tue, 12 Aug 2003 05:41:02 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id E082338CBC; Tue, 12 Aug 2003 14:40:30 +0200 (CEST) Date: Tue, 12 Aug 2003 14:40:30 +0200 From: Simon Barner To: Bimal Patel Message-ID: <20030812124030.GB813@zi025.glhnet.mhn.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: questions@freebsd.org Subject: Re: Regarding Running Program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 12:41:03 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I have a problem in running a program compiled by CC compiler on Red= =20 > Hat Linux 8.0 plateform. It is giving binary errors. Basically the progra= m=20 > sends mail to specified E-Mail address on the specified server. I don't= =20 > know what is the problem, because it runs nicely on the Red Hat Linux 8.0= =20 > plateform. You have two options: Either recompile the program on FreeBSD (which ships with gcc 2.95.4 as the system compiler, but there are other C/C++ compilers available in the ports collection[1]. The other option is to enable the linux compatiblity mode[2] and "brand" the Redhat binary: brandelf -t Linux Regards, Simon =20 [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html [2] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/OOA+Ckn+/eutqCoRAkf3AJ9PHvrfAShLWlbg1Vy71JdUfW+JcgCeJA8c +IStkQLjpEbidjNc/zxJLJ4= =lHd+ -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--