Hi, I'm trying to add a MinGW Default Library search path using a spec file I've placed at /mingw/lib/gcc/mingw32/<version>/ as instructed by this page here: HOWTO Use the GCC specs file | MinGW
The only Section I've changed is *link_libgcc:, which now looks like this:
Code:
*link_libgcc:
%D -L C:\MinGW\local\lwip-win32-msvc-0.1\proj\msvc6
Whenever I try to compile, I get this error:
Code:
g++: c:/mingw/bin/../lib/gcc/mingw32/4.5.0/specs: Permission denied
Does anybody know what I have to do to correct this? I'm running Windows 7 x64. My UAC is disabled, and I've already tried setting g++ and gcc to "run as administrator". Any help would be greatly appreciated.