Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/xcw/bin/helenos-ld

    ra5c468e rb501de7  
    3434XCW="$(dirname "$0")"
    3535SRC_ROOT="$XCW/../../.."
     36if [ -z "$EXPORT_DIR" ]; then
     37        EXPORT_DIR="$SRC_ROOT/uspace/export"
     38fi
    3639UARCH="$("$XCW"/helenos-bld-config --uarch)"
    3740CFLAGS="$("$XCW"/helenos-bld-config --cflags)"
     
    4346    $CFLAGS \
    4447    "$@" \
    45     "$SRC_ROOT"/uspace/lib/c/crt0.o \
    46     "$SRC_ROOT"/uspace/lib/c/crt1.o \
    47     "$SRC_ROOT"/uspace/lib/c/libc.a \
     48    "$EXPORT_DIR"/lib/crt0.o \
     49    "$EXPORT_DIR"/lib/crt1.o \
     50    "$EXPORT_DIR"/lib/libc.a \
    4851    -lgcc
Note: See TracChangeset for help on using the changeset viewer.