Other HI-TECH Compilers & Products >> Other HI-TECH Compilers & Products

Pages: 1
cybertheque



Reged: Mar 19 2007
Posts: 8
Arguments and options to compiler pass programs
      #26751 - Sat Mar 24 2007 06:03 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
luckyAdministrator
HI-TECH team member
*****

Reged: Oct 06 2003
Posts: 1054
Loc: Brisbane, Australia
Re: Arguments and options to compiler pass programs [Re: cybertheque]
      #26755 - Sat Mar 24 2007 06:50 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
cybertheque



Reged: Mar 19 2007
Posts: 8
Re: Arguments and options to compiler pass programs [Re: lucky]
      #26756 - Sat Mar 24 2007 08:44 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
luckyAdministrator
HI-TECH team member
*****

Reged: Oct 06 2003
Posts: 1054
Loc: Brisbane, Australia
Re: Arguments and options to compiler pass programs [Re: cybertheque]
      #26760 - Sun Mar 25 2007 05:21 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
cybertheque



Reged: Mar 19 2007
Posts: 8
Re: Arguments and options to compiler pass programs [Re: lucky]
      #26881 - Mon Apr 02 2007 09:15 PM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  ndouglas, jtemples, Dan Henry, Andrew L, mikerj, dave g, meisty, josh stevo 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Topic views: 2373

Rate this topic

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5