* ccc problem
@ 1999-09-08 4:00 Helmut Katzgraber
1999-09-08 4:00 ` Helmut Katzgraber
0 siblings, 1 reply; 7+ messages in thread
From: Helmut Katzgraber @ 1999-09-08 4:00 UTC (permalink / raw)
hi all.
i have just downloaded the compaq cc and when i tried it on a test code
i got:
[dummkopf]$ make
ccc -o DF -O2 main.c level_one.c level_two.c
main.c:
cc: Severe:
/usr/lib/compaq/ccc-6.2/alpha-redhat-linux/include//stddef.h, line 23:
Cannot find file <stddef.h> specified in #include directive.
(noinclfilef)
#include_next <stddef.h>
-^
level_one.c:
cc: Severe: /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/include/stddef.h,
line 23: Cannot find file <stddef.h> specified in #include directive.
(noinclfilef)
#include_next <stddef.h>
-^
level_two.c:
cc: Severe: /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/include/stddef.h,
line 23: Cannot find file <stddef.h> specified in #include directive.
(noinclfilef)
#include_next <stddef.h>
-^
make: *** [DF] Error 1
i have no clue on how to solve this problem. any suggestions?
thanks, h.
--
-----------------------------------------------------------------
Helmut G. Katzgraber mail: dummkopf@debussy.ucsc.edu
Physics Department, Kerr Hall http://debussy.ucsc.edu/~dummkopf
University of California Phone: (+1) 831-459-4762
Santa Cruz, CA 95064, USA Fax: (+1) 831-459-3043
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ccc problem
1999-09-08 4:00 ccc problem Helmut Katzgraber
@ 1999-09-08 4:00 ` Helmut Katzgraber
1999-09-08 4:00 ` J. Josh Feng
1999-09-09 4:00 ` J. Josh Feng
0 siblings, 2 replies; 7+ messages in thread
From: Helmut Katzgraber @ 1999-09-08 4:00 UTC (permalink / raw)
problem solved.....
--
-----------------------------------------------------------------
Helmut G. Katzgraber mail: dummkopf@debussy.ucsc.edu
Physics Department, Kerr Hall http://debussy.ucsc.edu/~dummkopf
University of California Phone: (+1) 831-459-4762
Santa Cruz, CA 95064, USA Fax: (+1) 831-459-3043
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ccc problem
1999-09-08 4:00 ` Helmut Katzgraber
@ 1999-09-08 4:00 ` J. Josh Feng
1999-09-09 4:00 ` J. Josh Feng
1 sibling, 0 replies; 7+ messages in thread
From: J. Josh Feng @ 1999-09-08 4:00 UTC (permalink / raw)
To: Helmut Katzgraber
Helmut Katzgraber wrote:
>
> problem solved.....
>
Could you post how you solved it? Thank you.
--
J. Joshua Feng
ECE, University of Wisconsin - Madison fengj@percy.engr.wisc.edu
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ccc problem
1999-09-08 4:00 ` Helmut Katzgraber
1999-09-08 4:00 ` J. Josh Feng
@ 1999-09-09 4:00 ` J. Josh Feng
1999-09-09 4:00 ` Robert Harley
1999-09-09 4:00 ` Helmut Katzgraber
1 sibling, 2 replies; 7+ messages in thread
From: J. Josh Feng @ 1999-09-09 4:00 UTC (permalink / raw)
Hmm, it seems those paths in
/usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/comp.config
have to be modified. Since I am using Debian, don't know if that is the
only file to
be changed.
--
J. Joshua Feng
ECE, University of Wisconsin - Madison fengj@percy.engr.wisc.edu
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ccc problem
1999-09-09 4:00 ` J. Josh Feng
@ 1999-09-09 4:00 ` Robert Harley
1999-09-09 4:00 ` Alexander Guy
1999-09-09 4:00 ` Helmut Katzgraber
1 sibling, 1 reply; 7+ messages in thread
From: Robert Harley @ 1999-09-09 4:00 UTC (permalink / raw)
"J. Josh Feng" <fengj@percy.engr.wisc.edu> writes:
> Hmm, it seems those paths in
> /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/comp.config
> have to be modified.
You may also have to make /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/ld
point at something e.g., /usr/bin/ld.
Rob.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ccc problem
1999-09-09 4:00 ` Robert Harley
@ 1999-09-09 4:00 ` Alexander Guy
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Guy @ 1999-09-09 4:00 UTC (permalink / raw)
Robert Harley wrote:
>
> "J. Josh Feng" <fengj@percy.engr.wisc.edu> writes:
> > Hmm, it seems those paths in
> > /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/comp.config
> > have to be modified.
>
> You may also have to make /usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin/ld
> point at something e.g., /usr/bin/ld.
You'll also need to grab stddef.h and friends out of
``/usr/lib/gcc-lib/...''.
Also, if you're unlucky, you'll be running Potato, and libc.so.6 will be
missing the ``__setjmp'' symbol. As a stopgap measure, I took a RedHat
libc 6
archive, dumped out the object files that I needed, linked them as a
shared
library, and then LD_PRELOADed said library. It's hack, but the
compiler
works with it. I still need to figure out exactly why Debian's libc is
missing those symbols. :P I hope that helps.
Alexander
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ccc problem
1999-09-09 4:00 ` J. Josh Feng
1999-09-09 4:00 ` Robert Harley
@ 1999-09-09 4:00 ` Helmut Katzgraber
1 sibling, 0 replies; 7+ messages in thread
From: Helmut Katzgraber @ 1999-09-09 4:00 UTC (permalink / raw)
first sorry for not posting the answer, but i assumed it was easy
to spot after a closer look. second sorry for not posting earlier,
but i was out of town all day.
you need to tell the compiler where the libs and includes are, i.e
you have to add the following lines at compile-time:
-I/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/include
-L/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/
in other words, if you want to compile lala.c:
ccc -I/usr/lib/g... -o lala lala.c -L/usr/lib/g...
also there is a wrong link in
usr/lib/compaq/ccc-6.2/alpha-redhat-linux/bin
ld is linked to some inexistent crap, instead remove the
link and relink it to:
ld -> /usr/bin/ld
this, assuming that you have redhat6.0 and egcs-2.91.66.
cheers and good luck, h.
-----------------------------------------------------------------
Helmut G. Katzgraber mail: dummkopf@debussy.ucsc.edu
Physics Department, Kerr Hall http://debussy.ucsc.edu/~dummkopf
University of California Phone: (+1) 831-459-4762
Santa Cruz, CA 95064, USA Fax: (+1) 831-459-3043
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-09-09 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-08 4:00 ccc problem Helmut Katzgraber
1999-09-08 4:00 ` Helmut Katzgraber
1999-09-08 4:00 ` J. Josh Feng
1999-09-09 4:00 ` J. Josh Feng
1999-09-09 4:00 ` Robert Harley
1999-09-09 4:00 ` Alexander Guy
1999-09-09 4:00 ` Helmut Katzgraber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox