Changeset 76


Ignore:
Timestamp:
May 1, 2003, 4:22:07 AM (22 years ago)
Author:
bird
Message:

Installing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r75 r76  
    2626ifndef PATH_TOP
    2727export PATH_TOP  := $(PWD)
     28endif
     29ifndef PATH_TOPD
    2830export PATH_TOPD := $(PWDD)
    2931endif
     
    4648endif   
    4749
    48  
    49 #                          
     50
     51#                       
    5052# For builds on Linux Host builds we do the environment setup here.
    5153# This is essentially a mimicking of what we do on OS/2.
     
    9597        all-binutils \
    9698        all-emx \
     99                \
     100                all-install \
    97101                \
    98102        all-ended
     
    186190        @echo "ok"
    187191       
    188                                                                                  
     192                                                                               
    189193PRELOADED_TOOLS = bin/sh.exe bin/echo.exe bin/true.exe usr/bin/test.exe usr/bin/expr.exe \
    190194     usr/bin/gawk.exe usr/bin/sed.exe bin/rm.exe bin/cat.exe bin/cp.exe
    191          
     195       
    192196all-preload:
    193197        @echo "Preloading tools:"
     
    201205        @echo ""
    202206       
     207
     208                       
     209all-install:    \
     210        gcc-install
     211#       emx-install
     212#       binutils-install
    203213
    204214       
     
    274284       
    275285# build the components.
    276 .PHONY: gcc-build
    277 gcc-build:
     286.PHONY: gcc-build gcc-install gcc-configure
     287gcc-build gcc-install gcc-configure:
    278288        mkdir -p $(PATH_OBJ)/gcc
    279289        $(MAKE) -C $(PATH_OBJ)/gcc -f $(MAKEFILE) $@-it
     
    281291
    282292# When changed directory
    283 #       We pass down BOOT_ flags for stage2+.
    284 #       Because strip is broken on OS/2 we pass -s for release build and -g for non release builds.
     293#   We pass down BOOT_ flags for stage2+.
     294#   Because strip is broken on OS/2 we pass -s for release build and -g for
     295#   non release builds - This overrides some stuff in src/gcc/gcc/config/i386/t-emx!
    285296gcc-build-it: \
    286297                $(PATH_OBJ)/gcc/.ts.configured
     
    290301                BOOT_CFLAGS="$(BUILD_DEBUGINFO) -O2 -mcpu=pentium -mpreferred-stack-boundary=2 -malign-strings=0 -falign-loops=2 -falign-jumps=2 -falign-functions=2" \
    291302                BOOT_LDFLAGS="$(BUILD_DEBUGINFO) -Zexe -Zcrtdll" \
     303                LIBGCC2_DEBUG_CFLAG="$(BUILD_DEBUGINFO)" \
    292304                bootstrap
    293305else
     
    297309# configure it (invoked after directory change).
    298310#       We set CC to help configure finding it.
    299 gcc-configure $(PATH_OBJ)/gcc/.ts.configured: $(PATH_TOP)/src/gcc/configure
     311gcc-configure-it $(PATH_OBJ)/gcc/.ts.configured: $(PATH_TOP)/src/gcc/configure
    300312ifeq "$(BUILD_PLATFORM)" "OS2"
    301313        $(ASH) -c " \
     
    328340        touch $(PATH_OBJ)/gcc/.ts.configured
    329341       
     342       
     343# Install the GCC build
     344#       Repeating the prefix doesn't hurt anybody.
     345gcc-install-it:
     346        $(MAKE) prefix=$(PATH_BIND)/gcc322 install
     347       
    330348
    331349# Generate diffs for GCC (v3.2.2) - part of packing a release.
Note: See TracChangeset for help on using the changeset viewer.