Clang Problem Running Files Continued

Additional details to my previous email.

I’ve tried with the command clang test.cpp, clang++ test.cpp and also with a test.c file as well.

When I followed the directions to get the path for C++ libraries (‘gcc -v -x c++ /dev/null -fsyntax-only’ to get the path.) I didnt get any paths that were in my system or that I could find.

Also I’m using cygwin for clang, on Windows 7 64 bit.

Any help would be appreciated.

Brett,

Please make sure;

0) Cygwin-1.5 is not supported. (and IIRC, cygwin-1.5 would be
unavailable on windows 7)

1) your gcc.exe is gcc-4. clang/cygwin relies on gcc driver for linking.
  $ gcc --version
  gcc (GCC) 4.3.4 20090804 (release) 1

2) Run clang with -v
  $ /path/to/clang -v test.c

X) By the way, where is clang installed to?
  $ which clang

Note. clang/cygwin emits "a.out" as executable by default. you may run
it with "./a.out".

...Takumi