Re: [ooc-compiler] Fw: Fw: Problems bootsrapping OO2C under MinGW/MSYS
Brought to you by:
mva
|
From: Stewart G. <sgr...@ii...> - 2006-06-27 22:29:57
|
Hi Bernhard, That does seem strange. Please try invoking the gcc command that failed from the msys command line. Does it normally fail to find the header, or just when invoked from oo2c? Cheers, Stewart Bernhard Treutwein wrote: > 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 > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > ooc-compiler mailing list > ooc...@li... > https://lists.sourceforge.net/lists/listinfo/ooc-compiler > |