Failure to compile

Warren Block wblock at wonkity.com
Wed Dec 13 07:54:38 PST 2006


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


More information about the freebsd-questions mailing list