Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 08:54:37 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Brian Levie <brian@levie.freeserve.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: Failure to compile
Message-ID:  <20061213085056.U12567@wonkity.com>
In-Reply-To: <000001c71e35$d826cd30$37244d51@brianlevie>
References:  <000001c71e35$d826cd30$37244d51@brianlevie>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 12 Dec 2006, Brian Levie wrote:

> I recently installed FreeBSD  6.1, and copied many Unix files with no
> 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.
> Any suggestions or won't the unix C compiler not work with FreeBSD?

FreeBSD has its own cc.  It sounds like you copied cc from some other 
system over it.  FreeBSD can run binaries from some other systems, but 
it's usually not as simple as just copying them over.

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20061213085056.U12567>