Changes between Version 11 and Version 12 of gcc


Ignore:
Timestamp:
06/28/2014 04:01:32 PM (8 years ago)
Author:
Pierre Labastie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gcc

    v11 v12  
    77git clone https://github.com/D-Programming-GDC/GDC.git &&
    88cd GDC &&
    9 git checkout gdc-4.7 &&
     9git checkout gdc-4.9 &&
    1010rm -rf .git &&
    1111rm .gitignore &&
    1212cd .. &&
    13 mv GDC gdc-4.7-<checkout-date> &&
    14 tar -cJf gdc-4.7-<checkout-date>.tar.xz  gdc-4.7-<checkout-date>
    15 rm -rf gdc-4.7-<checkout-date>
     13mv GDC gdc-4.9-<checkout-date> &&
     14tar -cJf gdc-4.9-<checkout-date>.tar.xz  gdc-4.9-<checkout-date>
     15rm -rf gdc-4.9-<checkout-date>
    1616}}}
    1717
    18 Replace `<checkout-date>` by the current date, for example `gdc-4.7-20130119`. Save the `gdc-4.7-<checkout-date>.tar.xz` for later use (if any).[[BR]]
     18Replace `<checkout-date>` by the current date, for example `gdc-4.9-20130119`. Also, use whatever version of GCC you have available, instead of 4.9.
     19Save the `gdc-4.9-<checkout-date>.tar.xz` for later use (if any).[[BR]]
    1920
    2021Build the gcc with D frontend enabled by following commands (assuming the tarballs ar one directory level above):
    2122
    2223{{{
    23 tar -xf ../gdc-4.7-<checkout-date>.tar.xz &&
    24 tar -xf ../gcc-4.7.2.tar.bz2 &&
    25 cd gdc-4.7-<checkout-date> &&
    26 ./setup-gcc.sh ../gcc-4.7.2 &&
    27 cd ../gcc-4.7.2
     24tar -xf ../gdc-4.9-<checkout-date>.tar.xz &&
     25tar -xf ../gcc-4.9.0.tar.bz2 &&
     26cd gdc-4.9-<checkout-date> &&
     27./setup-gcc.sh ../gcc-4.9.0 &&
     28cd ../gcc-4.9.0
    2829}}}
    2930
    30 The following instructions are nearly the same as the BLFS instructions to rebuild gcc. Add '''`d`''' to the --enable-languages option. Than this reads for example `--enable-languages=c,c++,fortran,java,objc,obj-c++,d`. Also add `--with-bugurl="http://gdcproject.org/bugzilla"`.
     31The following instructions are nearly the same as the BLFS instructions to rebuild gcc. Add '''`d`''' to the --enable-languages option. Then this reads for example `--enable-languages=c,c++,fortran,java,objc,obj-c++,d`. Also add `--with-bugurl="http://gdcproject.org/bugzilla"`.
    3132
    3233{{{
     34# Apply patches as in the book
    3335mkdir ../gcc-build &&
    3436cd    ../gcc-build &&
    35 ../gcc-4.7.2/configure --prefix=/usr \
    36                        --libexecdir=/usr/lib \
     37../gcc-4.9.0/configure --prefix=/usr \
    3738                       --with-system-zlib \
     39                       --libdir=/usr/lib \
    3840                       --enable-shared \
    3941                       --enable-threads=posix \