LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gcc-4.x g++-4.x - Do I need all these ? (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-4-x-g-4-x-do-i-need-all-these-629324/)

jchambers 03-19-2008 07:52 PM

gcc-4.x g++-4.x - Do I need all these ?
 
Hello --

Do I need all these versions of gcc and g++?

Debian (lenny) x86_64

Code:


ii  gcc                              4.2.2-2                              The GNU C compiler
ii  gcc-4.1                          4.1.2-19                            The GNU C compiler
ii  gcc-4.1-base                      4.1.2-19                            The GNU Compiler Collection (base package)
ri  gcc-4.2                          4.2.3-2                              The GNU C compiler
ri  gcc-4.2-base                      4.2.3-2                              The GNU Compiler Collection (base package)
ii  gcc-4.3                          4.3.0~rc2-1                          The GNU C compiler
ri  gcc-4.3-base                      4.3.0~rc2-1                          The GNU Compiler Collection (base package)
ri  libgcc1                          4.3.0~rc2-1                          GCC support library

Code:

ii  g++-4.1                          4.1.2-19                            The GNU C++ compiler
ii  g++-4.2                          4.2.3-2                              The GNU C++ compiler
ii  g++-4.3                          4.3.0~rc2-1                          The GNU C++ compiler

Code:

ri  libstdc++6                        4.3.0~rc2-1                          The GNU Standard C++ Library v3
ii  libstdc++6-4.1-dev                4.1.2-19                            The GNU Standard C++ Library v3 (development
ii  libstdc++6-4.2-dev                4.2.3-2                              The GNU Standard C++ Library v3 (development
ii  libstdc++6-4.3-dev                4.3.0~rc2-1                          The GNU Standard C++ Library v3 (development

Code:

ii  libc6                            2.7-6                                GNU C Library: Shared libraries
ii  libc6-dev                        2.7-6                                GNU C Library: Development Libraries and Hea
ii  libc6-i386                        2.7-6                                GNU C Library: 32bit shared libraries for AM

I am pretty sure I messed this up since I cannot install x264 from source anymore.


Code:

x264# make
.depend:4: *** missing separator.  Stop.


matthewg42 03-20-2008 01:11 PM

The make error message you posted refers to a badly formed Makefile. I don't think it's anything to do with the multiple gcc versions, at least not directly.

Perhaps the Makefile got messed up somehow? Start the build process right from the beginning (i.e. untaring/unzipping the source archive file you downloaded / received).

jchambers 03-20-2008 02:17 PM

Thank you.
You were correct, I had to use an earlier version and then it worked.

jc


All times are GMT -5. The time now is 07:28 PM.