Failure to compile
Jonathan Chen
jonc at chen.org.nz
Tue Dec 12 15:04:53 PST 2006
On Tue, Dec 12, 2006 at 09:38:19PM -0000, 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?
What Unix are you talking about? Generally speaking, executables from
a non-FreeBSD system will not work on FreeBSD.
--
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
More information about the freebsd-questions
mailing list