Interesting problem when building GMP during GCC build …

… I needed to unset CDPATH in order to get it to build, because otherwise it tries to cd into tests inside one of the folders from CDPATH (in my case the setting was /mnt) instead into ./tests from inside the GMP distribution folder (unpacked .tar.bz2).

I ended up putting it into a subshell to avoid exporting that change to the environment of the caller.

// Oliver

This entry was posted in /dev/null, EN, Programming. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *