I've been working on cross compiler for building w64 binaries. I just
wanted to see if I could do it :P
I'm following the directions from Linux From Scratch (modifying them as needed).
So I've built gcc with c++ support and I have the errors:

/tools/x86_64-w64-mingw32/bin/ld cannot find dllcrt2.o: No such file
or directory
/tools/x86_64-w64-mingw32/bin/ld cannot find crtbegin.o: No such file
or directory
/tools/x86_64-w64-mingw32/bin/ld cannot find crtend.o: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.dll] Error 1
make[1]: *** [all-target-libgcc] Error 2
make: *** [all] Error 2
can someone please either send me to the right list, or tell me what I
should do.

my configure options are as follows:

libtool --finish /tools/libexec/gcc/x86_64-w64-mingw32/x.x.x/
AR=x86_64-w64-mingw32-ar RANLIB=x86_64-w64-mingw32-ranlib \
../gcc-4.5.1/configure --prefix=/tools \
--with-local-prefix=/tools --enable-clocale=gnu \
--enable-shared --enable-threads=posix \
--enable-__cxa_atexit --enable-languages=c,c++ \
--disable-libstdcxx-pch --disable-multilib \
--disable-bootstrap --disable-libgomp \
--without-ppl --without-cloog --build=x86_64-suse-linux-gnu
--host=x86_64-suse-linux-gnu --target=x86_64-w64-mingw32

make 2> gcc2-error.log

just making sure I'm not missing something critical.

All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
Mingw-w64-public mailing list

Reply via email to