cybertheque
Reged: Mar 19 2007
Posts: 8
|
|
Greetings:
I need as complete a description as possible of the arguments and options to the compiler pass programs. Information for any version will be helpful but info specific to the components from the i8096 compiler ver. 4.01 dated 1991 would be best.
The pass programs are: cpp.exe p1.exe cg(arch).exe eg. cg96.exe opt(arch).exe eg. opt96.exe
I need to generate symbol files which include source line numbers for use with 'lucifer' and 'acme' debuggers; currently this information is not passed through to the object file and the linker symbol file reflects that.
The 'c(arch).exe' command builds the argument lists to the passes and if '-g' is included the symbol file will contain line number information but I need to do this without using 'c(arch).exe' by manipulating the passes directly.
I currently have no non-trivial method to capture the exec'ed command strings from 'c(arch).exe'.
I am cross-posting this to several forums in hopes of broader readership and a response.
Regards,
Michael
|
lucky
HI-TECH team member
   
Reged: Oct 06 2003
Posts: 1054
Loc: Brisbane, Australia
|
|
Quote:
The 'c(arch).exe' command builds the argument lists to the passes and if '-g' is included the symbol file will contain line number information but I need to do this without using 'c(arch).exe' by manipulating the passes directly.
The driver's (c(arch).exe as you say) purpose is to run all the other components so that you don't have to. Why don't you want to use it?
Adding the -v (for verbose) option to the driver's command line will get it to display all of the command lines it uses to run the other components.
-------------------- Matt Luckman
HI-TECH Software
|
cybertheque
Reged: Mar 19 2007
Posts: 8
|
|
Thanks for the quick reply!
[quote]The driver's (c(arch).exe as you say) purpose is to run all the other components so that you don't have to. Why don't you want to use it?[/quote]
I have been running the components under a dos virtual machine in unix and need to control temp file locations, the use of unix paths and error processing amongst a range of things; I also process the intermediate files and have built automation around the components.
[quote]Adding the -v (for verbose) option to the driver's command line will get it to display all of the command lines it uses to to run the other components.[/quote]
I was aware of the -v switch and after I posted this query considered that perhaps its level of verboseness was greater than my assumptions of merely announcing a compiler phase; using the switch I was able to learn that the addition of '-d' to the code generator phase produced the necessary line numbers in the symbol file. This is with optimization off however and I will still need to investigate how that would interact with debugging.
One could always permute the various args in calls to the 'c' command to derive additional usage information; however in the interest of completeness I let my request stand for a formal description of the components' usage.
Thanks again,
Michael
|
lucky
HI-TECH team member
   
Reged: Oct 06 2003
Posts: 1054
Loc: Brisbane, Australia
|
|
Quote:
I have been running the components under a dos virtual machine in unix and need to control temp file locations, the use of unix paths and error processing amongst a range of things; I also process the intermediate files and have built automation around the components.
I was going to suggest using the unix version, however, a quick search has shown it is not on any live media we have here (must be on backup). This is a very old compiler - the last update that was done was about 16 years ago! If I happen to find anything, I'll let you know.
-------------------- Matt Luckman
HI-TECH Software
|
cybertheque
Reged: Mar 19 2007
Posts: 8
|
|
Quote:
Lucky wrote: I was going to suggest using the unix version, however, a quick search has shown it is not on any live media we have here (must be on backup). This is a very old compiler - the last update that was done was about 16 years ago! If I happen to find anything, I'll let you know.
Thanks! I'll appreciate your efforts!
Regards,
Michael
|