Linux to Cygwin cross compiler
Domen Vrankar
domen.vrankar@gmail.com
Wed Dec 13 10:48:00 GMT 2006
Hello.
I am trying to build a cross compiler on Linux Debian that would run
on Linux and output files would run on Cygwin.
The problem is that when I run demo-cygwin.sh with build output path
changed from root to my home dir I first encountered a broken link for
cygwin tar download. I found another page and manually downloaded the
package to downloads dir and it seemed that it would
build the toolchain successfully. After a while I got:
i686-pc-cygwin-ranlib libmingwex.a
make[3]: Leaving directory
`/storage/domenv/crosstool/crosstool-0.42/build/i686-pc-cygwin/gcc-3.3.2-/build-cygwin/i686-pc-cygwin/winsup/mingw/mingwex'
i686-pc-cygwin-dlltool --as i686-pc-cygwin-as --output-def
mingwthrd.def mthr.o mthr_init.o
i686-pc-cygwin-gcc -Wl,--base-file=mingwthrd.base -B./ -mdll
-mno-cygwin -Wl,--image-base,0x6FBC0000
-Wl,--entry,_DllMainCRTStartup@12 mthr.o mthr_init.o -Lmingwex \
-o mingwthrd_dummy.exe
/storage/domenv/crosstool-cygwin/gcc-3.3.2-/i686-pc-cygwin/lib/gcc-lib/i686-pc-cygwin/3.3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -luser32
collect2: ld returned 1 exit status
make[2]: *** [mingwthrd.def] Error 1
make[2]: Leaving directory
`/storage/domenv/crosstool/crosstool-0.42/build/i686-pc-cygwin/gcc-3.3.2-/build-cygwin/i686-pc-cygwin/winsup/mingw'
make[1]: *** [mingw] Error 1
make[1]: Leaving directory
`/storage/domenv/crosstool/crosstool-0.42/build/i686-pc-cygwin/gcc-3.3.2-/build-cygwin/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2
so I downloaded the library source my self but I don't know how to add it.
Am I perhaps running a wrong script for this job?
Thank you.
Regards, Domen
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list