[Ada] Building gnatdll.exe on MinGW32

obry@gnat.com obry@gnat.com
Sun Dec 9 01:30:00 GMT 2001


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.



More information about the Gcc-patches mailing list