|
Re: Building pthread.: msg#00080gnu.cegcc.devel
Hi Pedro, I am able to compile the '"normal" libtool (http://www.gnu.org/software/libtool/) with both mingw32ce and cegcc, but when I run jamvm's configure I get the following with both minge32ce and cegcc: configure:20943: arm-wince-mingw32ce-gcc -o conftest.exe -g -O2 conftest.c -ldl -lm -lpthread >&5 /tmp/cc0m5geq.o: In function `main': /cec/homes/d046460/CeGCC/jamvm-1.4.5/conftest.c:42: undefined reference to `dlopen' collect2: ld returned 1 exit status Any ideas? Kind Regards, Leonardo. ----- Ursprüngliche Mail ---- Von: Pedro Alves <pedro_alves-BwYwT0D5Mwdz4s462UR3lw@xxxxxxxxxxxxxxxx> An: Leonardo Weiss Chaves <humaita-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx> CC: cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx Gesendet: Dienstag, den 31. Juli 2007, 01:48:44 Uhr Betreff: Re: AW: AW: [Cegcc-devel] Building pthread. Sorry for the delay again, Leonardo Weiss Chaves wrote: > Hi Pedro, > > thanks for the hints, I got libpthread compiling now. Since __MINGW32__ is > defined, the code assumes some things that are not true for WinCE, e.g. like > having errno. Instead of modifying mingw32ce now I just modify the > pthread-w32-2.8.0 code and add a few more compiler flags, see the attached > diff file. I compile with > > make CROSS=arm-wince-mingw32ce- CC="arm-wince-mingw32ce-g++ -DWINCE > -DNEED_ERRNO -D_ARM_ -D__CRTDLL__ -D_DLL" clean GC > > PS: I still can't compile jamvm because of missing liltdl. Do you know where > I can find it for WinCE? It seems to be part of glibc... > Looks like jamvm uses libtool, or at least its libltdl (similar to dlopen and friends). There is a win32 libltdl port at: http://gnuwin32.sourceforge.net/packages/libtool.htm Perhaps you can work with that. Cheers, Pedro Alves __________________________________ Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: LoadLibrary on DLL returns null (Check SYSGEN ?? ): 00080, Radu Poenaru |
|---|---|
| Next by Date: | Re: LoadLibrary on DLL returns null (Check SYSGEN ?? ): 00080, Radu Poenaru |
| Previous by Thread: | Re: Building pthread.i: 00080, Leonardo Weiss Chaves |
| Next by Thread: | wxWinCE and cegcc: 00080, Hywel B. Richards |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |