T.R | Title | User | Personal Name | Date | Lines |
---|
236.1 | | TLE::BRETT | | Mon Jun 12 1989 20:07 | 11 |
| The only one that is at all well set up for this kind of reuse is the
VCG, used by C, PLI, Ada, and SCAN.
I forget who the current project leader is, TLE::CRAIG was until a
couple of weeks ago.
/Bevin
ps: Generating .OBJ files directly is REALLY EASY. Unless you really
want a COMPILER (optimiser etc.) it is easier to go straight to the
.OBJ file
|
236.2 | | AITG::VANROGGEN | | Mon Jun 12 1989 22:10 | 4 |
| Although it isn't exceedingly difficult, generating VMS object
files really isn't all *that* easy. Certainly I can think of
other operating systems where that chore is easier, albeit more
limited.
|
236.3 | | TOKLAS::FELDMAN | PDS, our next success | Mon Jun 12 1989 23:35 | 6 |
| Of course, there's always the simple, college compiler course approach,
which would be to generate .MAR files and run them through the VMS
assembler. Depending on the application, this might be a perfectly
acceptable solution.
Gary
|
236.4 | It isn't the college compiler problem | RICKS::MILLS | | Wed Jun 14 1989 11:08 | 6 |
| I'm using a gross short cut now; it's not really the same college
compiler problem. I wrote macros in macro-32 for
the "new" coprocessor instructions that generate .LONGs, .WORDS etc.
into the reserved PSECT (which gets sent to the coprocessor) and
it works ok but calling the macros is very akward syntax (i.e.
no special characters such as [],(),@ etc. can be used).
|
236.5 | Do it by hand? | JAMMER::JACK | Marty Jack | Wed Jun 14 1989 11:36 | 5 |
| I agree with Bevin (.1) -- it isn't that much work to generate a .OBJ
directly, especially if it can be arranged to have only immediate text,
which it sounds like it might. That's as compared to the work involved
in understanding how to use a relatively complex back end like VCG for
a relatively simple problem.
|
236.6 | .MAR->.OBJ is pretty easy | HACKIN::MACKIN | Jim Mackin, Aerospace Engineering | Sat Jun 17 1989 12:16 | 10 |
| Well, as someone who worked on a product (a compiler) where, insofar as
I know, the only doc we had about the layout of .OBJ files was from the
VAX/VMS Linker Manual, I don't agree that creating .OBJ files is all
that easy. If the doc were a bit more expansive and clear, then it
wouldn't be too hard.
When I had to create a .OBJ file that could be linked and only had
about a week to do it, I took the hack approach: generate a .MAR file
and invoke MACRO-32 to do the actual compile. It worked, albeit
slowly, and was written pretty quickly.
|
236.7 | | TLE::BRETT | | Mon Jun 19 1989 15:23 | 13 |
| Well, I did it when I was at university in Australia, using only
the VAX/VMS Linker Manual and the ANALYSE/OBJECT command, and did
an super-subset of Pascal without any serious problems.
Actually I thought this one one of DEC's better manuals, it had what
you needed to know, and not lots of verbosity around it...
I think if you had written simple .MAR examples of what you had wanted,
and then ANALYSE/OBJECT'ed them, you could have gotten it working in
the week.
/Bevin
|
236.8 | I remember that learning experience. | 16BITS::PUDER | Karl Puder, VAX APL Project Leader | Fri Sep 15 1989 17:58 | 13 |
| I think what Jim is talking about in .6 (I should know, I was in the
next office at the time) is that the linker manual tells you exactly
what the linker does with every .OBJ record type, but there is no
indication of why you'd want to do any of those things. I can pick up
almost any FORGOL language from a manual in that style because I have
plenty of background in that area. I can recognize the utility of
various functions/commands/statements because I've seen them before
with different names in other languages. The linker manual assumes you
know all about compiler innards before you start reading, which we
didn't. We didn't expect it to be a tutorial on compiler-writing, but
a little usage comment for each record type would have helped.
:Karl.
|
236.9 | Who? | SHALOT::WELTON | at a moment of critical pleasure... | Tue Jun 26 1990 17:23 | 5 |
| re: .1
Does anyone know who is the current project leader for VCG?
douglas
|