Re: which gcc do I have?
On Wed, Sep 01, 2004 at 05:31:25PM +0200, Paul Akkermans wrote: I have installed Debian(from a distribution cd) on my Pentium 2 and I am wondering how I can see which version of gcc I have installed on my system. Can anybody tell me how I can see this and how to upgrade this (if this is possible). gcc --version -- Thomas Adam -- Quis custodiet ipsos custodes? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: which gcc do I have?
Paul Akkermans [EMAIL PROTECTED] [2004-09-01 17:35]: Hi everyone, I have installed Debian(from a distribution cd) on my Pentium 2 and I am wondering how I can see which version of gcc I have installed gcc --version man 'something' is always a good source of information. wbr, Lukas -- Lukas Ruf | Wanna know anything about raw | http://www.lpr.ch | IP? - http://www.rawip.org | eMail Style Guide: http://www.rawip.org/style.html| -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: which gcc do I have?
Hello Paul, Just open a terminal (shell, command prompt, whatever you call it), and type: gcc --version And you will be told :) If you get an error message you probably haven't installed a compiler yet. In that case apt-get install gcc will perform a miracle ;) Paul Akkermans wrote: Hi everyone, I have installed Debian(from a distribution cd) on my Pentium 2 and I am wondering how I can see which version of gcc I have installed on my system. Can anybody tell me how I can see this and how to upgrade this (if this is possible). Thanks in advance, Paul Akkermans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: which gcc do I have?
%% Paul Akkermans [EMAIL PROTECTED] writes: pa I have installed Debian(from a distribution cd) on my Pentium 2 pa and I am wondering how I can see which version of gcc I have pa installed on my system. Can anybody tell me how I can see this and pa how to upgrade this (if this is possible). Others have told you how to ask GCC what version it is. If you want to ask Debian what versions of the GCC Debian packages were installed, you can do something like this: $ dpkg -l gcc\* The packages with the i in the second column are installed on your system. -- --- Paul D. Smith [EMAIL PROTECTED] HASMAT--HA Software Mthds Tools Please remain calm...I may be mad, but I am a professional. --Mad Scientist --- These are my opinions---Nortel Networks takes no responsibility for them.
Re: Which GCC version for kernels?
Davor Balder wrote: On Tue, Nov 25, 2003 at 12:54:21AM -0500, Kevin Krumwiede wrote: Should I be using GCC 3.x for building kernels on Woody? I'm using 2.95 and I keep getting errors like undefined symbols and modules not being built or installed. I've tried both 'make-kpkg kernel-image' and the standard 'make dep make clean make bzImage make modules make modules_install make install'. I'm also having trouble building the wlan-ng drivers, but I want to get a nice clean kernel build before I try to sort that one out. (I got make-kpkg to build a package once, but it didn't contain any modules. Do I have to use 'make-kpkg modules' or something?) Incidentally, what is the command to upgrade GCC? I'm quite new to Debian and I've had to install it three times already. I'm sure that even with apt I'll find a way to screw it up. :o) Thanks, Krum Hi Krum, Did you try running 'make-kpkg clean' first? I think this may well be your problem. I think GCC version may not be your problem. For your reference, this is the procedure most commonly used: 1.) while in kernel directory run 'make-kpkg clean' 2.) make-kpkg --revision=your_kernel_name.1.0 kernel_image 3.) once you've built your kernel, you can go one directory up and dpkg -i your_kernel_name.1.0 I hope this helps (and works for you). Cheers, Davor A couple of links which I found useful when I finally started building kernels, the first one (which I used the most) I DLed and made it part of my local documentation. http://myrddin.org/howto/debian-kernel-recompile.html http://newbiedoc.sourceforge.net/system/kernel-pkg.html ..paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Which GCC version for kernels?
On Tue, Nov 25, 2003 at 12:54:21AM -0500, Kevin Krumwiede wrote: Should I be using GCC 3.x for building kernels on Woody? I'm using 2.95 and I keep getting errors like undefined symbols and modules not being built or installed. I've tried both 'make-kpkg kernel-image' and the standard 'make dep make clean make bzImage make modules make modules_install make install'. I'm also having trouble building the wlan-ng drivers, but I want to get a nice clean kernel build before I try to sort that one out. (I got make-kpkg to build a package once, but it didn't contain any modules. Do I have to use 'make-kpkg modules' or something?) Incidentally, what is the command to upgrade GCC? I'm quite new to Debian and I've had to install it three times already. I'm sure that even with apt I'll find a way to screw it up. :o) Thanks, Krum Hi Krum, Did you try running 'make-kpkg clean' first? I think this may well be your problem. I think GCC version may not be your problem. For your reference, this is the procedure most commonly used: 1.) while in kernel directory run 'make-kpkg clean' 2.) make-kpkg --revision=your_kernel_name.1.0 kernel_image 3.) once you've built your kernel, you can go one directory up and dpkg -i your_kernel_name.1.0 I hope this helps (and works for you). Cheers, Davor -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: which gcc?
DP just a quick question, but which gcc should I have installed? DP gcc DP gcc-2.95 DP gcc-3.00 DP or all of the above? Normally you should have gcc. This package installs 'gcc' binary which is actually just frontend to real compilators. gcc-2.95 and gcc-3.0 should install compilators iteself. You can have both. DP does gcc-2.95 and 3.00 replace gcc? DP if so - will removing gcc break things? DP I'm running Woody, but don't do any major building - the odd app from DP source, a kernel, and a few little programs of my own. I highly recomend you do not use gcc-3.0 for kernel building. Probably if you do not any major building you should not use gcc-3.0 at all since it is beta now - there was no offical release of stable version of gcc-3.0. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Ilya Martynov (http://martynov.org/)| | GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80 E4AE BE1A 53EB 323B DEE6 | | AGAVA Software Company (http://www.agava.com/) | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: which gcc?
On Mon, Apr 30, 2001 at 11:06:44PM +0930, David Purton wrote: just a quick question, but which gcc should I have installed? gcc gcc-2.95 gcc-3.00 gcc is a set of links to gcc-2.95. They are installed together currently. The gcc-3.0 package is only for testing. You have to call it like CC=gcc-3.0. It is not used by default. Some time when gcc-3.0 is stable, then gcc will be links to gcc-3.0 instead of gcc-2.95. Ben -- ---===-=-==-=---==-=-- / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=--===-=-=-=-===-==---=--=---'