* Internal c89 error
@ 1995-09-25 4:00 Erik Green
1995-10-07 4:00 ` Mark Charette
0 siblings, 1 reply; 7+ messages in thread
From: Erik Green @ 1995-09-25 4:00 UTC (permalink / raw)
Greetings, all;
I have encountered the following error compiling the Aladdin ghostscript
package: (as an aside, is there an e-mail address to report compiler
problems to Digital?)
Error generated 9/25/95, compiling gdevcdj.c for Aladdin ghostscript 3.33
uopt: Warning: hp_colour_print_page: this procedure not optimized because it
exceeds size threshold; to optimize this procedure, use -Olimit option
with value >= 619.
ugen: internal : line 1100 : ../../../../../../src/usr/ccs/bin/ugen/eval.p, lin
e 2005
illegal size in load/store
mv: rename _temp_9814.o to gdevcdj.o: No such file or directory
I'm using dUNIX 3.2, with the patch installed to run FreePort express
(which works pretty well, but I still haven't been able to get Acrobat
to work all the way).
For right now, I'm going to skip the deskjet drivers.
Thanks for any information,
Erik Green
--
Erik Green longshot@krypton.mankato.msus.edu | erik@argon.mankato.msus.edu
Better tried by twelve than carried by six. -- Jeff Cooper
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Internal c89 error
1995-09-25 4:00 Internal c89 error Erik Green
@ 1995-10-07 4:00 ` Mark Charette
1995-10-09 4:00 ` Dan Pop
0 siblings, 1 reply; 7+ messages in thread
From: Mark Charette @ 1995-10-07 4:00 UTC (permalink / raw)
Erik Green (longshot@finrod.mankato.msus.edu) wrote:
: Greetings, all;
: I have encountered the following error compiling the Aladdin ghostscript
: package: (as an aside, is there an e-mail address to report compiler
: problems to Digital?)
Curiosity - why aren't you using cc -migrate or cc ? c89 is loaded for the
older C++ compilers only because of compatibility issues.
--
Mark Charette charette@mika.com
MIKA Systems, Inc
17197 N. Laurel Park Dr Suite 115
Livonia, MI 48152
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Internal c89 error
1995-10-07 4:00 ` Mark Charette
@ 1995-10-09 4:00 ` Dan Pop
1995-10-11 4:00 ` Mark Charette
0 siblings, 1 reply; 7+ messages in thread
From: Dan Pop @ 1995-10-09 4:00 UTC (permalink / raw)
In <456442$b3i@eccdb1.pms.ford.com> charette@ultoe.det.dec.com (Mark Charette) writes:
>Erik Green (longshot@finrod.mankato.msus.edu) wrote:
>
>
>: Greetings, all;
>
>: I have encountered the following error compiling the Aladdin ghostscript
>: package: (as an aside, is there an e-mail address to report compiler
>: problems to Digital?)
>
>Curiosity - why aren't you using cc -migrate or cc ? c89 is loaded for the
>older C++ compilers only because of compatibility issues.
Huh? As far as I can tell, c89 is simply a different front end to exactly
the same compiler. The main difference between cc and c89 is that one
invokes /usr/lib/cmplrs/cc/cfe with the -std0 option (extended K&R) and
the other with -std1 (ANSI). What am I missing?
The one which is loaded for the C++ compiler is named oldc89.
Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Internal c89 error
1995-10-09 4:00 ` Dan Pop
@ 1995-10-11 4:00 ` Mark Charette
1995-10-12 4:00 ` Dan Pop
0 siblings, 1 reply; 7+ messages in thread
From: Mark Charette @ 1995-10-11 4:00 UTC (permalink / raw)
Dan Pop (Dan.Pop@mail.cern.ch) wrote:
: In <456442$b3i@eccdb1.pms.ford.com> charette@ultoe.det.dec.com (Mark Charette) writes:
B
: >Curiosity - why aren't you using cc -migrate or cc ? c89 is loaded for the
: >older C++ compilers only because of compatibility issues.
: Huh? As far as I can tell, c89 is simply a different front end to exactly
: the same compiler. The main difference between cc and c89 is that one
: invokes /usr/lib/cmplrs/cc/cfe with the -std0 option (extended K&R) and
: the other with -std1 (ANSI). What am I missing?
: The one which is loaded for the C++ compiler is named oldc89.
My partial mistake. DEC C++ previously used the c89 compiler - it no longer
does (as of V 5.0). c89 is now a front end to the cc command for compatibility
with older makefiles using the c89 command. oldc89 is a very old C compiler
that DEC will not support in the future - they recommend using cc -migrate.
This is from the release notes in /usr/ccs/lib/cmplrs/cxx, where there are
more gory details.
--
Mark Charette charette@mika.com
MIKA Systems, Inc
17197 N. Laurel Park Dr Suite 115
Livonia, MI 48152
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Internal c89 error
1995-10-11 4:00 ` Mark Charette
@ 1995-10-12 4:00 ` Dan Pop
1995-10-12 4:00 ` Mark Charette
0 siblings, 1 reply; 7+ messages in thread
From: Dan Pop @ 1995-10-12 4:00 UTC (permalink / raw)
In <45fatr$o22@pms507.pms.ford.com> charette@ultoe.det.dec.com (Mark Charette) writes:
>My partial mistake. DEC C++ previously used the c89 compiler - it no longer
>does (as of V 5.0). c89 is now a front end to the cc command for compatibility
>with older makefiles using the c89 command.
I guess the primary reason for the c89 command is POSIX.2 compliance and
not compatibility with older makefiles. Or isn't DEC OSF/1 claiming
POSIX compliance any longer?
And c89 is _by no means_ a front end to cc:
ues5:~/FAQ 124> ls -l /usr/bin/cc /usr/bin/c89
lrwxrwxrwx 1 root system 23 Jun 12 14:37 /usr/bin/c89 -> ../lib/cmplrs/cc/driver
lrwxrwxrwx 1 root system 23 Jun 12 14:37 /usr/bin/cc -> ../lib/cmplrs/cc/driver
ues5:~/FAQ 125> uname -a
OSF1 ues5.cern.ch V3.2 17 alpha
Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Internal c89 error
1995-10-12 4:00 ` Dan Pop
@ 1995-10-12 4:00 ` Mark Charette
1995-10-13 4:00 ` Dan Pop
0 siblings, 1 reply; 7+ messages in thread
From: Mark Charette @ 1995-10-12 4:00 UTC (permalink / raw)
Dan Pop (Dan.Pop@mail.cern.ch) wrote:
: I guess the primary reason for the c89 command is POSIX.2 compliance and
: not compatibility with older makefiles. Or isn't DEC OSF/1 claiming
: POSIX compliance any longer?
It's not explicitly stated. man standards mentions 1003.1, XPG4, AES,
FIPS 151-2, SVID 2 and SVID 3. man c89 gives no hint (it's the same page
as cc).
: And c89 is _by no means_ a front end to cc:
: ues5:~/FAQ 124> ls -l /usr/bin/cc /usr/bin/c89
: lrwxrwxrwx 1 root system 23 Jun 12 14:37 /usr/bin/c89 -> ../lib/cmplrs/cc/driver
: lrwxrwxrwx 1 root system 23 Jun 12 14:37 /usr/bin/cc -> ../lib/cmplrs/cc/driver
: ues5:~/FAQ 125> uname -a
: OSF1 ues5.cern.ch V3.2 17 alpha
pinanatubo> c89 -v foo.c
/usr/lib/cmplrs/cc/cfe -D__LANGUAGE_C__ -D__unix__ -D__osf__ -D__alpha -D_LONGLO
NG -D_CFE -D_SYSTYPE_BSD -I/usr/include3.11 -Xv -Xg0 -O1 -std1 -XS/tmp/ctmstaaar
Aa foo.c > /tmp/ctmfaaarAa
/usr/lib/cmplrs/cc/cfe: main 0.0u 0.0s 0:00 66% 0+2k 0+0io 0pf+0w
/usr/lib/cmplrs/cc/ugen -v -G 8 -g0 -O1 /tmp/ctmfaaarAa -o /tmp/ctmcaaarAa -t /t
mp/ctmstaaarAa -temp /tmp/ctmgtaaarAa
ugen: main
0.0u 0.0s 0:00 50% 0+1k 0+0io 0pf+0w
/usr/lib/cmplrs/cc/as1 -v -G 8 -p0 -g0 -O1 /tmp/ctmcaaarAa -o foo.o -t /tmp/ctms
taaarAa
as1: main
0.0u 0.0s 0:00 50% 0+3k 0+0io 0pf+0w
/usr/lib/cmplrs/cc/ld -g0 -O1 -call_shared /usr/lib/cmplrs/cc/crt0.o foo.o -lc
0.0u 0.0s 0:00 60% 0+7k 0+0io 0pf+0w
pinatubo> cc -v foo.c
/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 -X
v -Xg0 -Xdollar -O1 -std0 -XS/tmp/ctmstaaasfa foo.c > /tmp/ctmfaaasfa
/usr/lib/cmplrs/cc/cfe: main 0.0u 0.0s 0:00 66% 0+2k 0+0io 0pf+0w
/usr/lib/cmplrs/cc/ugen -v -G 8 -g0 -O1 /tmp/ctmfaaasfa -o /tmp/ctmcaaasfa -t /t
mp/ctmstaaasfa -temp /tmp/ctmgtaaasfa
ugen: main
0.0u 0.0s 0:00 33% 0+1k 0+0io 0pf+0w
/usr/lib/cmplrs/cc/as1 -v -G 8 -p0 -g0 -O1 /tmp/ctmcaaasfa -o foo.o -t /tmp/ctms
taaasfa
as1: main
0.0u 0.0s 0:00 50% 0+2k 0+0io 0pf+0w
/usr/lib/cmplrs/cc/ld -g0 -O1 -call_shared /usr/lib/cmplrs/cc/crt0.o foo.o -lc
0.0u 0.0s 0:00 80% 0+5k 0+0io 0pf+0w
pinatubo> cc -v -migrate foo.c
/usr/lib/cmplrs/cc/gemc_cc -D__LANGUAGE_C__ -D__unix__ -D__osf__ -D__alpha -D_SY
STYPE_BSD -D_LONGLONG -DLANGUAGE_C -Dunix -DSYSTYPE_BSD -I/usr/include3.11 -g1 -
O1 -common -o foo.o foo.c
0.0u 0.0s 0:00 90% 4+7k 0+0io 0pf+0w
/usr/lib/cmplrs/cc/ld -g0 -O1 -std0 -call_shared /usr/lib/cmplrs/cc/crt0.o foo.o
-lots -lc
0.0u 0.0s 0:00 83% 0+5k 0+0io 0pf+0w
It appears to me that c89 and cc are pretty much the same thing (both call cfe
via the driver). cc -migrate calls the gem C compiler.
--
Mark Charette charette@mika.com
MIKA Systems, Inc
17197 N. Laurel Park Dr Suite 115
Livonia, MI 48152
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Internal c89 error
1995-10-12 4:00 ` Mark Charette
@ 1995-10-13 4:00 ` Dan Pop
0 siblings, 0 replies; 7+ messages in thread
From: Dan Pop @ 1995-10-13 4:00 UTC (permalink / raw)
In <45j0nj$2r3@pms507.pms.ford.com> charette@ultoe.det.dec.com (Mark Charette) writes:
>It appears to me that c89 and cc are pretty much the same thing (both call cfe
>via the driver).
This was precisely my point. c89 is _not_ a front end to cc as "someone"
claimed in a previous article.
>cc -migrate calls the gem C compiler.
And so does c89 -migrate. Obviously.
Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1995-10-13 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-25 4:00 Internal c89 error Erik Green
1995-10-07 4:00 ` Mark Charette
1995-10-09 4:00 ` Dan Pop
1995-10-11 4:00 ` Mark Charette
1995-10-12 4:00 ` Dan Pop
1995-10-12 4:00 ` Mark Charette
1995-10-13 4:00 ` Dan Pop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox