Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 11:34:18 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Brian Levie <brian@levie.freeserve.co.uk>
Cc:        questions@FreeBSD.org
Subject:   Re: Failure to compile
Message-ID:  <20061212223418.GA49574@osiris.chen.org.nz>
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, 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@chen.org.nz>
----------------------------------------------------------------------
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061212223418.GA49574>