Results 1 to 3 of 3

Thread: gcc-3.0 test?

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    10

    gcc-3.0 test?

    What test is being done to determine if the system is runnine 3.0? I've upgraded gcc, g++, cpp, libstdc, etc but I get this:

    .
    .
    .
    checking whether -lc should be explicitly linked in... no
    creating libtool
    checking for supported compiler version... no
    configure: error: You need at least GCC 3.0 or greater to compile ShowEQ

    {1}:wally:/home/nomad/EQ/CVS/showeq>dpkg -l | grep gcc
    gcc -ii gcc-3.0 3.0.3-0pre0112 The GNU C compiler.
    ii gcc-3.0-base 3.0.3-0pre0112 The GNU Compiler Collection (base package).
    ii libgcc1 3.0.3-0pre0112 GCC support library.
    {0}:wally:/home/nomad/EQ/CVS/showeq>gcc -v
    Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.3/specs
    Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
    Thread model: posix
    gcc version 3.0.3 20011215 (Debian prerelease)

    I can't remove cpp-2.95 (3.0 is installed and pointed at) same with libstdc also...

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    183
    I still don't have this working, my linux machine is too old, too slow, and has too small of a drive... but it will be working soon.

    But my guess for your problem is that it is related to the version of cpp, maybe. The test configure is using is the contents of the predefined variables/macros/constants/whatever you want to call them:

    __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__

    I don't know where gcc picks up the values for those, but it could very well be from cpp, so if it isn't using the correct cpp you could have a problem.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    10

    continuing

    Thought of that, only have cpp-3.0 installed though.

    "Mr Guy" in the help desk got it. gcc 3.0 is just fine. The problem was a missing lnk for g++-3.0 to g++ so the test isn't against gcc, but against g++
    Last edited by Nomad_; 12-20-2001 at 03:03 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On