This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another question: Configuration options


>>>>> "kabir" == kabir patel <kabir.patel@uk.andersen.com> writes:

    kabir> When I just type in ./configure without specifying any
    kabir> additional options it come back with an error message like
    kabir> the following:

    kabir> *** The command ' -o conftest conftest.c' failed.  *** You
    kabir> must set the environment variable CC to a working compiler.

    kabir> Could somebody tell me how to resolve this?

    kabir> Thanks

    kabir> Kabir

You need a C compiler in order to compile gcc. Just set the enviroment
variable CC to a working compiler. Read the INSTALL file.

CC=kcc ./configure 

as an example in Bash.

Claudio


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]