Hey,
*link_libgcc: %D -L C:\MinGW\local\lwip-win32-msvc-0.1\proj\msvc6
Yes, that's correct and should work in your MinGW environment.
Well, this error pops up if g++ cannot access your specs file. Did you try to access this file from a windows command-line? Or did you try to put this file into your home-dir?Whenever I try to compile, I get this error: g++: c:/mingw/bin/../lib/gcc/mingw32/4.5.0/specs: Permission denied
Andi