This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,ping] support for large kinds in front-end and library
On Mon, Sep 12, 2005 at 04:18:15PM +0100, Paul Brook wrote:
>
> That rule just compiles the generated file.
> The rule that generates the file (from Makefile.am) is:
>
> $(gfor_built_specific_src): m4/specific.m4 m4/head.m4
> m4 -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $(srcdir)/$@
>
> My guess is your m4 doesn't understand -D, or something like that.
>
A transcript of the build shows
m4 -Dfile=generated/_sin_c4.F90 -I../../../gcc41/libgfortran/m4 specific.m4 > ..
/../../gcc41/libgfortran/generated/_sin_c4.F90
The FreeBSD man page says that both -D and -I are supported.
It further states "The m4 utility follows the Version 2 of the Single
UNIX Specification (SUSv2), along with a few extensions taken from
GNU-m4. Flags -I, -d, and -t are non-standard." Does GNU-m4 have
extensions to the m4 language and does libgfortran use those extensions?
I have gm4 installed. I'll see if I can make gcc use it.
--
Steve