File:  [gforth] / gforth / build-ec.in
Revision 1.1: download - view: text, annotated - select for diffs
Sun Apr 9 13:52:46 2006 UTC (15 years, 5 months ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Automatic fixpath
Build script for EC

    1: #!/bin/bash
    2: 
    3: arch=$1
    4: 
    5: ./gforth --die-on-signal -m 4M -p ".:~+:." -i @kernel_fi@ exboot.fs -e 'fpath= .|~+|.' -e "s\" arch/$arch/mach.fs\"" ./kernel/main.fs -e "save-cross kernl-$arch.fi- /usr/local/bin/gforth-0.6.2-20060312 bye"
    6: if [ -f `echo arch/$arch/mach.fs | sed s/fs/sh/` ] 
    7: then sh `echo arch/$arch/mach.fs | sed s/fs/sh/` kernl-$arch.fi
    8: else cp -p kernl-$arch.fi- kernl-$arch.fi
    9: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>