From owner-freebsd-questions@FreeBSD.ORG Tue Dec 12 23:02:18 2006 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1E0616A403 for ; Tue, 12 Dec 2006 23:02:18 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85FAC44BBD for ; Tue, 12 Dec 2006 22:24:59 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GuG4g-000Naj-46; Wed, 13 Dec 2006 01:26:10 +0300 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GuG5g-0000sp-F6; Wed, 13 Dec 2006 01:27:12 +0300 To: "Brian Levie" References: <000001c71e35$d826cd30$37244d51@brianlevie> From: Boris Samorodov Date: Wed, 13 Dec 2006 01:27:12 +0300 In-Reply-To: <000001c71e35$d826cd30$37244d51@brianlevie> (Brian Levie's message of "Tue, 12 Dec 2006 21:38:19 -0000") Message-ID: <36328543@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@FreeBSD.org Subject: Re: Failure to compile 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: Tue, 12 Dec 2006 23:02:19 -0000 Hello Brian and welcome! On Tue, 12 Dec 2006 21:38:19 -0000 Brian Levie wrote: > I recently installed FreeBSD 6.1, How did you do it? > and copied many Unix files with no What do you call "Unix files" and where did you get them? > problems at all. However when I try to run the C compiler which worked fine > with Unix, I get the error message '/usr/bin/cc Exec format error Binary > file not executable'. I tried changing permissions and owner with no change. Please, show us the output of commands "uname -a", "file /usr/bin/cc" and "ls -l /usr/bin/cc". > Any suggestions or won't the unix C compiler not work with FreeBSD? Well, FreeBSD is used to be compiled by this compiler. Those troubles of yours shouldn't happen. ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve