[ooc-compiler] Fw: Fw: Problems bootsrapping OO2C under MinGW/MSYS
Brought to you by:
mva
|
From: Bernhard T. <Bd...@wi...> - 2006-06-26 16:40:54
|
Hi Stewart,
[...]
> > I suggest that you first try to bootstrap the system without using
> > libtool. This means using "./configure --disable-libs" so that you get
> > static linking, rather than trying to build shared libraries. AFAIK,
> > oo2c+libtool is untested under mingw/msys. At least in recent releases,
> > oo2c should not be bothered by Windows path names, and neither should
> > gcc. Can't say the same for libtool though...
> >
> > From README.WIN32, the full configure command for msys looks something
> > like this:
> > env
> > "INSTALL=c:/msys/1.0/bin/install.exe"
> > LDFLAGS=-L/usr/local/lib
> > CFLAGS=-O2
> > "CPPFLAGS=-I/usr/local/include -DGC_WIN32_THREADS"
> > ./configure --disable-libs
> >
I tried that, but it did not work out. The bootstrapping dos not get beyond
the same
point, this time with different error messages (second try to "make"):
$ make
stage0/oo2c --config oo2crc-install.xml -v -r lib -r . --build-package
liboo2c
- D:/Programme/Msys/1.0/src/OO2C/oo2c_32-2.1.10/lib/pkginfo.xml
- D:/Programme/Msys/1.0/src/OO2C/oo2c_32-2.1.10/pkginfo.xml
- lib/sym/liboo2c.Sym
- lib/sym/liboo2c.Doc
- lib/sym/RT0.Sym
... more stuff from the lib ...
- lib/sym/Codec/Latin1.Doc
- lib/sym/Codec/UU.Sym
- lib/sym/Codec/UU.Doc
- lib/sym/Codec/YEnc.Sym
- lib/sym/Codec/YEnc.Doc
gcc -O2 -I/usr/local/include -DGC_WIN32_THREADS -Ilib/src -Iobj -Ilib/obj -I
/usr/src/OO2C/oo2c_32-2.1.10/obj -I/usr/src/OO2C/oo2c_32-2.1.10/lib/obj -c
D:/Programme/Msys/1.0/src/OO2C/oo2c_32-2.1.10/lib/src/RT0.c -o lib/obj/RT0.o
D:/Programme/Msys/1.0/src/OO2C/oo2c_32-2.1.10/lib/src/RT0.c:19:21: gc/gc.h:
No such file or directory
D:/Programme/Msys/1.0/src/OO2C/oo2c_32-2.1.10/lib/src/RT0.c:86: error:
syntax error before "ptr"
D:/Programme/Msys/1.0/src/OO2C/oo2c_32-2.1.10/lib/src/RT0.c: In function
`HandleFinalize':
D:/Programme/Msys/1.0/src/OO2C/oo2c_32-2.1.10/lib/src/RT0.c:88: error: `ptr'
undeclared (first use in this function)
... more compiler error messages ...
make: *** [lib/obj/liboo2c.la] Error 1
Bernhard@JANUS /src/OO2C/oo2c_32-2.1.10
$ ll /usr/local/include/gc/gc.h
-rw-r--r-- 1 Bernhard Administ 44551 Jun 22 19:29
/usr/local/include/gc/gc.h
strange enough /usr/local/include/gc/gc.h is available, but gcc does not
find it despite having
the correct path ...
I still don't have any clue.
regards and thanks so far
Bernhard
|