We're using cookies to ensure you get the best experience on our website. More info
Understood
@blitterRegistered December 14, 2007Active 1 week ago
161 Replies made

I had an issue building the latest gccvb using these steps which took me several hours to figure out so here’s my solution in case anyone else runs into the same problem:

If you’re like me, you may install Cygwin so that it uses DOS line endings instead of UNIX ones (I had it setup this way for a CS teaching asst. position I held at school). The problem with this is that the build process for binutils reads the CR character as part of the bfd_v810_arch definition, so you end up getting a linker error when building binutils complaining about an undefined reference to _bfd_v810_arch .

The solution to this, according to this page, is to run the following commands in the Cygwin bash shell before ./make_v810.sh :

set -o igncr
export SHELLOPTS

This sets up the environment to ignore the CR character, and allows binutils to build without error. If you setup Cygwin to use UNIX line endings (I think that’s the default) then as far as I know these commands will have no effect, but I haven’t tested that.

HTH. It sure took me a long time to figure this out. 🙂