compiling
    gcc.htm
  1. gcc.htm
  • use a separate directory for compiling and for editing source code as per the following:

    
    
    
    AC_DEFUN([ACE_CHECK_FOR_CVS_DIR],
    
    [
    
     if test -d CVS; then
    
       AC_MSG_ERROR(
    
         [
    
          This error is meant for maintainers:
    
    
    
          Please configure and build in a non-CVS controlled directory.
    
          Doing so will prevent accidentally committing automatically
    
          generated files into the CVS repository and help ensure that
    
          the generated files and build scheme are correct.
    
    
    
          For example, try the following from the top-level source
    
          directory:
    
    
    
              mkdir objdir
    
              cd objdir
    
              ../configure
    
              make
    
    
    
          This will create a build space in the directory `objdir' and
    
          start a build in that directory.
    
         ])
    
     fi
    
    ])