Hacker News new | ask | show | jobs
by rui314 1313 days ago
CRT object files which contain process startup routines are not in a fixed directory. Unfortunately compilers have to be hard-coded to contain an appropriate directory name.
1 comments

Well, can't that be made a build parameter, that can be determined during build configuration? CMake'ifying the project might help you get there perhaps?
Or just check for an environment variable in the Makefile? No need to add the complexity of cmake.