Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-10-29 18:17:53


on Mon Oct 29 2007, "Emil Dotchevski" <emil-AT-revergestudios.com> wrote:

> What is the recommended way to build bjam on cygwin? The documentation
> didn't seem to specify anything unusual about a cygwin build, but
> trying
>
> sh ./build.sh
>
> produces the following output:
>
> $ sh ./build.sh
> ./build.sh: line 2: $'\r': command not found
> ./build.sh: line 6: $'\r': command not found
> ./build.sh: line 9: $'\r': command not found
> ./build.sh: line 12: syntax error near unexpected token `$'\r''
> '/build.sh: line 12: `echo_run ()
>
> I am not that familiar with Cygwin, am I doing something wrong?

Probably your cygwin installation is set to use *nix line endings, and
you checked out ./build.sh on Windows.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk