Répondre à la discussion
Affichage des résultats 1 à 3 sur 3

cygwin C++ compiler



  1. #1
    Stanley666

    Exclamation cygwin C++ compiler


    ------

    Bonjour,

    J'ai cygwin sur mon ordinateur personnel avec windows xp, je lance ./configure et il me renvoit C++ compiler cannot create executables.
    Pourtant j'arrive à utiliser cette commande avec cygwin pour la même installation au travail. Quelqu'un aurait-il une idée d'où peut provenir le bug et comment le solutionner ?

    Ci-dessous le fichier config.log

    Code:
    This file contains any messages produced by compilers while 
    running configure, to aid debugging if configure makes a mistake. 
    
    It was created by configure, which was 
    generated by GNU Autoconf 2.61. Invocation command line was 
    
    $ ./configure 
    
    ## --------- ## 
    ## Platform. ## 
    ## --------- ## 
    
    hostname = BETAPLUS 
    uname -m = i686 
    uname -r = 1.5.25(0.156/4/2) 
    uname -s = CYGWIN_NT-5.1 
    uname -v = 2008-06-12 19:34 
    
    /usr/bin/uname -p = unknown 
    /bin/uname -X = unknown 
    
    /bin/arch = i686 
    /usr/bin/arch -k = unknown 
    /usr/convex/getsysinfo = unknown 
    /usr/bin/hostinfo = unknown 
    /bin/machine = unknown 
    /usr/bin/oslevel = unknown 
    /bin/universe = unknown 
    
    PATH: /usr/local/bin 
    PATH: /usr/bin 
    PATH: /bin 
    PATH: /usr/X11R6/bin 
    PATH: /cygdrive/c/texmf/miktex/bin 
    PATH: /cygdrive/c/WINDOWS/system32 
    PATH: /cygdrive/c/WINDOWS 
    PATH: /cygdrive/c/WINDOWS/System32/Wbem 
    PATH: /cygdrive/c/Python22 
    PATH: /cygdrive/c/matlab6p5/bin/win32 
    PATH: /cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/ 
    PATH: /cygdrive/c/Program Files/QuickTime/QTSystem/ 
    PATH: /usr/bin 
    PATH: /usr/bin 
    PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT 
    PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin 
    PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools 
    PATH: /cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin 
    PATH: /cygdrive/c/PROGRA~1/FICHIE~1/MUVEET~1/030625 
    PATH: /usr/lib/lapack 
    
    
    ## ----------- ## 
    ## Core tests. ## 
    ## ----------- ## 
    
    configure:2072: checking for a BSD-compatible install 
    configure:2128: result: /usr/bin/install -c 
    configure:2139: checking whether build environment is sane 
    configure:2182: result: yes 
    configure:2197: checking for a thread-safe mkdir -p 
    configure:2236: result: /usr/bin/mkdir -p 
    configure:2249: checking for gawk 
    configure:2265: found /usr/bin/gawk 
    configure:2276: result: gawk 
    configure:2287: checking whether make sets $(MAKE) 
    configure:2308: result: yes 
    configure:2558: checking for g++ 
    configure:2574: found /usr/bin/g++ 
    configure:2585: result: g++ 
    configure:2616: checking for C++ compiler version 
    configure:2623: g++ --version >&5 
    g++ (GCC) 4.3.0 20080305 (alpha-testing) 1 
    Copyright (C) 2008 Free Software Foundation, Inc. 
    This is free software; see the source for copying conditions. There is NO 
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
    
    configure:2626: $? = 0 
    configure:2633: g++ -v >&5 
    Using built-in specs. 
    Target: i686-pc-cygwin 
    Configured with: /gnu/gcc/release/gcc4-4.3.0-1/src/gcc-4.3.0/configure --srcdir=/gnu/gcc/release/gcc4-4.3.0-1/src/gcc-4.3.0 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --enable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava 
    Thread model: single 
    gcc version 4.3.0 20080305 (alpha-testing) 1 (GCC) 
    configure:2636: $? = 0 
    configure:2643: g++ -V >&5 
    g++: '-V' option must have argument 
    configure:2646: $? = 1 
    configure:2669: checking for C++ compiler default output file name 
    configure:2696: g++ conftest.cpp >&5 
    configure:2699: $? = 1 
    configure:2737: result: 
    configure: failed program was: 
    | /* confdefs.h. */ 
    | #define PACKAGE_NAME "" 
    | #define PACKAGE_TARNAME "" 
    | #define PACKAGE_VERSION "" 
    | #define PACKAGE_STRING "" 
    | #define PACKAGE_BUGREPORT "" 
    | #define MAJOR_VERSION 3 
    | #define MINOR_VERSION 1 
    | #define PATCH_VERSION 0 
    | #define PACKAGE "getfem++" 
    | #define VERSION "3.1" 
    | /* end confdefs.h. */ 
    | 
    | int 
    | main () 
    | { 
    | 
    | ; 
    | return 0; 
    | } 
    configure:2744: error: C++ compiler cannot create executables 
    See `config.log' for more details. 
    
    ## ---------------- ## 
    ## Cache variables. ## 
    ## ---------------- ## 
    
    ac_cv_env_CCC_set= 
    ac_cv_env_CCC_value= 
    ac_cv_env_CC_set= 
    ac_cv_env_CC_value= 
    ac_cv_env_CFLAGS_set= 
    ac_cv_env_CFLAGS_value= 
    ac_cv_env_CPPFLAGS_set= 
    ac_cv_env_CPPFLAGS_value= 
    ac_cv_env_CPP_set= 
    ac_cv_env_CPP_value= 
    ac_cv_env_CXXCPP_set= 
    ac_cv_env_CXXCPP_value= 
    ac_cv_env_CXXFLAGS_set= 
    ac_cv_env_CXXFLAGS_value= 
    ac_cv_env_CXX_set= 
    ac_cv_env_CXX_value= 
    ac_cv_env_F77_set= 
    ac_cv_env_F77_value= 
    ac_cv_env_FCFLAGS_set= 
    ac_cv_env_FCFLAGS_value= 
    ac_cv_env_FC_set= 
    ac_cv_env_FC_value= 
    ac_cv_env_FFLAGS_set= 
    ac_cv_env_FFLAGS_value= 
    ac_cv_env_LDFLAGS_set= 
    ac_cv_env_LDFLAGS_value= 
    ac_cv_env_LIBS_set= 
    ac_cv_env_LIBS_value= 
    ac_cv_env_PYTHON_VERSION_set= 
    ac_cv_env_PYTHON_VERSION_value= 
    ac_cv_env_build_alias_set= 
    ac_cv_env_build_alias_value= 
    ac_cv_env_host_alias_set= 
    ac_cv_env_host_alias_value= 
    ac_cv_env_target_alias_set= 
    ac_cv_env_target_alias_value= 
    ac_cv_path_install='/usr/bin/install -c' 
    ac_cv_path_mkdir=/usr/bin/mkdir 
    ac_cv_prog_AWK=gawk 
    ac_cv_prog_ac_ct_CXX=g++ 
    ac_cv_prog_make_make_set=yes 
    
    ## ----------------- ## 
    ## Output variables. ## 
    ## ----------------- ## 
    
    ACLOCAL='${SHELL} /home/HP_Propriétaire/getfem++-3.1/missing --run aclocal-1.10' 
    AMDEPBACKSLASH='' 
    AMDEP_FALSE='' 
    AMDEP_TRUE='' 
    AMTAR='${SHELL} /home/HP_Propriétaire/getfem++-3.1/missing --run tar' 
    AR='' 
    AUTOCONF='${SHELL} /home/HP_Propriétaire/getfem++-3.1/missing --run autoconf' 
    AUTOHEADER='${SHELL} /home/HP_Propriétaire/getfem++-3.1/missing --run autoheader' 
    AUTOMAKE='${SHELL} /home/HP_Propriétaire/getfem++-3.1/missing --run automake-1.10' 
    AWK='gawk' 
    BLAS_LIBS='' 
    BUILDDATE='' 
    BUILDER='' 
    BUILDMEXRPC_FALSE='' 
    BUILDMEXRPC_TRUE='' 
    BUILDMEX_FALSE='' 
    BUILDMEX_TRUE='' 
    BUILDPYTHON_FALSE='' 
    BUILDPYTHON_TRUE='' 
    CC='' 
    CCDEPMODE='' 
    CFLAGS='' 
    CONFIGURE_ARGS='' 
    CPP='' 
    CPPFLAGS='' 
    CXX='g++' 
    CXXCPP='' 
    CXXDEPMODE='' 
    CXXFLAGS='' 
    CYGPATH_W='cygpath -w' 
    DEFS='' 
    DEPDIR='' 
    DISTCLEANMESH='' 
    ECHO='echo' 
    ECHO_C='' 
    ECHO_N='-n' 
    ECHO_T='' 
    EGREP='' 
    EXEEXT='' 
    F77='' 
    FC='' 
    FCFLAGS='' 
    FCLIBS='' 
    FFLAGS='' 
    GETFEM_SERVER='' 
    GFSERVERFLAGS='' 
    GREP='' 
    INSTALL_DATA='${INSTALL} -m 644' 
    INSTALL_PROGRAM='${INSTALL}' 
    INSTALL_SCRIPT='${INSTALL}' 
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' 
    LDFLAGS='' 
    LIBOBJS='' 
    LIBS='' 
    LIBTOOL='' 
    LIBTOOL_DEPS='' 
    LIBTOOL_VERSION_INFO='' 
    LN_S='' 
    LTLIBOBJS='' 
    MAKEINFO='${SHELL} /home/HP_Propriétaire/getfem++-3.1/missing --run makeinfo' 
    MATLAB_COM_EXT='' 
    MATLAB_INC_DIR='' 
    MATLAB_RELEASE='' 
    MATLAB_ROOT='' 
    MEX='' 
    MPI_CLAGS='' 
    MPI_LIBS='' 
    MUMPS_CFLAGS='' 
    MUMPS_LIBS='' 
    OBJEXT='' 
    PACKAGE='getfem++' 
    PACKAGE_BUGREPORT='' 
    PACKAGE_NAME='' 
    PACKAGE_STRING='' 
    PACKAGE_TARNAME='' 
    PACKAGE_VERSION='' 
    PATH_SEPARATOR=':' 
    PYTHON='' 
    PYTHON_CPPFLAGS='' 
    PYTHON_EXEC_PREFIX='' 
    PYTHON_EXTRA_LDFLAGS='' 
    PYTHON_EXTRA_LIBS='' 
    PYTHON_LDFLAGS='' 
    PYTHON_PLATFORM='' 
    PYTHON_PREFIX='' 
    PYTHON_SITE_PKG='' 
    PYTHON_VERSION='' 
    QHULL_FALSE='' 
    QHULL_TRUE='' 
    RANLIB='' 
    RPC_INC_DIR='' 
    RPC_LIB='' 
    SED='' 
    SET_MAKE='' 
    SHELL='/bin/sh' 
    STDCPP_STATICLIBS='' 
    STRIP='' 
    SUPERLU_CPPFLAGS='' 
    SUPLDFLAGS='' 
    TOOLBOXDIR='' 
    USEBLASLITE_FALSE='' 
    USEBLASLITE_TRUE='' 
    USE_MINGW_MEX_FALSE='' 
    USE_MINGW_MEX_TRUE='' 
    VERSION='3.1' 
    ac_ct_CC='' 
    ac_ct_CXX='g++' 
    ac_ct_F77='' 
    ac_ct_FC='' 
    am__fastdepCC_FALSE='' 
    am__fastdepCC_TRUE='' 
    am__fastdepCXX_FALSE='' 
    am__fastdepCXX_TRUE='' 
    am__include='' 
    am__isrc='' 
    am__leading_dot='.' 
    am__quote='' 
    am__tar='${AMTAR} chof - "$$tardir"' 
    am__untar='${AMTAR} xf -' 
    bindir='${exec_prefix}/bin' 
    build='' 
    build_alias='' 
    build_cpu='' 
    build_os='' 
    build_vendor='' 
    datadir='${datarootdir}' 
    datarootdir='${prefix}/share' 
    docdir='${datarootdir}/doc/${PACKAGE}' 
    dvidir='${docdir}' 
    exec_prefix='NONE' 
    host='' 
    host_alias='' 
    host_cpu='' 
    host_os='' 
    host_vendor='' 
    htmldir='${docdir}' 
    includedir='${prefix}/include' 
    infodir='${datarootdir}/info' 
    install_sh='$(SHELL) /home/HP_Propriétaire/getfem++-3.1/install-sh' 
    libdir='${exec_prefix}/lib' 
    libexecdir='${exec_prefix}/libexec' 
    localedir='${datarootdir}/locale' 
    localstatedir='${prefix}/var' 
    mandir='${datarootdir}/man' 
    mkdir_p='/usr/bin/mkdir -p' 
    oldincludedir='/usr/include' 
    pdfdir='${docdir}' 
    pkgpyexecdir='' 
    pkgpythondir='' 
    prefix='NONE' 
    program_transform_name='s,x,x,' 
    psdir='${docdir}' 
    pyexecdir='' 
    pythondir='' 
    sbindir='${exec_prefix}/sbin' 
    sharedstatedir='${prefix}/com' 
    sysconfdir='${prefix}/etc' 
    target_alias='' 
    
    ## ----------- ## 
    ## confdefs.h. ## 
    ## ----------- ## 
    
    #define PACKAGE_NAME "" 
    #define PACKAGE_TARNAME "" 
    #define PACKAGE_VERSION "" 
    #define PACKAGE_STRING "" 
    #define PACKAGE_BUGREPORT "" 
    #define MAJOR_VERSION 3 
    #define MINOR_VERSION 1 
    #define PATCH_VERSION 0 
    #define PACKAGE "getfem++" 
    #define VERSION "3.1" 
    
    configure: exit 77

    Merci d'utiliser la balise "code" dans ce genre de cas.

    yoda1234.

    -----
    Dernière modification par yoda1234 ; 29/10/2008 à 07h21.

  2. #2
    Towl

    Re : cygwin C++ compiler

    Tu n'as pas du installer g++ qui correspond au compilateur c++
    The only limiting factor of the Linux operating system, is his user. - Linus Torvalds

  3. #3
    Stanley666

    Re : cygwin C++ compiler

    Merci pour ta réponse rapide. Suppossons que ça soit ça, comment est ce que je fais pour déterminer le g++ qui correspond à mon compilateur c++ ?

Discussions similaires

  1. Problème avec Cygwin
    Par Carrington dans le forum Logiciel - Software - Open Source
    Réponses: 1
    Dernier message: 16/02/2008, 21h31
  2. Après installation de Cygwin
    Par Premium dans le forum Logiciel - Software - Open Source
    Réponses: 0
    Dernier message: 02/02/2006, 18h28
  3. cygwin en mode comande ?
    Par vbcasimir dans le forum Logiciel - Software - Open Source
    Réponses: 0
    Dernier message: 03/02/2005, 14h59
  4. Probleme Avec Cygwin... et la compilation...
    Par SAMOURAI888 dans le forum Logiciel - Software - Open Source
    Réponses: 18
    Dernier message: 09/10/2004, 16h56
  5. Cygwin-Unix-Utiliser GCC
    Par JP dans le forum Logiciel - Software - Open Source
    Réponses: 10
    Dernier message: 28/10/2003, 20h22
Découvrez nos comparatifs produits sur l'informatique et les technologies.