I wrote a small console app and the build process stopped when the linker couldn't find the object file crt2.o. I checked the compiler log and it looked OK. I checked the Dev-C++ configuration dialog, and the .ini file, and they showed the correct directory for the crt2.o file (C:\Dev-C++\Lib\). The crt2.o file is there.
I worked around the problem by making a copy of crt2.o and putting it in the same directory as my main.o file. Everything works fine now. Do I have to continue with the work-around, or am I missing something?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wrote a small console app and the build process stopped when the linker couldn't find the object file crt2.o. I checked the compiler log and it looked OK. I checked the Dev-C++ configuration dialog, and the .ini file, and they showed the correct directory for the crt2.o file (C:\Dev-C++\Lib\). The crt2.o file is there.
I worked around the problem by making a copy of crt2.o and putting it in the same directory as my main.o file. Everything works fine now. Do I have to continue with the work-around, or am I missing something?