2005/5/10

     
 

ACDK Make targets

artefaktur

acdkmake supports several platforms and compilers.
It automatically try to find a suitable compiler to translate a source.



Content of this chapter:

   About Targets
   Selecting targets
   Available Targets
     linux
     vc
     vc7
     bsd
     bcc
     sungcc
     lintel
     mingw



 About Targets

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
.

 Selecting targets

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.


 Available Targets

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.

 linux

  • Platform: Linux
  • Compiler gcc
  • Shell: bash/sh

     vc

  • Platform: Windows NT, XP.
  • Compiler: Visual C++ 6.0
  • Shell: cmd

     vc7

    Same as  vc but using Visual C++ 7 or higher

     bsd

  • Platform: FreeBSD
  • Compiler: gcc
  • Shell: bash/sh

     bcc

  • Platform: Windows NT, XP.
  • Compiler: Borland C++ 5.5.x
  • Shell: cmd

     sungcc

  • Platform: Solaris.
  • Compiler: gcc
  • Shell: bash/sh

     lintel

  • Platform: Linux.
  • Compiler: Intel C++
  • Shell: bash/sh

     mingw

  • Platform: Windows NT/XP.
  • Compiler: gcc
  • Shell: cmd