* Re: problems with gcc/f2c - patch usage summary.
[not found] <Pine.A32.3.91.971030022647.3928B-100000@ssibm4.ssp.ameslab.gov>
@ 1997-10-30 9:29 ` Harvey J. Stein
1997-10-31 5:14 ` problems with gcc/f2c Andy Isaacson
1 sibling, 0 replies; 2+ messages in thread
From: Harvey J. Stein @ 1997-10-30 9:29 UTC (permalink / raw)
Stephen Tow writes:
> On Thu, 30 Oct 1997, Harvey J. Stein wrote:
>
> > Stephen Tow writes:
> > > myname:~> gcc -o hello hello.c
> > > myname:~> hello
> > > Segmentation fault
> > > myname:~> ./hello
> > > Hello World!!
> >
> > Maybe you have a hello on your PATH before the one you just built in
> > your home directory, so the 1st invocation is of a different binary
> > than the second invocation.
>
> Arrgghhh...I really must apologize for not clarifying this in my original
> message. This is not the problem at all, though I see why it was
> immediately speculated.
It doesn't happen on my 533mhz 164-LX:
hjstein@blaster:~$ cat hello.c
#include <stdio.h>
main ()
{
printf("Hello World!!\n");
}
hjstein@blaster:~$ type hello
type: hello: not found
hjstein@blaster:~$ echo $PATH
/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/home/hjstein/bin
hjstein@blaster:~$ export PATH=$PATH:.
hjstein@blaster:~$ type hello
hello is ./hello
hjstein@blaster:~$ hello
Hello World!!
hjstein@blaster:~$ ./hello
Hello World!!
Did you apply the em86 patches to the kernel that came with Redhat or
to a pristine 2.0.30? I applied alpha-patches-2.0.30-0.2a.gz to a
pristine 2.0.30, and then applied the patch ap-0.2-fixes-1.diff from
ftp://genie.ucd.ie/pub/alpha/kernel/alpha-patchset.tar.gz. One hunk
from the latter got rejected, and I applied it by hand (just added
result = -EIO; to the NOT_READY & ILLEGAL_REQUEST cases in
drivers/scsi/sr_ioctl.c). I also left /usr/src/linux pointing at the
old kernel source tree. If you tried patching the kernel that comes
with Redhat, you might have gotten rejects or reversals or bad
patches, because the redhat distributed kernel already has some of the
alpha patches mixed in.
I'll post some general patching info separately.
Good luck,
--
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il
--
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] 2+ messages in thread