Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Compiling egcs 1.0.3a
@ 1998-10-19 23:29 Steve G
  1998-10-20  0:08 ` Wes Bauske
  0 siblings, 1 reply; 12+ messages in thread
From: Steve G @ 1998-10-19 23:29 UTC (permalink / raw)
  To: Alpha-Linux List (E-mail)

Hello all, once again, I have compiling errors.
I've got a stock redhat 5.1 alpha Workstation 233 box, with egcs version:

[root@hymen egcs-1.0.3a]# egcs --version
egcs-2.90.27 980315 (egcs-1.0.2 release)

That said, I un-tarred it (egcs-1_0_3a_tar.gz) into /root/egcs and it
created egcs-1.0.3a/ .  I then ran ./configure
This is what I got, and I think it looks strange.

[root@hymen egcs-1.0.3a]# ./configure
Configuring for a alpha-unknown-linux-gnu host.
Created "Makefile" in /root/egcs/egcs-1.0.3a using "config/mt-linux"
./config.status is unchanged
Links are now set up to build a native compiler for alpha-unknown-linux-gnu
[root@hymen egcs-1.0.3a]#

Alpha-unknown-linux-gnu host????  I have an Avanti.  Not sure about that.  I
tried going through the config.sub file but didn't see anything that rang a
bell there as far as my system goes.

Now the fun part.  I ran make and got such a short output I can include it
here:

[root@hymen egcs-1.0.3a]# make
make[1]: Entering directory `/root/egcs/egcs-1.0.3a/libiberty'
echo "# !Automatically generated from ./functions.def"\
  "- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def \
 | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define
 NEED_\1\\n#endif\\n" }|' \
 >>needed2.awk
grep '^DEFFUNC(' < ./functions.def \
 | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#defi
ne NEED_\1\\n#endif\\n" }|' \
 >>needed2.awk
echo "/* !Automatically generated from ./functions.def"\
  "- DO NOT EDIT! */" >lconfig.h
awk -f needed2.awk <errors >>lconfig.h
cp lconfig.h config.tmp
/bin/sh ./../move-if-change config.tmp config.h
config.h is unchanged
touch stamp-config
test -z "" || \
  gcc -c -g -O2 -I. -I./../include   fnmatch.c -o pic/fnmatch.o
gcc -c -g -O2 -I. -I./../include  fnmatch.c
In file included from /usr/include/errnos.h:24,
                 from /usr/include/errno.h:36,
                 from fnmatch.c:45:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
make[1]: *** [fnmatch.o] Error 1
make[1]: Leaving directory `/root/egcs/egcs-1.0.3a/libiberty'
make: *** [all-libiberty] Error 2
[root@hymen egcs-1.0.3a]#

Can anyone tell me why it's crashing on errno.h?  The archive was good and
if it should have been there,I think it should have created it for me.  And
I'm not sure what's up with libiberty either.  I'm stuck!

I can't compile a kernel because I think my egcs might be giving me undue
errors, and now I can't compile a new egcs!!!  Grrrrr.  Any help would be
greatly appreciated.

Thanks again.  I swear I'm going to go bald before I get this thing up.  :-)

Regards,

Steve


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Compiling egcs 1.0.3a
  1998-10-19 23:29 Compiling egcs 1.0.3a Steve G
@ 1998-10-20  0:08 ` Wes Bauske
  1998-10-20  0:21   ` Steve G
  0 siblings, 1 reply; 12+ messages in thread
From: Wes Bauske @ 1998-10-20  0:08 UTC (permalink / raw)
  To: axp-list

Steve G wrote:
> 
> Hello all, once again, I have compiling errors.
> I've got a stock redhat 5.1 alpha Workstation 233 box, with egcs version:
> 
> [root@hymen egcs-1.0.3a]# egcs --version
> egcs-2.90.27 980315 (egcs-1.0.2 release)
> 
> That said, I un-tarred it (egcs-1_0_3a_tar.gz) into /root/egcs and it
> created egcs-1.0.3a/ .  I then ran ./configure
> This is what I got, and I think it looks strange.
> 
> [root@hymen egcs-1.0.3a]# ./configure
> Configuring for a alpha-unknown-linux-gnu host.
> Created "Makefile" in /root/egcs/egcs-1.0.3a using "config/mt-linux"
> ./config.status is unchanged
> Links are now set up to build a native compiler for alpha-unknown-linux-gnu
> [root@hymen egcs-1.0.3a]#
> 
> Alpha-unknown-linux-gnu host????  I have an Avanti.  Not sure about that.  I
> tried going through the config.sub file but didn't see anything that rang a
> bell there as far as my system goes.
> 
> Now the fun part.  I ran make and got such a short output I can include it
> here:
> 
> [root@hymen egcs-1.0.3a]# make
> make[1]: Entering directory `/root/egcs/egcs-1.0.3a/libiberty'
> echo "# !Automatically generated from ./functions.def"\
>   "- DO NOT EDIT!" >needed2.awk
> grep '^DEFVAR(' < ./functions.def \
>  | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef
> NEED_\1\\n#define
>  NEED_\1\\n#endif\\n" }|' \
>  >>needed2.awk
> grep '^DEFFUNC(' < ./functions.def \
>  | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef
> NEED_\1\\n#defi
> ne NEED_\1\\n#endif\\n" }|' \
>  >>needed2.awk
> echo "/* !Automatically generated from ./functions.def"\
>   "- DO NOT EDIT! */" >lconfig.h
> awk -f needed2.awk <errors >>lconfig.h
> cp lconfig.h config.tmp
> /bin/sh ./../move-if-change config.tmp config.h
> config.h is unchanged
> touch stamp-config
> test -z "" || \
>   gcc -c -g -O2 -I. -I./../include   fnmatch.c -o pic/fnmatch.o
> gcc -c -g -O2 -I. -I./../include  fnmatch.c
> In file included from /usr/include/errnos.h:24,
>                  from /usr/include/errno.h:36,
>                  from fnmatch.c:45:
> /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
> make[1]: *** [fnmatch.o] Error 1
> make[1]: Leaving directory `/root/egcs/egcs-1.0.3a/libiberty'
> make: *** [all-libiberty] Error 2
> [root@hymen egcs-1.0.3a]#
> 

Looks like you have a problem in your header files.
/usr/include/linux/errno.h is not part of egcs.
Maybe you need to re-install the kernel header rpm.
You didn't happen to overwrite the orignal /usr/src/linux
directory at some point? On my system, here's how the
include is set up:

lrwxrwxrwx  1 root  root  30 Oct 13  1997 /usr/include/asm -> ../src/linux/include/asm-alpha


Wes


^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Compiling egcs 1.0.3a
  1998-10-20  0:08 ` Wes Bauske
@ 1998-10-20  0:21   ` Steve G
  1998-10-20  0:30     ` Wes Bauske
  0 siblings, 1 reply; 12+ messages in thread
From: Steve G @ 1998-10-20  0:21 UTC (permalink / raw)
  To: axp-list; +Cc: wsb

Dammit, I think I'm screwed here somewhere.  Yes, I have on frequent
occasion wiped the /usr/src/linux dir because I've been trying multiple
different kernels.  It looks like your /usr/include/asm symlink points to a
directory under /usr/src/linux...  Mine points to

[root@hymen include]# ls -la asm
lrwxrwxrwx   1 root     root           24 Oct 14 04:13 asm ->
../src/linux/include/asm
[root@hymen include]#

Since I have no real compiled kernel in that directory, what do I do now???
Everything under /usr/src/linux changes each time I un-tar a new kernel.  I
don't suppose this would be a problem if the kernel would compile all the
way, right?

Is this going to require a re-install of Linux? If so, how is the correct
way to clear the contents of the /usr/src/linux dir when you want to un-tar
a new source?  I thought you just rm -Rf * in the dir that the symlink
points to.  I guess this was wrong.  Do you just keep a backup, or change
the symlink to point to a new directory symbolic to the kernel you are
unpacking?  This sounds like the way I should have been doing it.

Thanks for the help.

Regards,
Steve
-----Original Message-----
From:	Wsb [mailto:wsb@paralleldata.com]
Sent:	Monday, October 19, 1998 7:09 PM
To:	axp-list@redhat.com
Subject:	Re: Compiling egcs 1.0.3a

Steve G wrote:
>
> Hello all, once again, I have compiling errors.
> I've got a stock redhat 5.1 alpha Workstation 233 box, with egcs version:
>
> [root@hymen egcs-1.0.3a]# egcs --version
> egcs-2.90.27 980315 (egcs-1.0.2 release)

<snip>

>   gcc -c -g -O2 -I. -I./../include   fnmatch.c -o pic/fnmatch.o
> gcc -c -g -O2 -I. -I./../include  fnmatch.c
> In file included from /usr/include/errnos.h:24,
>                  from /usr/include/errno.h:36,
>                  from fnmatch.c:45:
> /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
> make[1]: *** [fnmatch.o] Error 1
> make[1]: Leaving directory `/root/egcs/egcs-1.0.3a/libiberty'
> make: *** [all-libiberty] Error 2
> [root@hymen egcs-1.0.3a]#
>

Looks like you have a problem in your header files.
/usr/include/linux/errno.h is not part of egcs.
Maybe you need to re-install the kernel header rpm.
You didn't happen to overwrite the orignal /usr/src/linux
directory at some point? On my system, here's how the
include is set up:

lrwxrwxrwx  1 root  root  30 Oct 13  1997 /usr/include/asm ->
../src/linux/include/asm-alpha


Wes

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Compiling egcs 1.0.3a
  1998-10-20  0:21   ` Steve G
@ 1998-10-20  0:30     ` Wes Bauske
  1998-10-20  0:41       ` Steve G
  0 siblings, 1 reply; 12+ messages in thread
From: Wes Bauske @ 1998-10-20  0:30 UTC (permalink / raw)
  To: axp-list@redhat.com

Steve G wrote:
> 
> Dammit, I think I'm screwed here somewhere.  Yes, I have on frequent
> occasion wiped the /usr/src/linux dir because I've been trying multiple
> different kernels.  It looks like your /usr/include/asm symlink points to a
> directory under /usr/src/linux...  Mine points to
> 
> [root@hymen include]# ls -la asm
> lrwxrwxrwx   1 root     root           24 Oct 14 04:13 asm ->
> ../src/linux/include/asm
> [root@hymen include]#
> 
> Since I have no real compiled kernel in that directory, what do I do now???
> Everything under /usr/src/linux changes each time I un-tar a new kernel.  I
> don't suppose this would be a problem if the kernel would compile all the
> way, right?
> 
> Is this going to require a re-install of Linux? If so, how is the correct
> way to clear the contents of the /usr/src/linux dir when you want to un-tar
> a new source?  I thought you just rm -Rf * in the dir that the symlink
> points to.  I guess this was wrong.  Do you just keep a backup, or change
> the symlink to point to a new directory symbolic to the kernel you are
> unpacking?  This sounds like the way I should have been doing it.
> 

Best thing to do is re-install the rpm that has the
kernel headers in it. Might have to force it though.
From that point on, do not put your kernels under
/usr/src/linux. Put them anywhere else you like but
leave the /usr/src/linux part alone. This is important
because RH have modified the headers to fix a few 
compile problems in some applications and you want to
keep those changes around.


Wes


^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Compiling egcs 1.0.3a
  1998-10-20  0:30     ` Wes Bauske
@ 1998-10-20  0:41       ` Steve G
  1998-10-20  0:49         ` Mike "Ford" Ditto
  1998-10-20  4:34         ` Wes Bauske
  0 siblings, 2 replies; 12+ messages in thread
From: Steve G @ 1998-10-20  0:41 UTC (permalink / raw)
  To: axp-list; +Cc: wsb

I thought that you were supposed to un-tar your kernels in the /usr/src dir.
In my experience, the kernels expand into linux/xxx.  In other words, they
expand into a directory tree starting with linux.  The linux symlink refers
to the actual dir that the kernel is installed in.  How can I leave the
linux dir alone and upgrade the kernel?

