V S P wrote:
I was trying to test my code on gcc and since do not have access to linux, I used cygwin gcc v 4.3.2 with boost 1.38.
I first built bjam (it went Ok). copied it to /bin then created symlink g++ to gcc-4 (cygwin has gcc 4.3.2 as gcc-4)
and then with this command bjam toolset=gcc variant=debug release link=shared threading=multi runtime-link=shared stage
started the build
thread library built (although I am not sure if pthreads are supported on cygwin, may be it was just a dummy library). Many link errors.
You need to always provide exact error you got.
then created symlink g++ to gcc-4 (cygwin has gcc 4.3.2 as gcc-4)
1. Why do you need a symlink in the first place? 2. If you need symlink for any reason, its destination should be a C++ compiler, e.g. g++-4. Making 'g++' symlink to gcc-something is not very honest, and won't work. - Volodya