[2534] in Athena Bugs

home help back first fref pref prev next nref lref last post

hc2 having some file getting problem

daemon@ATHENA.MIT.EDU (dachurch@ATHENA.MIT.EDU)
Sat Jul 8 20:10:15 1989

From: <dachurch@ATHENA.MIT.EDU>
Date: Sat, 8 Jul 89 20:09:59 -0400
To: bugs@ATHENA.MIT.EDU
ok.... here we go

achates% pcc -E moo > moo.s
achates% pcc -E moo.ca > moo.s
achates% pcc -E moo.c > moo.s
achates% ls -al moo*
-rw-rw-r--  1 dachurch     3235 Jul  8 19:52 moo
-rw-rw-r--  1 dachurch     3235 Jul  8 19:54 moo.c
-rw-rw-r--  1 dachurch     3235 Jul  8 19:54 moo.ca
-rw-rw-r--  1 dachurch      698 Jul  8 19:55 moo.s
achates% hc2 -E moo > moo.s
No source files specified.
achates% hc2 -E moo.c > moo.s
achates% hc2 -E moo.ca > moo.s
No source files specified.
achates% hc1 -E moo > moo.s
achates% hc1 -E moo.c > moo.s
achates% hc1 -E moo.ca > moo.s

the "No source files specified." looks kinda suspicious

even worse... for both hc and hc2

achates% /bin/hc1 -E moo.ca > moo.s
achates% ls -al moo*
-rw-rw-r--  1 dachurch     3235 Jul  8 19:52 moo
-rw-rw-r--  1 dachurch     3235 Jul  8 19:54 moo.c
-rw-rw-r--  1 dachurch     3235 Jul  8 19:54 moo.ca
-rw-rw-r--  1 dachurch        0 Jul  8 19:59 moo.s
achates% /bin/hc1 -E moo.c > moo.s
achates% ls -al moo*
-rw-rw-r--  1 dachurch     3235 Jul  8 19:52 moo
-rw-rw-r--  1 dachurch     3235 Jul  8 19:54 moo.c
-rw-rw-r--  1 dachurch     3235 Jul  8 19:54 moo.ca
-rw-rw-r--  1 dachurch      698 Jul  8 20:00 moo.s
 
if the file has .c it generates data, without it it doesnt.  
  Huh? why is this happening

	-DC, net.about.to.see.my.obvious.mistake.as.soon.as.I.send.this

ps.
  the files moo.c, moo, moo.ca look like
---
    .globl garbage
#if defined(vax)
    garbage
#endif
#if defined(sun)
    garbage
#endif
#if defined(ibm032)
    garbage
#endif
---

home help back first fref pref prev next nref lref last post