Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a5c468e in mainline for tools/xcw/bin/helenos-ld


Ignore:
Timestamp:
2018-11-11T20:21:08Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
4640416
Parents:
5c03bd30
Message:

Build XCW demo as part of default target. Need to get real CFLAGS to fix some ARM targets, use export target. Make export as part of default target into uspace/export. Update gitignore.

File:
1 edited

Legend:

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

    r5c03bd30 ra5c468e  
    11#!/bin/bash
    22#
    3 # Copyright (c) 2015 Jiri Svoboda
     3# Copyright (c) 2018 Jiri Svoboda
    44# All rights reserved.
    55#
     
    3535SRC_ROOT="$XCW/../../.."
    3636UARCH="$("$XCW"/helenos-bld-config --uarch)"
     37CFLAGS="$("$XCW"/helenos-bld-config --cflags)"
     38LDFLAGS="$("$XCW"/helenos-bld-config --ldflags)"
    3739CC="$("$XCW"/helenos-bld-config --cc)"
    3840
    3941echo helenos-ld "$@"
    4042"$CC" \
     43    $CFLAGS \
    4144    "$@" \
    4245    "$SRC_ROOT"/uspace/lib/c/crt0.o \
    4346    "$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.