Permalink
Browse files

Add some lazydogs for osx and debugging

  • Loading branch information...
1 parent 8ee5d2b commit 0e1c7835d63a74a06d1841dc3ff142f4441aadb6 @garazdawi committed Jul 2, 2011
Showing with 10 additions and 0 deletions.
  1. +2 −0 mac_env
  2. +8 −0 os_lathund
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+export PATH=/Applications/Doxygen.app/Contents/Resources/:/Users/lukas/Documents/etc/otp/release/i386-apple-darwin10.7.0/bin/:$PATH
View
@@ -0,0 +1,8 @@
+## Generara och kör testerna
+cd ~/Documents/etc/llevm/ && source mac_env && (cd api_gen && make) && make test
+
+## Generara och starta gdb
+cd ~/Documents/etc/llevm/ && source mac_env && (cd api_gen && make) && make && erlc -o tests tests/*.erl && export BINDIR=/Users/lukas/Documents/etc/otp/release/i386-apple-darwin10.7.0/bin/ && gdb /Users/lukas/Documents/etc/otp/release/i386-apple-darwin10.7.0//erts-5.8.4/bin/beam.smp
+
+## Start erl i gdb
+run -- -root /Users/lukas/Documents/etc/otp/release/i386-apple-darwin10.7.0/ -- -pa ../llevm/ebin tests

0 comments on commit 0e1c783

Please sign in to comment.