This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Build failure under Cygwin_NT-5.0


I applied Danny's patch and got to:

al/include -I/usr/local/include \
../../gcc/gcc/config/i386/winnt.c
../../gcc/gcc/config/i386/winnt.c: In function `i386_pe_mark_dllexport':
../../gcc/gcc/config/i386/winnt.c:286: warning: implicit declaration of function
`DECL_NON_ADDR_CONST_P'
../../gcc/gcc/config/i386/winnt.c:286: error: invalid lvalue in assignment
../../gcc/gcc/config/i386/winnt.c: In function `i386_pe_mark_dllimport':
../../gcc/gcc/config/i386/winnt.c:349: error: invalid lvalue in assignment
../../gcc/gcc/config/i386/winnt.c: In function `i386_pe_encode_section_info':
../../gcc/gcc/config/i386/winnt.c:460: error: invalid lvalue in assignment
make[1]: *** [winnt.o] Error 1
make[1]: Leaving directory `/cygdrive/d/gcc-cvs/build/gcc'
make: *** [all-gcc] Error 2


I tried to copy the symbian version of the patch by eliminating all mention of DECL_NON_ADDR_CONST_P, winnt.c then compiled but the build bombed out in varasm.c for the same reason.

Since I haven't the slightest idea of what I am doing, I left it there!

Paul T



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