Next: Configuration query
Up: The external interface
Previous: The external interface
  Contents
tcc invokes the external program with a keyword indicating
the desired operation, followed by more arguments specific to the
operation, and optional user arguments.
The following operations are possible:
- config
- obtain general configuration parameters for the
external target.
- probe
- verify whether the requested configuration can be
supported by the external target.
- build
- generate all components necessary to implement the
configuration. If possible, the external program should not
implement parts of the configuration during the build run, i.e. if
the external program needs to configure a hardware accelerator, it
should generate the kernel modules needed to set up the hardware,
and not manipulate the hardware by itself.
The program must have the name tcc-ext-external_target,
and tcc must be able to find it in the PATH.
User arguments are passed on the tcc or tcsim command line
with the
-X
option for phase x, see sections 5.1.1 and 5.1.2.
Subsections
Next: Configuration query
Up: The external interface
Previous: The external interface
  Contents
Martin A. Brown
2003-11-06