|
Boost Users : |
Subject: Re: [Boost-users] [Q] any successes in building 1.38+GCC-4.3.2+cygwin
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-03-02 00:39:54
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net