Also, does anyone know the RPM file that has the kernel headers in it?  I'll
browse around on the CD, but just in case...

Thanks for the help.

Regards,

Steve

-----Original Message-----
From:	Wsb [mailto: wsb@paralleldata.com]
Sent:	Monday, October 19, 1998 7:31 PM
To:	axp-list@redhat.com
Subject:	Re: Compiling egcs 1.0.3a

Steve G wrote:
>
> Dammit, I think I'm screwed here somewhere.  Yes, I have on frequent
> occasion wiped the /usr/src/linux dir because I've been trying multiple
> different kernels.  It looks like your /usr/include/asm symlink points to
a
> directory under /usr/src/linux...  Mine points to
>
> [root@hymen include]# ls -la asm
> lrwxrwxrwx   1 root     root           24 Oct 14 04:13 asm ->
> ../src/linux/include/asm
> [root@hymen include]#
>
> Since I have no real compiled kernel in that directory, what do I do
now???
> Everything under /usr/src/linux changes each time I un-tar a new kernel.
I
> don't suppose this would be a problem if the kernel would compile all the
> way, right?
>
> Is this going to require a re-install of Linux? If so, how is the correct
> way to clear the contents of the /usr/src/linux dir when you want to
un-tar
> a new source?  I thought you just rm -Rf * in the dir that the symlink
> points to.  I guess this was wrong.  Do you just keep a backup, or change
> the symlink to point to a new directory symbolic to the kernel you are
> unpacking?  This sounds like the way I should have been doing it.
>

Best thing to do is re-install the rpm that has the
kernel headers in it. Might have to force it though.
From that point on, do not put your kernels under
/usr/src/linux. Put them anywhere else you like but
leave the /usr/src/linux part alone. This is important
because RH have modified the headers to fix a few
compile problems in some applications and you want to
keep those changes around.


