Changeset a5c468e in mainline for tools/xcw/bin/helenos-ld
- Timestamp:
- 2018-11-11T20:21:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4640416
- Parents:
- 5c03bd30
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/xcw/bin/helenos-ld
r5c03bd30 ra5c468e 1 1 #!/bin/bash 2 2 # 3 # Copyright (c) 201 5Jiri Svoboda3 # Copyright (c) 2018 Jiri Svoboda 4 4 # All rights reserved. 5 5 # … … 35 35 SRC_ROOT="$XCW/../../.." 36 36 UARCH="$("$XCW"/helenos-bld-config --uarch)" 37 CFLAGS="$("$XCW"/helenos-bld-config --cflags)" 38 LDFLAGS="$("$XCW"/helenos-bld-config --ldflags)" 37 39 CC="$("$XCW"/helenos-bld-config --cc)" 38 40 39 41 echo helenos-ld "$@" 40 42 "$CC" \ 43 $CFLAGS \ 41 44 "$@" \ 42 45 "$SRC_ROOT"/uspace/lib/c/crt0.o \ 43 46 "$SRC_ROOT"/uspace/lib/c/crt1.o \ 44 "$SRC_ROOT"/uspace/lib/c/libc.a 47 "$SRC_ROOT"/uspace/lib/c/libc.a \ 48 -lgcc
Note:
See TracChangeset
for help on using the changeset viewer.