This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: can't run C compiled programs
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Mohamed Boukaa'" <mohamed dot boukaa at int-evry dot fr>, <gcc at gnu dot org>
- Date: Tue, 16 May 2006 14:43:30 +0100
- Subject: RE: can't run C compiled programs
On 16 May 2006 12:12, Mohamed Boukaa wrote:
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot run C
> compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
>
> --->Also when I compile a simple program by myself I got :
>
> ~ $ ./testaz
> bash: ./testaz: Permission denied
> However the portage is working fine , it can compile C and c++ programs
What happens if you "chmod a+x ./testaz"? You may have your UMASK set
wrong.
cheers,
DaveK
--
Can't think of a witty .sigline today....