diff --git a/README.md b/README.md index 1b66389..f06763d 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ Now edit the `SDK_VERSION` in `build.sh`, so it matches the version you have dow Then run `./build.sh` to build the cross toolchain (it will build in its own directory). -**Don't forget** to add the printed `` `/osxcross-env` `` to your `~/.profile`. -Then either run `source ~/.profile` or restart your session. +**Don't forget** to add the printed `` `/osxcross-env` `` to your `~/.profile` or `~/.bashrc`. +Then either run `source ~/.profile` or restart your shell session. That's it. See usage examples below. diff --git a/build.sh b/build.sh index a0c8027..25302f5 100755 --- a/build.sh +++ b/build.sh @@ -323,8 +323,7 @@ echo "Now add" echo "" echo -e "\e[32m\`$OSXCROSS_ENV\`\e[0m" echo "" -echo "to your ~/.profile (including the '\`')" -echo "and run 'source ~/.profile' or restart your session" +echo "to your ~/.bashrc or ~/.profile (including the '\`')" echo "" echo "Done! Now you can use o32-clang(++) and o64-clang(++) like a normal compiler"