Hi Matthew: Thank you. However: $alias gcc="gcc-4.1" make -bash: alias: make: not found
$man alias No manual entry for alias I am making a cup of doubly strong green tea francesco pietra On Tuesday 06 June 2006 18:20, Matthew Robinson wrote: > Francesco Pietra wrote: > > Hi Joe: > > Thank you. Because gcc is called by $make, I tried to install gcc: > > > > #apt-get install gcc > > gcc: Depends: gcc-4.0 (>=4.0.2-5) but is not installable > > E: Broken packages. > > > > francesco pietra > > > > On Tuesday 06 June 2006 17:45, Jo Shields wrote: > >> Francesco Pietra wrote: > >>> Hi Len: > >>> perhaps better for me to go for a jogging, or make a cup of strong > >>> green tea, because I am getting really confused: > >>> > >>> #dselect > >>> shows that both gcc-4.1 and make are installed (blank*** with the last > >>> * highlighted, as for packages that work, like apt) > >>> > >>> In contrast (?) > >>> #dpkg -S /usr/bin/gcc > >>> dpkg: /usr/bin/gcc not found > >>> > >>> but see below from a perusal of directories > >>> > >>> Installation was in differet partitions and raid1: /, /usr, /var/ > >>> swap, /home, /tmp > >>> > >>> /usr/bin includes, inter alia, g++-4.1, gcc-4.1, gccbug-4.1 > >>> > >>> Previously I was trying to compile a program that has Makefile only: > >>> $make > >>> gcc -g -02 -c -o active.o active.c > >>> make: *** [active.o] Error 127 > >>> > >>> thank you > >>> francesco pietra > >>> > >>> On Tuesday 06 June 2006 17:00, Lennart Sorensen wrote: > >>>> On Tue, Jun 06, 2006 at 02:57:53PM +0200, Francesco Pietra wrote: > >>>>> Why with amd64 debian etch > >>>>> > >>>>> $gcc -v > >>>>> $gcc --version > >>>>> are unrecognized and there is no > >>>>> $man gcc > >>>>> page? > >>>>> > >>>>> While > >>>>> #dselect > >>>>> reveals that both > >>>>> gcc-4.1 and make > >>>>> are installed from base installation. > >>>>> > >>>>> Of course my question is not merely related to that, but to the use > >>>>> of queries with respect to 32bit etch. > >>>> > >>>> Is gcc installed? gcc-4.1 provides gcc-4.1, gcc depends on the > >>>> current gcc, and provides the gcc link to the current version. > >>>> > >>>> # dpkg -S /usr/bin/gcc > >>>> gcc: /usr/bin/gcc > >>>> > >>>> Len Sorensen > >> > >> "gcc" is a symbolic link, provided by the "gcc" package. Since you don't > >> have the "gcc" package, you have no "gcc". > >> > >> Either compile your app using "gcc-4.1" instead of "gcc", or install the > >> "gcc" package. > > How about alias: > > alias gcc="gcc-4.1" make > > or a symlink: > > ln -s `which gcc-4.1` /usr/local/bin/gcc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]