I am trying to build SDCC (snapshot - 6596) on cygwin. For this, I have downloaded the snapshot of src "sdcc-src-20110619-6596.tar.bz2".
Decompressed and extracted source using bzip2 and tar xvf commands respectively. Later, as per 2.4.4 sec in sdccman.pdf, I am using the script ’sdcc/support/scripts/sdcc_cygwin_mingw32’ for configuring and further build. I am running the script from the sdcc directory. However, I am encourntering an error => "configure: error: C compiler cannot create executables".
After observing the config.log, I suspect the error may be due to "-mno-cygwin" flag used with gcc compiler. gcc gives the following message:
"gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler".
I am herewith attaching the config.log for your reference & debugging.
Log in to post a comment.