This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
can't run C compiled programs
- From: Mohamed Boukaa <mohamed dot boukaa at int-evry dot fr>
- To: gcc at gnu dot org
- Date: Tue, 16 May 2006 13:11:54 +0200
- Subject: can't run C compiled programs
hello,
I got a serious problem with my linux system( specifications bellow)
, In fact I can't launch C programs compiled with gcc. this is what I
got when trying to do so :
~/wormux-0.7.1 $ /bin/bash ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
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
---> my system is : Gentoo linux 2.6.15-r1, most the packages are stable
sudo gcc-config -l
[1] i686-pc-linux-gnu-3.4.4 *
[2] i686-pc-linux-gnu-3.4.4-hardened
[3] i686-pc-linux-gnu-3.4.4-hardenednopie
[4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.4-hardenednossp
--> the glibc version is: 2.4.6-r3
Thank you