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]

newbie question


Hi 

I am a newbie using Cygwin and I have 2 problems:

Problem 1:

I am trying to compile CSCOPE for Cygwin (essentially for windows) and when
I try "./configure",
I am getting this error:
"checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details."

I googled on this error and found that if I put down a simple C file with
"gcc -v" I would be able to find 
More details on what kind of error it is, the "gcc -v" output is:

$ gcc -v -o myname myname.c
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure
--verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls
--without-included-gettext --enable-version-specific-runtime-libs
--without-x --enable-libgcj --disable-java-awt --with-system-zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions
--enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe -quiet -v -iprefix
/usr/local/bin/../lib/gcc/i686-pc-cygwin/3.4.4/ -D__CYGWIN32__ -D__CYGWIN__
-Dunix -D__unix__ -D__unix -idirafter ../include/w32api -idirafter
../../include/w32api myname.c -quiet -dumpbase myname.c -mtune=pentiumpro
-auxbase myname -version -o
/cygdrive/c/DOCUME~1/mvemuri/LOCALS~1/Temp/cclafM0O.s
ignoring nonexistent directory
"/usr/local/bin/../lib/gcc/i686-pc-cygwin/3.4.4/include"
ignoring nonexistent directory
"/usr/local/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/i
nclude"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/include"
ignoring nonexistent directory "../include/w32api"
ignoring nonexistent directory "../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/include
 /usr/include
End of search list.
GNU C version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
(i686-pc-cygwin)
        compiled by GNU C version 3.4.4 (cygming special, gdc 0.12, using
dmd 0.125).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe -o
/cygdrive/c/DOCUME~1/mvemuri/LOCALS~1/Temp/ccYYIndS.o
/cygdrive/c/DOCUME~1/mvemuri/LOCALS~1/Temp/cclafM0O.s
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/collect2.exe -Bdynamic
--dll-search-prefix=cyg -o myname.exe
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../crt0.o
-L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4
-L/usr/local/bin/../lib/gcc/i686-pc-cygwin/3.4.4/../../..
-L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../..
/cygdrive/c/DOCUME~1/mvemuri/LOCALS~1/Temp/ccYYIndS.o -lgcc -lcygwin
-luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot
find -luser32
collect2: ld returned 1 exit status

Problem No: 2

When I am in insert mode of VIM editor on Cygwin, UP Arrow is not moving the
cursor to the line above
But inserting some a blank line with "D" as the only character above the
current line.
Am I missing something TERMINAL TYPE here ?

Can anybody help me with these problems?

Regards
MKV

--
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]