Method and apparatus for automatically logging compiler options

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 945

Patent

active

059602023

ABSTRACT:
The present invention provides a method and apparatus for automatically logging compiler options currently being used in a build environment and/or for replacing or supplementing the current compiler options with new compiler options without necessarily modifying the build environment. In accordance with a first embodiment of the present invention, a wrapper program is stored at a location in memory where the compiler program normally resides. Whenever a compiler user invokes the build process program, a command is generated which is intended to invoke the compiler program. However, instead of the compiler program being invoked by the command, the wrapper program is invoked. The wrapper program comprises a software routine which analyzes the compiler commands to determine which compiler options are designated in the compiler commands. The wrapper program causes a log file of the compiler options contained in the compiler commands to be generated, which is readable by a human and/or by a machine. The wrapper program then causes the compiler program to be invoked and the compiler program then performs its normal functions. The wrapper program may be separate from the compiler program or it may be part of the compiler program. The log file generated by the wrapper program can be modified by a compiler user such that the current compiler options are replaced or supplemented with new compiler options. When the build process program invokes the wrapper program, the wrapper program causes new compiler commands to be generated which comprises the new compiler options, which may be in lieu of or in addition to the compiler options contained in the original compiler commands. The wrapper program then causes the compiler program to be invoked and the compiler program then functions in the normal manner using the options comprised in the new compiler commands. Rather than using the log file to generate new compiler options to be used by the compiler program, an environment variable can be set so that each time a source file is compiled, the compiler option set in the environment variable is used by the compiler program.

REFERENCES:
patent: 5613118 (1997-03-01), Heisch et al.
patent: 5815720 (1998-09-01), Buzbee
patent: 5819094 (1998-10-01), Sato et al.
patent: 5832508 (1998-11-01), Sherman et al.
Chang et al. Uding Profile Information to Assist Classic Code Optimizations, Software-Practice and Experience, pp. 1301-1321, Dec. 1991.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for automatically logging compiler options does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for automatically logging compiler options , we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for automatically logging compiler options will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-714329

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.