From owner-freebsd-hackers Sun Mar 17 14:36:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id A78E537B404 for ; Sun, 17 Mar 2002 14:36:30 -0800 (PST) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.6/8.11.6) with ESMTP id g2HMaPe46205; Sun, 17 Mar 2002 23:36:26 +0100 (CET) Date: Sun, 17 Mar 2002 23:38:54 +0100 (CET) From: Martin Blapp To: , Subject: STLPORT and gcc3 (openoffice porting) Message-ID: <20020317232850.P387-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm desperatly looking for a way to compile the stlport with gcc3.2 or gcc3.1 from ports. If you know a way to do this, please tell me. If my understanding is right, I have to build the stlport within the openoffice port and cannot use the FreeBSD ports version, since this is compiled with old buggy gcc295. Ok, so I decided to make a build infrastructure for gcc32. But at the moment I'm stuck with this: cd ./unxfbsd.pro/misc/build/STLport-4.5/src && gmake -f gcc-3.0.mak && touch so_built g++32 -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -O2 -fPIC dll_main.cpp -c -o ../lib/obj/GCCi386/ReleaseD/dll_main.o In file included from stlport_prefix.h:28, from dll_main.cpp:34: ../stlport/ctime:25:44: ../g++-v3/ctime: No such file or directory Making a symlink doesn't help: mkdir ./unxfbsd.pro/misc/build/STLport-4.5/src mkdir: ./unxfbsd.pro/misc/build/STLport-4.5/src: File exists cd ./unxfbsd.pro/misc/build/STLport-4.5/src && gmake -f gcc-3.0.mak && touch so_built g++32 -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -O2 -fPIC dll_main.cpp -c -o ../lib/obj/GCCi386/ReleaseD/dll_main.o In file included from ../stlport/stl/_cwchar.h:31, from ../stlport/cwchar:24, from ../stlport/stl/char_traits.h:31, from ../stlport/stl/_iosfwd.h:22, from ../stlport/iosfwd:33, from ../stlport/stl/_string_fwd.h:23, from ../stlport/stl/_string.h:31, from ../stlport/string:42, from dll_main.cpp:45: ../g++-v3/cwchar:69: `mbstate_t' not declared I get a different error then ... Anybody knows what I could do ? Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message