cvsuser     04/10/29 23:59:54

  Modified:    .        MANIFEST PLATFORMS
  Added:       config/gen/cpu/x86_64 auto.pl
  Log:
  Add code to insert -fPIC into ccflags on x86_64.
  
  Revision  Changes    Path
  1.758     +1 -0      parrot/MANIFEST
  
  Index: MANIFEST
  ===================================================================
  RCS file: /cvs/public/parrot/MANIFEST,v
  retrieving revision 1.757
  retrieving revision 1.758
  diff -u -r1.757 -r1.758
  --- MANIFEST  28 Oct 2004 09:43:01 -0000      1.757
  +++ MANIFEST  30 Oct 2004 06:59:52 -0000      1.758
  @@ -176,6 +176,7 @@
   config/gen/cpu/i386/memcpy_mmx_in.c               []
   config/gen/cpu/i386/memcpy_sse.c                  []
   config/gen/cpu/i386/memcpy_sse_in.c               []
  +config/gen/cpu/x86_64/auto.pl                     []
   config/gen/icu.pl                                 []
   config/gen/makefiles.pl                           []
   config/gen/makefiles/CFLAGS.in                    []
  
  
  
  1.30      +1 -0      parrot/PLATFORMS
  
  Index: PLATFORMS
  ===================================================================
  RCS file: /cvs/public/parrot/PLATFORMS,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- PLATFORMS 9 Oct 2004 12:07:51 -0000       1.29
  +++ PLATFORMS 30 Oct 2004 06:59:52 -0000      1.30
  @@ -20,6 +20,7 @@
   linux-x86-gcc3.3.3 *3        Y    Y    Y     Y   Y   Y    Y*3
   linux-x86-icc8               Y    Y    Y     Y   Y   Y    Y
   linux-x86_64-gcc3.3.3    8   Y    -    -     Y   Y   Y    Y
  +linux-x86_64-gcc3.4.2    8   Y    -    -     Y   Y   Y    Y        20041029
   netbsd                                 Y             Y    Y*1
   openbsd                      Y    Y/5  Y     Y   -   Y    Y
   openbsd_beta_3.5-vax                                 Y*4  Y/26
  
  
  
  1.1                  parrot/config/gen/cpu/x86_64/auto.pl
  
  Index: auto.pl
  ===================================================================
  =head1 NAME
  
  config/gen/cpu/x86_64/auto.pl
  
  =head1 DESCRIPTION
  
  Adds -fPIC to x86_64 (AMD64) ccflags, if necessary.
  
  =cut
  
  use strict;
  
  sub run_cpu {
      my $ccflags=Configure::Data->get('ccflags');
      $ccflags .= " -fPIC" unless $ccflags =~ /-fPIC/;
      Configure::Data->set(ccflags => $ccflags);
  }
  
  1;
  
  
  

Reply via email to