Page 1 of 1

Re: Further GCC Cross compiler errors

Posted: Sat Dec 22, 2012 5:37 pm
by halofreak1990
I finally managed to compile GCC. I re-ran cygwin setup, reinstalled the required libs and updated some programs, and that produced a working GCC, but now I get a different error when trying to compile my kernel, namely:

Code: Select all

 /usr/local/cross/bin/i586-elf-ld.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
This is the exact error that made me recompile my GCC previously. (I had simply copied it over from my 32-bit machine, hoping it would work on 64-bit also)


EDIT: Running GCC from cmd showed that it couldn't find cygwin1.dll
After adding the cygwin bin directory to my PATH the error went away.