-
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
-
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
************************************************** ****
-
Junior Member
registered user
Re: how to compile with gcc 2.95

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
-
By gamezealot in forum General Support
Replies: 6
Last Post: 01-20-2005, 08:54 PM
-
By davros4269 in forum General Support
Replies: 14
Last Post: 07-23-2004, 08:49 AM
-
By rex64 in forum General Support
Replies: 4
Last Post: 04-24-2004, 10:32 PM
-
By Nigel_Tufnel in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-20-2003, 01:09 PM
-
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
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

P43330-0A1 HPE 32GB 2RX8 PC5-4800B DDR5 SERVER RAM P43328-B21 / HMCG88MEBRA107N
$1100.00

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99

MICRON MTA36ASF4G72PZ-2G6E1 | 32GB PC4-2666V ECC RDIMM Server RAM
$184.95

Major Brand 8 GB PC3L-12800 (DDR3-1600) 2Rx8 DDR3L Laptop Memory RAM
$10.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

SK Hynix 128GB (4 x 32GB) PC4-2400T DDR4 ECC Server Memory HMA84GR7MFR4N-UH
$649.95

SKhynix 64GB DDR5 PC5-4800B SERVER Memory RAM HMCG94MEBRA103N
$390.00

x4 Intel 128GB NMB1XXD128GPS Optane Memory 200 Series PMEM Module 3200 DDR4 RAM
$329.99

2 Pack USB C SD TF Card Reader Adapter Zinc Alloy USB-C to USB for iPhone 15-17
$3.35