Skip to content

Instantly share code, notes, and snippets.

@WenxiJin
Created November 22, 2016 13:16
Show Gist options
  • Save WenxiJin/a76ab02b04dc5ea0d7be051436b63028 to your computer and use it in GitHub Desktop.
Save WenxiJin/a76ab02b04dc5ea0d7be051436b63028 to your computer and use it in GitHub Desktop.
Script for generating .clang_complete for qamp-application
#!/usr/bin/env bash
set -e
# absolute path
export WORKSPACE="/home/wjn/workspace"
export PATH=$PATH:/home/wjn/eclipse/gnutools/arm-eabi/bin
# CC='/home/wjn/bin/cc_args.py gcc' CXX='/home/wjn/bin/cc_args.py g++' -B \
make V=1 \
-r -j 4 ECOSCFG=$WORKSPACE/ecos-config-qamp-ram OBJDIR=build qamp-application.bin version.ini \
> compile.log
ruby /home/wjn/bin/cc_args.rb compile.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment