This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [Ada] Building gnatdll.exe on MinGW32



Danny,

 > Thanks. The kunching however does't happen automatically.  This is the
 > error for "make gnatdll.exe" (after adding a rule for gnatdll.exe to
 > Make-lang.in:
 > 
 > gcc.exe -c    -W -Wall -gnatpg -gnata -I- -I. -I../../../gcc/gcc/ada
 > ../../../gcc/gcc/ada/mdllfile.adb
 > mdllfile.adb:33:18: warning: file name does not match unit name, should be
 > "mdll-files.adb"
 > make[1]: *** [mdllfile.o] Error 1
 > make[1]: Leaving directory `/develop/gcc/build/gcc/ada'
 > make: *** [gnatdll.exe] Error 2

Hard to tell what is wrong with the Makefile without seeing it, but here the
rules did not apply. There is no crunching applied during this compilation. So
this seems to be a Makefile issue.

 > How about this then?  Tested on native mingw32 build.  
 > 
 > Changelog
 > 
 > 2001-12-10 Danny Smith  <dannysmith@uswers.sourceforge.net>
 > 
 > 	* ada/Make-lang.in (gnatdll$(exeext)): Add rule.
 > 	* ada/Makefile.in (mdllfile.o, mdlltool.o): Add rules, using
 > 	-gnatk8 switch. 

I can't find this in the GCC tree...

Pascal.


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