[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: AW: AW: [DotGNU]Windows specifica

From: Tobias Oberstein
Subject: AW: AW: AW: [DotGNU]Windows specifica
Date: Sun, 16 Feb 2003 14:54:36 +0100

> I've updated my copy again.  Hopefully it won't go nuts this time.

I've redone cvs co, and treecc, pnet, pnetlib now cleanly build
using MingW/Cygwin (see attached action log). Two minor issues
are left (see below) which don't harm.

All checks succeed, except 4 thread related one's (I've submitted
a bug report).

Sadly, the linking problems remained exactly the same. The VC++
still says it can't resolve the 9 external symbols.

Is there anything I can do to analyze the origin of those


Two minor wrinkles were left during the procedure:

1. A cosmetical with pnet autoconf stuff:

$ ./
tests/ `CFLAGS' is a user variable, you should not override
tests/ use `AM_CFLAGS' instead.

2. A MingW related issue with ranlib:

During "make install" for pnet, MigW ranlib gets confused over Cygwin's
path system.

make[4]: Entering directory `/home/Administrator/sandbox/pnet/pnet/libffi'
make[5]: Entering directory `/home/Administrator/sandbox/pnet/pnet/libffi'
/bin/bash .././libffi//../mkinstalldirs /home/Administrator/local/lib/pnet/
mkdir /home/Administrator/local/lib
mkdir /home/Administrator/local/lib/pnet
/bin/bash ./libtool  --mode=install /usr/bin/install -c
/usr/bin/install -c .libs/libffi.lai
/usr/bin/install -c .libs/libffi.a
ranlib /home/Administrator/local/lib/pnet//libffi.a
c:\MinGW\bin\ranlib.exe: /home/Administrator/local/lib/pnet//libffi.a: No
such f
ile or directory
make[5]: *** [install-toolexeclibLTLIBRARIES] Error 9
make[5]: Leaving directory `/home/Administrator/sandbox/pnet/pnet/libffi'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/home/Administrator/sandbox/pnet/pnet/libffi'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/Administrator/sandbox/pnet/pnet/libffi'
make[2]: *** [libffi-install-local] Error 2
make[2]: Leaving directory `/home/Administrator/sandbox/pnet/pnet'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/Administrator/sandbox/pnet/pnet'
make: *** [install-recursive] Error 1

I've worked around this one, by replacing the MingW ranlib by a
symlink to Cygwin's ranlib, which gets the paths right. Obviously
this is less than satifactory, but the problem is with MingW anyway
I suppose.

address@hidden /cygdrive/c/MinGW/bin
$ ln -s /cygdrive/c/cygwin/bin/ranlib.exe ranlib.exe

address@hidden /cygdrive/c/MinGW/bin
$ ls -la ranlib.exe
lrwxrwxrwx    1 Administ Kein          137 Feb 16 13:41 ranlib.exe ->

Attachment: building_pnet_mingw.txt
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]