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
  •  


Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



WD 1TB Elements SE SSD, Portable External Solid State Drive - WDBAYN0010BBK-WESN picture

WD 1TB Elements SE SSD, Portable External Solid State Drive - WDBAYN0010BBK-WESN

$79.99



SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25 picture

SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25

$99.99



WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN picture

WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN

$109.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Seagate ST1000LM035 Mobile HDD 1TB 2.5

Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive 0 Relocated

$15.05



Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive picture

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive

$15.00



Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive picture

Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive

$67.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$28.95



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$80.39