Menu

Compile NCO as a C++ project

Developers
2002-12-11
2013-10-17
  • henry Butowsky

    henry Butowsky - 2002-12-11

    Hi Rorick or Charlie,
      How do I compile the nco project with g++
    ( I want to do this so I can pick up possible type errors which slip though gcc)

    regards Henry

     
    • Rorik Peterson

      Rorik Peterson - 2002-12-11

      Setting the environment variables CC and CXX overrides autoconf's preferred list of c and c++ compilers, respectively.  You can also pass the variables into configure, so to use the stable g++ as the c compiler and the development version of g++ as the c++ compiler, on my linux machine, I'd type:

      rorik@chabuku:~/nco: ./configure CC=g++ CXX=g++-3.2
      checking build system type... i686-pc-linux-gnu
      checking host system type... i686-pc-linux-gnu
      checking target system type... i686-pc-linux-gnu
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      ....

      rorik

       

Log in to post a comment.