This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: "cannot run C compiled programs" error
On 20 April 2011 10:12, Anna Ceguerra wrote:
>
> One last question... All I see in my install directory is
> cpp
> gcc
> gcov
> i386-apple-darwin10.7.0-gcc
> i386-apple-darwin10.7.0-gcc-4.6.1
>
> How do I enable g++, fortran etc?
You configured with --enable-languages=c
That means you only want the C compiler.
Try --enable-languages=c,c++,fortran or whatever combination of
languages you want.