Wes

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: RE: Compiling egcs 1.0.3a
  1998-10-20  0:41       ` Steve G
@ 1998-10-20  0:49         ` Mike "Ford" Ditto
  1998-10-20  4:34         ` Wes Bauske
  1 sibling, 0 replies; 12+ messages in thread
From: Mike "Ford" Ditto @ 1998-10-20  0:49 UTC (permalink / raw)
  To: axp-list; +Cc: wsb

> I thought that you were supposed to un-tar your kernels in the /usr/src dir.
> In my experience, the kernels expand into linux/xxx.  In other words, they
> expand into a directory tree starting with linux.  The linux symlink refers
> to the actual dir that the kernel is installed in.  How can I leave the
> linux dir alone and upgrade the kernel?

I always do this (version numbers changed to protect the innocent):

cd /usr/src
mkdir linux-2.0.42
cd linux-2.0.42
gunzip < ../linux-2.0.42.tar.gz | tar -xof -
mv linux/* .
rmdir linux # (now empty)
vi Makefile # edit ARCH and SMP lines
make config
...
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ford@omnicron.com
- The Unix Programmer's Manual,		http://www.omnicron.com/~ford/ford.html
  2nd Edition, June, 1972.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Compiling egcs 1.0.3a
@ 1998-10-20  0:51 Tibbetts, Richard
  0 siblings, 0 replies; 12+ messages in thread
From: Tibbetts, Richard @ 1998-10-20  0:51 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Just for an additional point of view on this:
	What I do with mine are to untar them into /usr/src/linux.<version
number>, and then link that to /usr/src/linux. Thus I've maintained the
original kernel should I need it later.
	It's worked for me so far!
> 	______________________________
> 	Ric Tibbetts
> 	Boeing SSG Distributed CATIA
> 	Central Administration
> 	CAS-CADE Central Administration
> 	Phone: 425/393-4442    Pager: 425/645-2012
> 	E-Mail:    richard.tibbetts@boeing.com
> 
> 	Eagles may soar, but weasels don't get sucked into jet engines.
> 	_______________________________
> 
> 
> 
> ----------
> From: 	Steve G[SMTP:steve@stevesworld.net]
> Reply To: 	axp-list@redhat.com
> Sent: 	Monday, October 19, 1998 5:41 PM
> To: 	axp-list@redhat.com
> Subject: 	RE: Compiling egcs 1.0.3a
> 
> I thought that you were supposed to un-tar your kernels in the /usr/src
> dir.
> In my experience, the kernels expand into linux/xxx.  In other words, they
> expand into a directory tree starting with linux.  The linux symlink
> refers
> to the actual dir that the kernel is installed in.  How can I leave the
> linux dir alone and upgrade the kernel?
> 
> Also, does anyone know the RPM file that has the kernel headers in it?
> I'll
> browse around on the CD, but just in case...
> 
> Thanks for the help.
> 
> Regards,
> 
> Steve
> 
> -----Original Message-----
> From:	Wsb [mailto: wsb@paralleldata.com]
> Sent:	Monday, October 19, 1998 7:31 PM
> To:	axp-list@redhat.com
> Subject:	Re: Compiling egcs 1.0.3a
> 
> Steve G wrote:
> >
> > Dammit, I think I'm screwed here somewhere.  Yes, I have on frequent
> > occasion wiped the /usr/src/linux dir because I've been trying multiple
> > different kernels.  It looks like your /usr/include/asm symlink points
> to
> a
> > directory under /usr/src/linux...  Mine points to
> >
> > [root@hymen include]# ls -la asm
> > lrwxrwxrwx   1 root     root           24 Oct 14 04:13 asm ->
> > ../src/linux/include/asm
> > [root@hymen include]#
> >
> > Since I have no real compiled kernel in that directory, what do I do
> now???
> > Everything under /usr/src/linux changes each time I un-tar a new kernel.
> I
> > don't suppose this would be a problem if the kernel would compile all
> the
> > way, right?
> >
> > Is this going to require a re-install of Linux? If so, how is the
> correct
> > way to clear the contents of the /usr/src/linux dir when you want to
> un-tar
> > a new source?  I thought you just rm -Rf * in the dir that the symlink
> > points to.  I guess this was wrong.  Do you just keep a backup, or
> change
> > the symlink to point to a new directory symbolic to the kernel you are
> > unpacking?  This sounds like the way I should have been doing it.
> >
> 
> Best thing to do is re-install the rpm that has the
> kernel headers in it. Might have to force it though.
> >From that point on, do not put your kernels under
> /usr/src/linux. Put them anywhere else you like but
> leave the /usr/src/linux part alone. This is important
> because RH have modified the headers to fix a few
> compile problems in some applications and you want to
> keep those changes around.
> 
> 
> Wes
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Compiling egcs 1.0.3a
  1998-10-20  0:41       ` Steve G
  1998-10-20  0:49         ` Mike "Ford" Ditto
@ 1998-10-20  4:34         ` Wes Bauske
  1998-10-20  6:29           ` Compiling egcs 1.0.3a - NOT WORKING! Steve G
  1 sibling, 1 reply; 12+ messages in thread
From: Wes Bauske @ 1998-10-20  4:34 UTC (permalink / raw)
  To: axp-list@redhat.com

Steve G wrote:
> 
> I thought that you were supposed to un-tar your kernels in the /usr/src dir.
> In my experience, the kernels expand into linux/xxx.  In other words, they
> expand into a directory tree starting with linux.  The linux symlink refers
> to the actual dir that the kernel is installed in.  How can I leave the
> linux dir alone and upgrade the kernel?
> 
> Also, does anyone know the RPM file that has the kernel headers in it?  I'll
> browse around on the CD, but just in case...
> 

The RPM starts with the name "kernel-headers-xxxxx.alpha.rpm" where
xxxxx is a version number depending on which RH distribution
you have.


Yes, the pristine sources start with linux/..... but,
do not let them overwrite your RH installed /usr/src/linux
directory. The post about creating a directory with a
version number is good. I've done that. Also, I've built
kernels in a totally different place. I do builds on a
NFS mounted file system with the source tree so I can cross
mount between all my Linux boxes and use the same tree.
There is no requirement I'm aware of that your kernel
has to be in /usr/src. A side benefit is I keep only one
copy of the kernel source for all my boxes(5 of them).
Those kernels are getting pretty big and if you have a
couple trees around, you see why I don't want them on all
my systems... (I use 100B-TX Enet so NFS works pretty well)


Wes


^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Compiling egcs 1.0.3a - NOT WORKING!
  1998-10-20  4:34         ` Wes Bauske
