jac@gauss.tinton.ccur.com (Jim Clausing) (02/28/90)
This is the first time I've tried to build any of the gnu software, so if
I'm doing something stupid, feel free to tell me about (e-mail preferred).
I got gcc-1.37 from uunet and tried to build it pretty much as is. I got
a copy of tm-*.h for my machine and modified config.gcc to set cpu_type=m68k.
That much seemed simple enough. I then typed make and things went along
fine until it reached genflags. At this point, all of the gen* bomb trying
to read the md with the following error:
-------------------------------start message---------------------------------
Expected character ). Found character 0. At file position: 10432
Following characters are:
"push_operand" "=m")
(match_operand:DF 1 "general_operand" "ro<>fyF"))]
""
"*
{
if (FP_REG_P (operands[1]))
return \"fmove%.d %f1,%0\";
if (FPA_REG_P (operands[1]))
return \"fpmove%.Aborting.
sh: 22654 abort - core dumped
*** Error code -122
-------------------------------end message---------------------------------
This is the first define_insn encountered in the md file (as shown below).
-------------------------------start code---------------------------------
(define_insn ""
[(set (match_operand:DF 0 "push_operand" "=m")
(match_operand:DF 1 "general_operand" "ro<>fyF"))]
""
"*
{
if (FP_REG_P (operands[1]))
return \"fmove%.d %f1,%0\";
if (FPA_REG_P (operands[1]))
return \"fpmove%.d %1, %x0\";
return output_move_double (operands);
}")
-------------------------------end code---------------------------------
What is going on here? genflags (and gencodes & genemit, etc.) don't seem
to accept the format of the included machine description files. Am I missing
something obvious? Any help would be greatly appreciated.
--
Jim Clausing jac@ppt.tinton.ccur.com
Parallel Processing Tools ph. (201)758-7693
Concurrent Computer Corp.
Tinton Falls, NJ 07724