LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with gcc (https://www.linuxquestions.org/questions/linux-software-2/problems-with-gcc-110689/)

spooodini 10-31-2003 12:17 AM

Problems with gcc
 
I am trying to install a gd library on a Mandrake 9.1 system, but am stuck on configuring it because I am given an error as I configure, gcc argument -V is missing. What is the problem with gcc which would cause this while I am configuring the gd library? Is it the cpp files?

yapp 10-31-2003 06:04 AM

gcc is the GNU C-Compiler. it is required to compile program source code written in C.

You need to install it before you can compile software from source code. (I guess you have to look for development packages)

spooodini 10-31-2003 10:21 AM

Yes I know. I have gcc installed. I am wondering why it is giving me that specific error because I do have gcc installed, I used rpm's.

jim mcnamara 10-31-2003 11:15 AM

-V option for gcc is valid.
--- it causes each invoked subprocess to print its
version information to stdout, ie., version the linker, etc.
It is part of verbose output -v gives everything

What is the EXACT command you used to compile and the whole error message? What you posted must be missing something.

musrum 10-31-2003 11:21 AM

Well, not exactly. I believe that the -V option allows you to override the version to be used, if multiple versions are installed. Look at man gcc. The 'missing argument' complaint would seem to back that up; -V requires a version argument after it.

It sounds like this happened during ./configure. That would be a bit odd, unless it was -v, which prints the version. But that shouldn't complain about a missing argument.

Diagnosing this will probably require investigating config.log.

jim mcnamara 10-31-2003 12:40 PM

musrum - you're right - wrong compiler on my part....


All times are GMT -5. The time now is 09:50 AM.