@ 1998-10-20  6:29           ` Steve G
  1998-10-20  7:24             ` Michal Jaegermann
  0 siblings, 1 reply; 12+ messages in thread
From: Steve G @ 1998-10-20  6:29 UTC (permalink / raw)
  To: axp-list

Ok, here's what I've done.

Un-tar'ed the egcs-1_0_3a_tar.gz in the /root/egcs dir.
Did a ./configure
Did a make
Did a make install
4 hours later did a make bootstrap

now, two hours later, I'm wondering why when I do a "egcs -version" I still
get

[steve@hymen /]$ egcs --version
egcs-2.90.27 980315 (egcs-1.0.2 release)
[steve@hymen /]$

What's up with this?  I even re-booted.  I didn't spend half the day
compiling for nothing did I?  It never gave me any errors.  What am I
missing?

HELP!  I need to get this kernel installed and I'm hoping a new compiler
will help.  Thank you for any advice you might have on the subject.

Thanks again,

Steve



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Compiling egcs 1.0.3a - NOT WORKING!
  1998-10-20  6:29           ` Compiling egcs 1.0.3a - NOT WORKING! Steve G
@ 1998-10-20  7:24             ` Michal Jaegermann
  1998-10-20 17:39               ` ** Getting out of the woods. WAS: Compiling egcs 1.0.3a - NOT WORKING! ** Steve G
  1998-10-21  3:15               ` Compiling egcs 1.0.3a - NOT WORKING! Rob McIlhargie
  0 siblings, 2 replies; 12+ messages in thread
From: Michal Jaegermann @ 1998-10-20  7:24 UTC (permalink / raw)
  To: axp-list

Steve G wrote:
> 
> Ok, here's what I've done.
> 
> Un-tar'ed the egcs-1_0_3a_tar.gz in the /root/egcs dir.
> Did a ./configure
> Did a make
> Did a make install
> 4 hours later did a make bootstrap
> 
> now, two hours later, I'm wondering why when I do a "egcs -version" I still
> get
> 
> [steve@hymen /]$ egcs --version
> egcs-2.90.27 980315 (egcs-1.0.2 release)

If you did not use --prefix=<something> while runing ./configure
then you ended up installing your new compiler as 'gcc' in
/usr/local/bin - I think.  'make install' wrote you a precise
message what it was installing and where.  Try 'gcc -v'.
You will find your brand new compiler IF your have directory in
which you installed a new compiler in your PATH and IF it is there
earlier than a directory with your "other" gcc exectutables.
'egcs' obviously runs Red Hat supplied program which was renamed
to 'egcs' (an extremely bad idea IMO).

Alias 'which' tells you which program you are really trying to run.
Try 'which gcc' and 'which egcs', and 'which cc'.

  Michal


^ permalink raw reply	[flat|nested] 12+ messages in thread

