acdkmake supports several platforms and compilers.
It automatically try to find a suitable compiler to
translate a source.
Because acdkmake supports several platforms and compilers,
a target is bundle of settings which specifies the needed
tools to compile, link, install, etc.
The targets are organized as an hierarchy. For example
the target linux is derived from the targets unix
and gcc.
The core target definition is defined in the file
cfg/cfginclude/compile_specs.cfg .
At the beginning starting acdkmc it try to
find a suitable target on the current enviromnent.
Therefore it try to figure out on what host type
acdkmake is running and try to figure out what compiler
works. On a MS Windows host it try to locate the Visual C++
compiler, and if this fails it looking for a Borland C++ compiler.
The variable AMAKE_TARGET set the build target.
You can list all supported targets with the -dump-targets
option.
To view the specs for a target you can use the
-dump-target <targetname> option.
Following targets are known by acdkmake.
Platform: Linux
Compiler gcc
Shell: bash/sh
Platform: Windows NT, XP.
Compiler: Visual C++ 6.0
Shell: cmd
Same as vc but using Visual C++ 7 or higher
Platform: FreeBSD
Compiler: gcc
Shell: bash/sh
Platform: Windows NT, XP.
Compiler: Borland C++ 5.5.x
Shell: cmd
Platform: Solaris.
Compiler: gcc
Shell: bash/sh
Platform: Linux.
Compiler: Intel C++
Shell: bash/sh
Platform: Windows NT/XP.
Compiler: gcc
Shell: cmd
|