This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: New gcc/binutils available for testing


Chris Faylor wrote:

> ...

> Oops.  It looks like I had an environment variable set from an ancient
> version of CYGWIN -- LIBRARY_PATH.  If you set that to /usr/lib it
> seems to find things correctly.


OK, I gave this a try and trivial programs compile correctly.

However, when "-mno-cygwin" is used, it doesn't find any of the standard
header files (stdio.h, windows.h, etc.).  I have attached output from "gcc
-v" .

Also, it i linking with both crtdll.dll and msvcrt.dll.  Programs should be
linked against one or the other, but not both.  msvcrt.dll is preferred
because it is more stable and better tested.

> ...

> cgf

Thank you,
Carl Thompson
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/cpp.exe -lang-c++ -v -I.. -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Di386 -D_X86=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D_X86=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D_WIN32 -DWINNT -DWIN32 -D__WIN32__ -D__MSVCRT__ -D__MINGW32__=0.2 -nostdinc -nostdinc++ -iwithprefixbefore ../../../../mingw/include/g++-3 -iwithprefixbefore ../../../../i386-mingw32msvc/include/mingw32 -iwithprefixbefore ../../../../mingw/include -iwithprefixbefore ../../../../i386-mingw32msvc/include -iwithprefixbefore ../../i386-mingw32msvc/2.95.2/include Fl.cxx C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccoAHWlV.ii
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 ..
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include
 /usr/include
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/include
 /usr/include
End of omitted list.
In file included from ../FL/x.H:38,
                 from Fl.cxx:28:
../FL/win32.H:34: windows.h: No such file or directory
../FL/win32.H:35: winuser.h: No such file or directory
Fl.cxx:31: ctype.h: No such file or directory
Fl.cxx:32: stdlib.h: No such file or directory
Fl.cxx:33: string.h: No such file or directory
In file included from ../config.h:122,
                 from Fl.cxx:34:
../FL/vsnprintf.h:44: stdio.h: No such file or directory
../FL/vsnprintf.h:45: stdarg.h: No such file or directory
../FL/vsnprintf.h:46: sys/types.h: No such file or directory
In file included from ../config.h:129,
                 from Fl.cxx:34:
../FL/vsnprintf.h:44: stdio.h: No such file or directory
../FL/vsnprintf.h:45: stdarg.h: No such file or directory
../FL/vsnprintf.h:46: sys/types.h: No such file or directory
In file included from ../config.h:136,
                 from Fl.cxx:34:
../FL/conf.h:69: sys/types.h: No such file or directory
../FL/conf.h:70: stdlib.h: No such file or directory
../FL/conf.h:71: stdio.h: No such file or directory
../FL/conf.h:72: string.h: No such file or directory
../FL/conf.h:73: sys/stat.h: No such file or directory
../FL/conf.h:74: fcntl.h: No such file or directory
../FL/conf.h:75: ctype.h: No such file or directory
../FL/conf.h:76: errno.h: No such file or directory
../FL/conf.h:77: limits.h: No such file or directory
../FL/conf.h:79: io.h: No such file or directory
In file included from ../config.h:122,
                 from Fl_win32.cxx:31,
                 from Fl.cxx:79:
../FL/vsnprintf.h:44: stdio.h: No such file or directory
../FL/vsnprintf.h:45: stdarg.h: No such file or directory
../FL/vsnprintf.h:46: sys/types.h: No such file or directory
In file included from ../config.h:129,
                 from Fl_win32.cxx:31,
                 from Fl.cxx:79:
../FL/vsnprintf.h:44: stdio.h: No such file or directory
../FL/vsnprintf.h:45: stdarg.h: No such file or directory
../FL/vsnprintf.h:46: sys/types.h: No such file or directory
In file included from Fl.cxx:79:
Fl_win32.cxx:35: string.h: No such file or directory
Fl_win32.cxx:36: stdlib.h: No such file or directory
Fl_win32.cxx:37: sys/types.h: No such file or directory
Fl_win32.cxx:38: limits.H: No such file or directory
Fl_win32.cxx:39: time.h: No such file or directory
Fl_win32.cxx:40: winsock.h: No such file or directory
Fl_win32.cxx:41: ctype.h: No such file or directory

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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