Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3156

Show
Ignore:
Timestamp:
02/09/08 07:32:37 (10 months ago)
Author:
larsivi
Message:

Install gcc/* too if not present.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/install-gdc.sh

    r3154 r3156  
    122122    cp -pRvf libgphobos.a $GPHOBOS_DIR || die "Failed to copy libraries" 7 
    123123    cp -pRvf ../object.di $PREFIX/include/d/$GDC_VER/object.d || die "Failed to copy source" 8 
     124    if [ ! -e $PREFIX/include/d/$GDC_VER/gcc ] 
     125    then 
     126    mkdir $PREFIX/include/d/$GDC_VER/gcc || die "Failed to create $PREFIX/include/d/$GDC_VER/gcc" 9 
     127    cp -pRvf compiler/gdc/gcc/*.d $PREFIX/include/d/$GDC_VER/gcc || die "Failed to install gcc internals." 10 
     128    fi 
    124129fi 
    125130