This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: C compiller cannot create executables


Eric Blake пишет:
-----BEGIN PGP SIGNED MESSAGE-----
Somewhere in config.log should be a line that includes the text 'default
output file name', and that will tell you why configure thinks your C
compiler doesn't work.  If you can't decipher that message, then send us
the output of:
grep -A50 'default output file name' config.log


Seems it's lost (") character somewere...?


$ grep -A50 'default output file name' config.log
configure:1799: checking for C compiler default output file name
configure:1802: gcc    conftest.c  >&5
conftest.c:12: error: missing terminating " character
configure:1805: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define SDCC_VERSION_LO 6
| #define SDCC_VERSION_HI 2
| #define SDCC_VERSION_P 1
" #define SDCC_VERSION_STR "2.6.1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1844: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_docdir_set=
ac_cv_env_docdir_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_include_dir_suffix_set=
ac_cv_env_include_dir_suffix_value=
ac_cv_env_lib_dir_suffix_set=


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]