20000717 snapshot broken specs setup in gcc/config/i386/cygwin.h
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com
Wed Jul 19 17:01:00 GMT 2000
Here is a little more detail on the -D__declspec(x)=__attribute(x) issue
with g77
With -remap removed from the specs, the command
/usr/local/obj/egcs-20000717/gcc/g77 -v -c
-B/usr/local/obj/egcs-20000717/gcc/
/usr/local/src/egcs-20000717/gcc/testsuite/g77.f-torture/execute/cpp.F -w
-O0
gives
g77 version 2.96 20000717 (experimental) (from FSF-g77 version 0.5.26
20000717 (experimental))
Reading specs from /usr/local/obj/egcs-20000717/gcc/specs
gcc version 2.96 20000717 (experimental)
/usr/local/obj/egcs-20000717/gcc/tradcpp.exe -lang-fortran -v -iprefix
/usr/local/obj/egcs-20000717/gcc/../lib/gcc-lib/i686-pc-cygwin/2.96/
-isystem /usr/local/obj/egcs-20000717/gcc/include -D__GNUC__=2
-D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D_WIN32 -DWINNT -D_X86_=1
-D_WIN32 -D__WINNT__ -D_X86_=1 -D__WINNT -Asystem(winnt) -w -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentiumpro__
-D__stdcall=__attribute__((__stdcall__))
-D__cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__stdcall__))
-D_cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x))
-D__CYGWIN32__ -D__CYGWIN__
/usr/local/src/egcs-20000717/gcc/testsuite/g77.f-torture/execute/cpp.F
C:\TEMP/ccvzeS4w.f
GNU traditional CPP version 2.96 20000717 (experimental)
/usr/local/obj/egcs-20000717/gcc/tradcpp.exe: malformed option `-D
__declspec(x) __attribute__((x))'
PS. There is an outstanding tradcpp makefile patch
http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00693.html
More information about the Gcc-bugs
mailing list