Mail Archives: cygwin/2000/06/16/13:50:08
--------------827557214B2CD3D39B17D31E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
OK, I just tested this latest version and there is still a problem with
includes. The MinGW include paths are appended to the search list, but the
POSIX include paths are not removed. In cases where there is a Windows
specific funtion with the same name as a different POSIX function, the wrong
one is used. The output of "gcc -v" I have attached demonstrates this as
the compiler complains about mkdir(const char*, int) vs mkdir(const char*).
Thank you,
Carl Thompson
Chris Faylor wrote:
>
> I've uploaded a new version of gcc that does not use any MSVCRT stuff.
> It is at the URL below. AFAIK, only the specs file has changed.
>
> I understand that adding msvcrt support would be a wonderful idea, but
> it is outside of the scope of what I am currently trying to do. I'm
> just trying to get -mno-cygwin working along with incorporating a few
> bug fixes and improvements in gcc/binutils. I'm not trying to augment
> the -mno-cygwin support at this time.
>
> I'll let Mumit Khan do that, or if someone else wants to volunteer I'm
> willing to send them my sources and binaries.
>
> Btw, if anyone has specs file changes I would appreciate getting patches
> to the gcc/config/cygwin.h file rather than to the specs file itself.
> It is a lot less error-prone that way.
>
> cgf
> ...
--------------827557214B2CD3D39B17D31E
Content-Type: text/plain; charset=iso-8859-1;
name="gcc.out"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="gcc.out"
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs
gcc version 2.95.2 19991024 (release-2)
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/cpp.exe -lang-c++ -v -I.. -D__GNU=
C__=3D2 -D__GNUG__=3D2 -D__GNUC_MINOR__=3D95 -D__cplusplus -Di386 -D_X86=3D=
1 -D__STDC__=3D1 -D__stdcall=3D__attribute__((__stdcall__)) -D__cdecl=3D_=
_attribute__((__cdecl__)) -D__declspec(x)=3D__attribute__((x)) -D__i386__=
-D_X86=3D1 -D__STDC__=3D1 -D__stdcall=3D__attribute__((__stdcall__)) -D_=
_cdecl=3D__attribute__((__cdecl__)) -D__declspec(x)=3D__attribute__((x)) =
-D__i386 -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -rema=
p -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentium=
pro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D_WIN32 -DWINNT =
-DWIN32 -D__WIN32__ -D__MINGW32__=3D0.2 -idirafter /usr/include/mingw -id=
irafter /usr/include/mingw32 -iwithprefixbefore ../../../../mingw/include=
/g++-3 -iwithprefixbefore ../../../../mingw/include -DWIN32 Fl_FileChoose=
r2.cxx C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQrH8vf.ii
GNU CPP version 2.95.2 19991024 (release-2) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
..
/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
/usr/include/mingw
/usr/include/mingw32
End of search list.
The following default directories have been omitted from the search path:=
End of omitted list.
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/cc1plus.exe C:\DOCUME~1\ADMINI~1\=
LOCALS~1\Temp/ccQrH8vf.ii -quiet -dumpbase Fl_FileChooser2.cc -mno-cygwin=
-version -o C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccwNey6A.s
GNU C++ version 2.95.2 19991024 (release-2) (i686-pc-cygwin) compiled by =
GNU C version 2.95.2 19991024 (release-2).
Fl_FileChooser2.cxx: In method `void Fl_FileChooser::newdir()':
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/sys/stat.h:122=
: too few arguments to function `int mkdir(const char *, int)'
Fl_FileChooser2.cxx:373: at this point in file
--------------827557214B2CD3D39B17D31E
Content-Type: text/plain; charset=us-ascii
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--------------827557214B2CD3D39B17D31E--
- Raw text -