* ** Getting out of the woods. WAS: Compiling egcs 1.0.3a - NOT WORKING! **
  1998-10-20  7:24             ` Michal Jaegermann
@ 1998-10-20 17:39               ` Steve G
  1998-10-21  3:15               ` Compiling egcs 1.0.3a - NOT WORKING! Rob McIlhargie
  1 sibling, 0 replies; 12+ messages in thread
From: Steve G @ 1998-10-20 17:39 UTC (permalink / raw)
  To: axp-list; +Cc: michal, wsb, adam.powell, Richard.Tibbetts, beww, Nils.Faerber


First off, I'd like to wish a hearty Thank-You to all the members of this
list, and especially the ones listed in the addresses of this message.  I'm
sorry if I forgot anyone in specific.

This has been the most valuable resource I could ever find.  Most lists are
just a lot of people posting questions and not a whole lot of answers.  I
have to say this list is definitely an exception to the rule.

**For anyone out there with an Avanti Alpha and kernel questions, feel free
to direct them to me.**  I feel like a regular scholarly source on the
subject after all that I've done.  Here's a breakdown if anyone's
interested.

-Installed RH 5.1 from scratch on an Avanti Alpha workstation 233.
-Need to update kernel to allow for Firewalling
-Tried 10 different kernels. 2.0.xx and 2.1.xxx, would not compile
-Commented out SRM=1 in the top-level Makefile
-Still would not compile kernels.  Weird compile errors.
-Decided to upgrade egcs (gcc in my case)
-Got egcs-1_0_3a.tar.gz and would not compile
-Found out that I had to make config, and then make dep to get egcs to
compile
-Did that, then made egcs.  BTW, egcs -version still shows old version,
     gcc -v shows egcs-1.0.3 release. (whew)
-Rebooted so the Alpha gods would not be upset
-Started compile of linux-2.1.124.tar.gz from scratch
-Went to the machine next day and it was finished compiling with no errors
-Copied vmlinux.gz to boot floppy and booted from MILO
-IT WORKED!!!


I couldn't have done this without everyone's help.  I'm still going to have
to get the added NIC to work and configure a firewall, but at least I have
the kernel support to do it now.  (so what if it took me 1 week to get it
there...)

Thank you all once again.  I'm definitely going to hang around on this list,
so maybe I can offer a little insight to someone in a similar situation that
I was in.

Maybe, just maybe this alpha isn't as bad as I thought it was...


Thanks everybody,

Steve


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Compiling egcs 1.0.3a - NOT WORKING!
  1998-10-20  7:24             ` Michal Jaegermann
  1998-10-20 17:39               ` ** Getting out of the woods. WAS: Compiling egcs 1.0.3a - NOT WORKING! ** Steve G
@ 1998-10-21  3:15               ` Rob McIlhargie
  1 sibling, 0 replies; 12+ messages in thread
From: Rob McIlhargie @ 1998-10-21  3:15 UTC (permalink / raw)
  To: axp-list; +Cc: Rob McIlhargie

On Tue, Oct 20, 1998 at 01:24:13AM -0600, Michal Jaegermann wrote:
> 
> Alias 'which' tells you which program you are really trying to run.
> Try 'which gcc' and 'which egcs', and 'which cc'.
> 
  The 'where' command in csh and tcsh is also useful(if you're using those 
shells). It tells how many occurances of 'foo' are in your path.

So 'where gcc'  should return
/usr/bin/gcc
/usr/local/bin/gcc

The 'which' command will tell you which one you're running.
-- 
------------------------------------------------------------------------------
Rob.                          | http://www.smart.net/~rmcilhar/
rmcilhar@smart.net            | 
rmcilhar@sanctuary.smart.net  | POWERED by LINUX!!!!
------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1998-10-21  3:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-19 23:29 Compiling egcs 1.0.3a Steve G
1998-10-20  0:08 ` Wes Bauske
1998-10-20  0:21   ` Steve G
1998-10-20  0:30     ` Wes Bauske
1998-10-20  0:41       ` Steve G
1998-10-20  0:49         ` Mike "Ford" Ditto
1998-10-20  4:34         ` Wes Bauske
1998-10-20  6:29           ` Compiling egcs 1.0.3a - NOT WORKING! Steve G
1998-10-20  7:24             ` Michal Jaegermann
1998-10-20 17:39               ` ** Getting out of the woods. WAS: Compiling egcs 1.0.3a - NOT WORKING! ** Steve G
1998-10-21  3:15               ` Compiling egcs 1.0.3a - NOT WORKING! Rob McIlhargie
  -- strict thread matches above, loose matches on Subject: below --
1998-10-20  0:51 Compiling egcs 1.0.3a Tibbetts, Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox