Results 1 to 3 of 3

Thread: how to compile with gcc 2.95

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    1

    how to compile with gcc 2.95

    hi all, i just installed knoppix 3.3
    i'm very new at this so please forgive me for asking stupid questions...

    one of my projects need to use the gcc 2.95 version, now when i look in the kpackage, it said that version 2.95 is already installed, but when i check it with gcc -v, it said it's version 3.3.3

    so is 2.95 really already installed?
    if so, how can i use it?

    i'm new at this so please show me some examples

    thank you

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Location
    Canada
    Posts
    1
    Your question has no doubt been answered I hope but perhaps not posted. I will post an answer because the question will help me towards finding my problem( why gcc version 3.3 compiles my simplle program but bash will not execute it stating that it can't find ELF 'executable library format' so I am stuck.)
    Here's what you do to find different versions of 'gcc'
    In the shell(bash by default) give the command:
    cd /
    #goto root directory
    find / -name *gcc*
    #find all files containing 'gcc'

    #in filename

    #or
    find / -name *gcc* | more
    #if the list is too long

    #in my version of knoppix Jan/Feb 04

    #there are some in /usr/bin
    cd /usr/bin
    #goto the /usr/bin directory
    ls *gcc*
    #will list the 'gcc' files
    *************************************************

    results in green(executables)
    gcc-2.95
    gcc-3.3
    colorgcc
    gccbug3.3

    results in cyan(???)
    various links to the above

    ************************************************** ****

  3. #3
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    20

    Re: how to compile with gcc 2.95

    Quote Originally Posted by mu664life
    so is 2.95 really already installed?
    if so, how can i use it?
    just type the command "gcc-2.95" instead of "gcc"
    if you are using a makefile you can easily define the compiler as gcc-2.95

Similar Threads

  1. How to compile
    By gamezealot in forum General Support
    Replies: 6
    Last Post: 01-20-2005, 08:54 PM
  2. Kernel compile 2.6.6 - only once?
    By davros4269 in forum General Support
    Replies: 14
    Last Post: 07-23-2004, 08:49 AM
  3. I can't compile anything on knoppix 3.3
    By rex64 in forum General Support
    Replies: 4
    Last Post: 04-24-2004, 10:32 PM
  4. Kernel compile problem - first Knoppix kernel compile
    By Nigel_Tufnel in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-20-2003, 01:09 PM
  5. Trying to Compile Kopete
    By MadMunky in forum General Support
    Replies: 2
    Last Post: 06-11-2003, 12:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Supermicro CSE-825-7  X10DRW-i 2 Xeon E5-2667v4 3.2GHz SAS3 2U One Power Supply picture

Supermicro CSE-825-7 X10DRW-i 2 Xeon E5-2667v4 3.2GHz SAS3 2U One Power Supply

$209.75



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$224.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.48



SuperMicro Server E3-1230v6 X11SSL-F 32GB RAM (2x16GB) picture

SuperMicro Server E3-1230v6 X11SSL-F 32GB RAM (2x16GB)

$150.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



SuperMicro 842-6 | X10SRL | 4U Chassis Server | E5-1620 V3 | 32GB Ram. No HDD picture

SuperMicro 842-6 | X10SRL | 4U Chassis Server | E5-1620 V3 | 32GB Ram. No HDD

$99.00



Supermicro 1027GR-TRF X9DRG-HF 2x Xeon E5-2690V2 3GHz 128GB RAM 1U 3x GPU Server picture

Supermicro 1027GR-TRF X9DRG-HF 2x Xeon E5-2690V2 3GHz 128GB RAM 1U 3x GPU Server

$149.99



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00