Re: [GnuWin32-Users] linking error: unresolved symbols drand48_r, stdin and stdout

2010-06-11 Thread Kees Zeelenberg
-- From: "Qianqian Fang" > After putting -lgw32c -lole32 at the end of the command line, > the linking error for drand48_r has gone. However, there are > still 10s of unresolved references error for stderr, stdin > and stdout. Are there anything else

Re: [GnuWin32-Users] linking error: unresolved symbols drand48_r, stdin and stdout

2010-06-10 Thread Qianqian Fang
On 06/10/2010 04:18 AM, Keith MARSHALL wrote: > > > gcc -lgw32c -lole32 -lm -o bin/mmc built/posix_randr.obj > > built/simpmesh.obj > > uilt/tettracing.obj built/mcx_utils.obj built/tictoc.obj > built/tetray.obj " > > > > I am certain that gcc/ld had found the libgw32c.a that I placed > > under

Re: [GnuWin32-Users] linking error: unresolved symbols drand48_r, stdin and stdout

2010-06-10 Thread Keith MARSHALL
> gcc -lgw32c -lole32 -lm -o bin/mmc built/posix_randr.obj > built/simpmesh.obj > uilt/tettracing.obj built/mcx_utils.obj built/tictoc.obj built/tetray.obj " > > I am certain that gcc/ld had found the libgw32c.a that I placed > under c:\MinGW\lib, but somehow, it does not link :( It *does* l

[GnuWin32-Users] linking error: unresolved symbols drand48_r, stdin and stdout

2010-06-09 Thread Qianqian Fang
hi I am trying to port a code written under Linux to Windows. I used MinGW with GCC 4.0 on a Windows XP machine. In order to use the drand48_r function, I downloaded and installed LibG32C v0.4 library for Windows. I copied all the header files under "C:\Program Files\GnuWin32\include\glibc" to C:\