This is the mail archive of the
mailing list for the GCC project.
Re: [Ada] Building gnatdll.exe on MinGW32
- From: obry at gnat dot com
- To: bosch at gnat dot com, danny_r_smith_2001 at yahoo dot co dot nz,gcc-patches at gcc dot gnu dot org
- Date: Sun, 9 Dec 2001 04:28:12 -0500 (EST)
- Subject: Re: [Ada] Building gnatdll.exe on MinGW32
> Thanks. The kunching however does't happen automatically. This is the
> error for "make gnatdll.exe" (after adding a rule for gnatdll.exe to
> gcc.exe -c -W -Wall -gnatpg -gnata -I- -I. -I../../../gcc/gcc/ada
> mdllfile.adb:33:18: warning: file name does not match unit name, should be
> make: *** [mdllfile.o] Error 1
> make: 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.
> 2001-12-10 Danny Smith <email@example.com>
> * 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...