Operating System - Linux
1832207 Members
2789 Online
110040 Solutions
New Discussion

Re: Configure doesn't recognize cc1 compiler

 
joseph wholey
Regular Advisor

Configure doesn't recognize cc1 compiler

I'm runnng RHEL AS4 on Zlinux. I'm attempting to install GD graphics from source. When I run configure, it does not find a valid c compiler (it does not look for a cc1 compiler). My c compiler is cc1. What can I do about this? I really don't want to change the compiler as it is part of our standard build. Would it be advisable to modify the configure script to look for the cc1 compiler? Thx.
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: Configure doesn't recognize cc1 compiler

Try with something like this:

export GCC=`which cc1`
export GCC="cc1"
export GCC="/path/to/cc1"
export GCC=`which gcc`
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
joseph wholey
Regular Advisor

Re: Configure doesn't recognize cc1 compiler

Problem solved... found required binaries in RPM format. thx.