* Prob: /usr/lib/cmplrs/cc/cfe ...
@ 1996-04-01 5:00 Hendrik S. Roepcke
1996-04-02 5:00 ` Sean Murphy
1996-04-16 4:00 ` Tom Carlson
0 siblings, 2 replies; 3+ messages in thread
From: Hendrik S. Roepcke @ 1996-04-01 5:00 UTC (permalink / raw)
Hello,
very often during compling a software package, I get
problems with missing definitions or incompatible
calls.
What is about this /usr/lib/cmplrs/cc/cfe ???
Panther
PS: Here is dUnix 3.2C...
--
Panther in the Jungle __..--''``\--....___ _..,_
-MIDGARD-RPG-TAGATHA- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Prob: /usr/lib/cmplrs/cc/cfe ...
1996-04-01 5:00 Prob: /usr/lib/cmplrs/cc/cfe Hendrik S. Roepcke
@ 1996-04-02 5:00 ` Sean Murphy
1996-04-16 4:00 ` Tom Carlson
1 sibling, 0 replies; 3+ messages in thread
From: Sean Murphy @ 1996-04-02 5:00 UTC (permalink / raw)
In article <4jouon$k4@jungle.toppoint.de>, panther@jungle.toppoint.de
(Hendrik S. Roepcke) wrote:
> Hello,
>
> very often during compling a software package, I get
> problems with missing definitions or incompatible
> calls.
>
> What is about this /usr/lib/cmplrs/cc/cfe ???
>
> Panther
>
> PS: Here is dUnix 3.2C...
I have also had this problem a lot. Does anybody know why?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Prob: /usr/lib/cmplrs/cc/cfe ...
1996-04-01 5:00 Prob: /usr/lib/cmplrs/cc/cfe Hendrik S. Roepcke
1996-04-02 5:00 ` Sean Murphy
@ 1996-04-16 4:00 ` Tom Carlson
1 sibling, 0 replies; 3+ messages in thread
From: Tom Carlson @ 1996-04-16 4:00 UTC (permalink / raw)
In article <4jouon$k4@jungle.toppoint.de>, panther@jungle.toppoint.de (Hendrik S. Roepcke) writes:
|>Hello,
|>
|>very often during compling a software package, I get
|>problems with missing definitions or incompatible
|>calls.
|>
|>What is about this /usr/lib/cmplrs/cc/cfe ???
It's the resident C compiler on your system.
If you compile -v, you should notice some sequence such as the
following (reformatted):
> cc -v calc.c -o calc
/usr/lib/cmplrs/cc/cfe -DLANGUAGE_C -Dunix -D__LANGUAGE_C__
-D__unix__ -D__osf__ -D__alpha -D_LONGLONG -D_CFE -DSYSTYPE_BSD
-D_SYSTYPE_BSD -I/usr/include3.11 -Xv -Xg0 -Xdollar -O1 -std0
-XS/tmp/ctmstaayDta calc.c > /tmp/ctmfaayDta
/usr/lib/cmplrs/cc/ugen -v -G 8 -g0 -O1 /tmp/ctmfaayDta
-o /tmp/ctmcaayDta -t /tmp/ctmstaayDta -temp /tmp/ctmgtaayDta
/usr/lib/cmplrs/cc/as1 -v -G 8 -p0 -g0 -O1 /tmp/ctmcaayDta
-o calc.o -t /tmp/ctmstaayDta
/usr/lib/cmplrs/cc/ld -o calc -g0 -O1 -call_shared
/usr/lib/cmplrs/cc/crt0.o calc.o -lc
First, the "cc" driver invokes /usr/lib/cmplrs/cc/cfe on calc.c,
(the acc C front-end), and tells it to generate a temp file
consisting of internal compiler format into /tmp .
Then "cc" tells the ugen phase to process that temp file into
assembler format. Then "cc" tells the assembler (as1) to finally
generate a calc.o . Finally "cc" instructs the linker (ld) to
wrap everything up into executable image calc.
Exercise to the reader: check out the difference in behavior if
you also specify -migrate on your original "cc" commandline. This
has the effect of telling the driver to use DEC C, instead of acc.
DEC C is in the process of supplanting acc as the default compiler
on Digital Unix.
Tom
--
Thomas Carlson, DEC C/ DEC C++ carlson@decc.enet.dec.com
Digital Equipment Corporation, ZK2-3/N30
110 Spitbrook Rd,
Nashua, NH 03062
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-04-16 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-01 5:00 Prob: /usr/lib/cmplrs/cc/cfe Hendrik S. Roepcke
1996-04-02 5:00 ` Sean Murphy
1996-04-16 4:00 ` Tom Carlson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox