[aarch64-port-dev ] Automatic generation of aarch64.ad

Andrew Dinn adinn at redhat.com
Tue Nov 25 16:13:41 UTC 2014


On 25/11/14 16:09, Andrew Dinn wrote:
> The aarch64 Architecture description file contains the following rubric
> above one of its sections.
> 
> // BEGIN This section of the file is automatically generated. Do not
> edit --------------
> 
> No doubt the claim regarding automation is true. Indeed, I am fairly
> sure that said automation requires as input the definitions contained in
> aarch64_ad.m4. However, having updated the latter for jdk7 I am none the
> wiser as to what precise magic is required to trigger the automatic
> generation. It's obviously not fully automatic as in run make and it
> 'just works' (TM -- small print may apply).
> 
> Do I pass the input file into m4 and then cut and paste the excreted
> rule set into aarch64.ad by hand? (a command line would be helpful).

Ask a stupid question you had probably better answer it before anyone
else does:

"Yes, that is exactly what you do.

  $ m4 aarch64_ad.m4
   <cut>
   <paste>
"

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Matt Parson (USA), Charlie Peters
(USA), Michael O'Neill (Ireland)


More information about the aarch64-port-dev mailing list