Created
June 5, 2020 09:48
-
-
Save sempostma/34b957be9f3a785e34c33c51b2821f26 to your computer and use it in GitHub Desktop.
Revisions
-
sempostma created this gist
Jun 5, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ ld --verbose | grep SEARCH_DIR | tr -s ' ;' \\012 gcc -print-search-dirs | sed '/^lib/b 1;d;:1;s,/[^/.][^/]*/\.\./,/,;t 1;s,:[^=]*=,:;,;s,;,; ,g' | tr \; \\012