crosstool-0.43 : mingw build linux-gnu failed on collect2.c for "fork/pipe.."

andy wang ypwangreg@gmail.com
Thu Oct 25 02:59:00 GMT 2007


Hi, All

Once I built linux-gnu on cygwin using crosstool successfully so I
decided to try it on the mingw+msys.  I used the demo-i686.sh to build
gcc-3.4.5-glibc-2.3.6-tls.dat.  I met some little problems like "ln -s
/opt/..../ar crosstool/build/gcc-prefix-core/ar" it failed because we
only have  /opt/.../ar.exe so I wrote an wrapper "ln" to overcome
that. another problem is gengtype.exe will failed because it uses
fopen to open "/crosstoolpath/*.h" which should be
"c:/msys/1.0/crosstoolpath..." or "/msys/1.0/crosstoolpath.." so I use
the junction from systeminternal to create a readable symbolic link to
overcome this.

Then finally I has been blocked on the collect2.c that said
"fork/pipe.. unreference". I searched on the google and find that
there has patches to overcome it. So what is the right way to do that
or Did anyone conquer it before?  Any help will be appreciated.

Regards,
Andy

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list