simon       01/09/13 01:36:48

  Modified:    .        Makefile basic_opcodes.ops
  Log:
  Tom Hughes      Patch to link with the maths library
  Tom Hughes      Patch to fix += on rvalue
  
  Revision  Changes    Path
  1.10      +2 -1      parrot/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/perlcvs/parrot/Makefile,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -w -r1.9 -r1.10
  --- Makefile  2001/09/13 07:22:36     1.9
  +++ Makefile  2001/09/13 08:36:48     1.10
  @@ -6,13 +6,14 @@
   
   C_FLAGS = -Wall -g -o $@
   
  +LIBS = -lm
   
   CC = gcc $(C_FLAGS)
   
   all : $(O_FILES) test_prog
   
   test_prog: test_main$(O) $(O_FILES)
  -     gcc -o test_prog $(O_FILES) test_main$(O)
  +     gcc -o test_prog $(O_FILES) test_main$(O) $(LIBS)
   
   test_main$(O): $(H_FILES)
   
  
  
  
  1.12      +1 -1      parrot/basic_opcodes.ops
  
  Index: basic_opcodes.ops
  ===================================================================
  RCS file: /home/perlcvs/parrot/basic_opcodes.ops,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -w -r1.11 -r1.12
  --- basic_opcodes.ops 2001/09/13 07:27:46     1.11
  +++ basic_opcodes.ops 2001/09/13 08:36:48     1.12
  @@ -219,7 +219,7 @@
   
   // INC Nx, nnn
   AUTO_OP inc_n_nc {
  -  (NV)NUM_REG(P1) += P2;
  +  NUM_REG(P1) += P2;
   }
   
   // DEC Nx
  
  
  

Reply via email to