Override elf_nacl.xr linker script so that libc_pic.os links correctly
[glibc/nacl-glibc.git] / make-example-dynamic.sh
blob510d7b0d54fe82fb6dfb11ef01505580b53cf042
1 #!/bin/bash
3 BUILDDIR=build
4 DEST=hellow-dyn
5 nacl-gcc \
6 -B$BUILDDIR/csu/ -L$BUILDDIR -Lld \
7 $BUILDDIR/elf/ld.so $BUILDDIR/libc_nonshared.a \
8 -g hellow.c -o $DEST \
9 -Wl,-Map,$DEST.map