LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2006, 07:23 AM   #1
baosheng
Member
 
Registered: Oct 2004
Location: Lubbock, TX, USA
Distribution: Ubuntu 7.10
Posts: 74

Rep: Reputation: 15
how to tell which gcc will be used?


I am using Fedora Core 5 which contains a gcc of version 4.1.

I had install gcc-3.4.4 yesterday. But when I ran the `configure' script in extracted tar.gz ball, I haven't specified the --prefix argument. Then when I executed "make" and "make install", the gcc-3.4.4 was installed into /usr/local/. Of course, in subdirectories of /usr/local/, such as /usr/local/bin, /usr/local/lib, etc.

But I wanna uninstall it now.
I removed all files that created to /usr/local/ by "make install", including /usr/local/bin/gcc

Then I typed gcc, the shell said, "/usr/local/bin/gcc no such file". And when I typed ``gcc -v", it said the version is 3.4.4 which doesn't exist now- it has been removed by me.
Then I typed ``which gcc", shell said /usr/bin/gcc.

In my mind, due to my PATH environment variable setting, if a file named gcc can't be found in /usr/local/bin, the system should search in /usr/bin .
But obviously, it doesn't work like this. Only the ``which gcc" command works in that order. It should be some other configuration file is working. I have checked the /etc/profile and ~/.bachrc, there is no setting will effect this.

Which file does linux use to record the gcc location?


my PATH env. variable:
declare -x PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/share/texmf/bin:/root/bin:/usr/local/share/texmf/bin:/usr/local/share/texmf/bin:/usr/local/share/texmf/bin:/usr/local/share/texmf/bin"

Last edited by baosheng; 05-07-2006 at 07:27 AM.
 
Old 05-07-2006, 07:32 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Try entering the command
Code:
PATH=/usr/bin:$PATH
and see if that helps. Basically, it will look in /usr/bin first. If this works, add the above line to .bashrc, and add "export $PATH" at the end of .bashrc.

If the above doesn't help, try "whereis gcc" or "locate gcc" to find out where gcc is installed, and make sure that it is in your $PATH.


I hope this helps
--Ian
 
Old 05-07-2006, 07:43 AM   #3
baosheng
Member
 
Registered: Oct 2004
Location: Lubbock, TX, USA
Distribution: Ubuntu 7.10
Posts: 74

Original Poster
Rep: Reputation: 15
it should be no further configuration file? I just need to check the environment varibales?
I am afraid that /usr/local/bin/gcc related with other include or lib diretories.



now the result is:
[root@silver ~]# whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
[root@silver ~]# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)

and

[root@silver install]# locate gcc
/forrest/LinuxSofts/Devlepment/gcc-3.4.4.tar.bz2
/forrest/LinuxSofts/eda/modelsim/le/modelsim-gcc-3.2.3-rhe21.tar.gz
/forrest/LinuxSofts/eda/modelsim/se/modelsim-gcc-3.2.3-rhe21.tar.gz
/lib/libgcc_s-4.1.0-20060304.so.1
/lib/libgcc_s.so.1
/root/install/gcc-3.4.4
/root/install/gcc-3.4.4.tar.bz2
/root/install/MPlayer-1.0pre7try2/DOCS/HTML/cs/gcc-296.html
/root/install/MPlayer-1.0pre7try2/DOCS/HTML/en/gcc-296.html
/root/install/MPlayer-1.0pre7try2/DOCS/HTML/es/gcc-296.html
/root/install/MPlayer-1.0pre7try2/DOCS/HTML/fr/gcc-296.html
/root/install/MPlayer-1.0pre7try2/DOCS/HTML/hu/gcc-296.html
/root/install/MPlayer-1.0pre7try2/DOCS/HTML/pl/gcc-296.html
/root/install/MPlayer-1.0pre7try2/DOCS/HTML/ru/gcc-296.html
/root/install/MPlayer-1.0pre7try2/libavcodec/ppc/gcc_fixes.h
/usr/bin/gcc
/usr/bin/gcc-4
/usr/bin/i386-redhat-linux-gcc
/usr/include/boost/config/compiler/gcc.hpp
/usr/include/boost/config/compiler/gcc.hpp.orig
/usr/include/boost/detail/atomic_count_gcc.hpp
/usr/include/boost/detail/sp_counted_base_gcc_ia64.hpp
/usr/include/boost/detail/sp_counted_base_gcc_ppc.hpp
/usr/include/boost/detail/sp_counted_base_gcc_x86.hpp
/usr/include/boost/format/detail/workarounds_gcc-2_95.hpp
/usr/include/boost/iostreams/detail/config/gcc.hpp
/usr/include/boost/mpl/aux_/config/gcc.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc
/usr/include/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/and.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/bind.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/bitand.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/bitor.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/deque.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/divides.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/greater.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/inherit.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/less.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/list.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/list_c.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/map.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/minus.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/modulus.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/plus.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/quote.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/set.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/set_c.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/times.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/vector.hpp
/usr/include/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp
/usr/include/boost/numeric/interval/detail/x86gcc_rounding_control.hpp
/usr/lib/gcc
/usr/lib/gcc-lib
/usr/lib/gcc/i386-redhat-linux
/usr/lib/gcc/i386-redhat-linux/4.1.0
/usr/lib/gcc/i386-redhat-linux/4.1.0/crtbegin.o
/usr/lib/gcc/i386-redhat-linux/4.1.0/crtbeginS.o
/usr/lib/gcc/i386-redhat-linux/4.1.0/crtbeginT.o
/usr/lib/gcc/i386-redhat-linux/4.1.0/crtend.o
/usr/lib/gcc/i386-redhat-linux/4.1.0/crtendS.o
/usr/lib/gcc/i386-redhat-linux/4.1.0/crtfastmath.o
/usr/lib/gcc/i386-redhat-linux/4.1.0/finclude
/usr/lib/gcc/i386-redhat-linux/4.1.0/include
/usr/lib/gcc/i386-redhat-linux/4.1.0/lib-gnu-java-awt-peer-gtk.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgcc.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgcc_eh.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgcc_s.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgcj.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgcj.spec
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgcjawt.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgcov.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgfortran.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgfortran.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgfortranbegin.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgij.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgomp.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgomp.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libgomp.spec
/usr/lib/gcc/i386-redhat-linux/4.1.0/libstdc++.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/libstdc++.so
/usr/lib/gcc/i386-redhat-linux/4.1.0/libsupc++.a
/usr/lib/gcc/i386-redhat-linux/4.1.0/finclude/omp_lib.f90
/usr/lib/gcc/i386-redhat-linux/4.1.0/finclude/omp_lib.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/finclude/omp_lib.mod
/usr/lib/gcc/i386-redhat-linux/4.1.0/finclude/omp_lib_kinds.mod
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/README
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/emmintrin.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/float.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/gcj
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/iso646.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/jawt.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/jawt_md.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/jni.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/jni_md.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/jvmpi.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/limits.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/mm3dnow.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/mm_malloc.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/mmintrin.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/omp.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/pmmintrin.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/stdarg.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/stdbool.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/stddef.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/syslimits.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/tmmintrin.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/unwind.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/varargs.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/xmmintrin.h
/usr/lib/gcc/i386-redhat-linux/4.1.0/include/gcj/libgcj-config.h
/usr/lib/kde3/libkdevgccoptions.la
/usr/lib/kde3/libkdevgccoptions.so
/usr/lib/openoffice.org2.0/program/libcomphelp4gcc3.so
/usr/lib/openoffice.org2.0/program/libcppuhelper3gcc3.so
/usr/lib/openoffice.org2.0/program/libcppuhelpergcc3.so
/usr/lib/openoffice.org2.0/program/libcppuhelpergcc3.so.3
/usr/lib/openoffice.org2.0/program/libgcc3_uno.so
/usr/lib/openoffice.org2.0/program/libi18nregexpgcc3.so
/usr/lib/openoffice.org2.0/program/libi18nutilgcc3.so
/usr/lib/openoffice.org2.0/program/libjvmaccessgcc3.so
/usr/lib/openoffice.org2.0/program/libjvmaccessgcc3.so.3
/usr/lib/openoffice.org2.0/program/libsalhelper3gcc3.so
/usr/lib/openoffice.org2.0/program/libsalhelpergcc3.so
/usr/lib/openoffice.org2.0/program/libsalhelpergcc3.so.3
/usr/lib/openoffice.org2.0/program/libstlport_gcc.so
/usr/lib/openoffice.org2.0/program/libucbhelper3gcc3.so
/usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so
/usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3
/usr/lib/openoffice.org2.0/program/libuno_salhelpergcc3.so
/usr/lib/openoffice.org2.0/program/libuno_salhelpergcc3.so.3
/usr/lib/openoffice.org2.0/program/libvos3gcc3.so
/usr/lib/qt-3.3/mkspecs/linux-pgcc
/usr/lib/qt-3.3/mkspecs/linux-pgcc/qmake.conf
/usr/lib/qt-3.3/mkspecs/linux-pgcc/qplatformdefs.h
/usr/libexec/gcc
/usr/libexec/gcc/i386-redhat-linux
/usr/libexec/gcc/i386-redhat-linux/4.1.0
/usr/libexec/gcc/i386-redhat-linux/4.1.0/cc1
/usr/libexec/gcc/i386-redhat-linux/4.1.0/cc1plus
/usr/libexec/gcc/i386-redhat-linux/4.1.0/collect2
/usr/libexec/gcc/i386-redhat-linux/4.1.0/f951
/usr/libexec/gcc/i386-redhat-linux/4.1.0/jc1
/usr/libexec/gcc/i386-redhat-linux/4.1.0/jvgenmain
/usr/local/bin/gcc
/usr/local/bin/gccbug
/usr/local/bin/i686-pc-linux-gnu-gcc
/usr/local/bin/i686-pc-linux-gnu-gcc-3.4.4
/usr/local/info/gcc.info
/usr/local/info/gccinstall.info
/usr/local/info/gccint.info
/usr/local/lib/gcc
/usr/local/lib/libgcc_s.so
/usr/local/lib/libgcc_s.so.1
/usr/local/libexec/gcc
/usr/local/man/man1/gcc.1
/usr/local/matlab7/bin/gccopts.sh
/usr/local/matlab7/bin/scripts/gccopts.sh
/usr/local/matlab7/sys/java/jre/glnx86/jre1.4.2/plugin/i386/ns610-gcc32
/usr/local/matlab7/sys/java/jre/glnx86/jre1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
/usr/local/matlab7/sys/os/glnx86/libgcc_s.so.1
/usr/local/ns-allinone-2.29/zlib-1.2.3/win32/Makefile.gcc
/usr/local/share/locale/gcc-3.4.3.rw
/usr/local/share/locale/be/LC_MESSAGES/gcc.mo
/usr/local/share/locale/ca/LC_MESSAGES/gcc.mo
/usr/local/share/locale/da/LC_MESSAGES/gcc.mo
/usr/local/share/locale/de/LC_MESSAGES/gcc.mo
/usr/local/share/locale/el/LC_MESSAGES/gcc.mo
/usr/local/share/locale/es/LC_MESSAGES/gcc.mo
/usr/local/share/locale/fr/LC_MESSAGES/gcc.mo
/usr/local/share/locale/gcc-3.4.3.rw/LC_MESSAGES
/usr/local/share/locale/gcc-3.4.3.rw/LC_MESSAGES/gcc.mo
/usr/local/share/locale/ja/LC_MESSAGES/gcc.mo
/usr/local/share/locale/nl/LC_MESSAGES/gcc.mo
/usr/local/share/locale/sv/LC_MESSAGES/gcc.mo
/usr/local/share/locale/tr/LC_MESSAGES/gcc.mo
/usr/local/share/texmf/dvipdfm/CMap/HKgccs-B5-H.cmap
/usr/local/share/texmf/dvipdfm/CMap/HKgccs-B5-V.cmap
/usr/sbin/libgcc_post_upgrade
/usr/share/doc/gcc-4.1.0
/usr/share/doc/gcc-c++-4.1.0
/usr/share/doc/gcc-gfortran-4.1.0
/usr/share/doc/gcc-java-4.1.0
/usr/share/doc/libgcc-4.1.0
/usr/share/doc/gcc-4.1.0/COPYING
/usr/share/doc/gcc-4.1.0/COPYING.LIB
/usr/share/doc/gcc-4.1.0/ChangeLog-1997.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-1998.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-1999.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-2000.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-2001.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-2002.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-2003.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-2004.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog-2005.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog.gomp.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog.lib.bz2
/usr/share/doc/gcc-4.1.0/ChangeLog.tree-ssa.bz2
/usr/share/doc/gcc-4.1.0/README.Portability
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-1993.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-1994.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-1995.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-1996.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-1997.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-1998.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-1999.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-2000.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-2001.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-2002.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-2003.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog-2004.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog.gomp.bz2
/usr/share/doc/gcc-c++-4.1.0/ChangeLog.tree-ssa.bz2
/usr/share/doc/gcc-gfortran-4.1.0/ChangeLog.libgfortran.bz2
/usr/share/doc/gcc-java-4.1.0/ChangeLog.bz2
/usr/share/doc/gcc-java-4.1.0/ChangeLog.tree-ssa.bz2
/usr/share/doc/libgcc-4.1.0/COPYING.LIB
/usr/share/ghostscript/8.15/Resource/CMap/HKgccs-B5-H
/usr/share/ghostscript/8.15/Resource/CMap/HKgccs-B5-V
/usr/share/ghostscript/8.15/Resource/ac14/CMap/HKgccs-B5-H
/usr/share/ghostscript/8.15/Resource/ac14/CMap/HKgccs-B5-V
/usr/share/info/gcc.info.gz
/usr/share/info/gccinstall.info.gz
/usr/share/info/gccint.info.gz
/usr/share/locale/C/LC_MESSAGES/msgcc
/usr/share/locale/be/LC_MESSAGES/gcc.mo
/usr/share/locale/ca/LC_MESSAGES/gcc.mo
/usr/share/locale/da/LC_MESSAGES/gcc.mo
/usr/share/locale/de/LC_MESSAGES/gcc.mo
/usr/share/locale/de/LC_MESSAGES/msgcc
/usr/share/locale/el/LC_MESSAGES/gcc.mo
/usr/share/locale/es/LC_MESSAGES/gcc.mo
/usr/share/locale/es/LC_MESSAGES/msgcc
/usr/share/locale/fr/LC_MESSAGES/gcc.mo
/usr/share/locale/fr/LC_MESSAGES/msgcc
/usr/share/locale/it/LC_MESSAGES/msgcc
/usr/share/locale/ja/LC_MESSAGES/gcc.mo
/usr/share/locale/nl/LC_MESSAGES/gcc.mo
/usr/share/locale/pt/LC_MESSAGES/msgcc
/usr/share/locale/rw/LC_MESSAGES/gcc.mo
/usr/share/locale/sv/LC_MESSAGES/gcc.mo
/usr/share/locale/tr/LC_MESSAGES/gcc.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gcc.mo
/usr/share/man/man1/gcc.1.gz
/usr/share/services/kdevgccoptions.desktop
/usr/share/zsh/4.2.5/functions/_gcc
/usr/src/kernels/2.6.15-1.2054_FC5-i586/include/acpi/platform/acgcc.h
/usr/src/kernels/2.6.15-1.2054_FC5-i586/include/linux/compiler-gcc.h
/usr/src/kernels/2.6.15-1.2054_FC5-i586/include/linux/compiler-gcc3.h
/usr/src/kernels/2.6.15-1.2054_FC5-i586/include/linux/compiler-gcc4.h
/usr/src/kernels/2.6.15-1.2054_FC5-i586/scripts/gcc-version.sh

Last edited by baosheng; 05-07-2006 at 07:45 AM.
 
Old 05-07-2006, 10:15 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I modified your title slightly since rather then deleting your post as you had originally requested.

John
 
Old 05-07-2006, 10:26 AM   #5
svarmido
Member
 
Registered: Apr 2006
Posts: 78

Rep: Reputation: 15
Which gcc version?

I am not sure what you are asking. Are you asking, how do you know which version of gcc a program you plan to compile needs? Or, are you simply trying to find out which version a particular program was compiled with? Do you just want to know what versions exist on your computer?

svarmido
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration