Re: Needed patches for building on PPC?
Hi,
Yes, the solution is to NOT use gcc 3.X under ppc Linux.
Compilers are not interchangeable in the OOo build. There is in fact
compiler specific bridge code that has to be written to handle virtual
methods and the new way exceptions are handled in gcc 3.X (the gcc 3.x abi
is incompatible with gcc 2.95.X).
So the short answer is stick with gcc 2.95.4 with ppc linux.
The long answer is I will rewrite the bridges code once gcc 3.1 is
officially released and Franz Sirl puts his completed version up there
(which he has tested and incorporated all of his fixes).
I won't use anyone else's tool chain since Franz is the only one I know
contributing consistently to gcc development for ppc linux.
Then I will write the new bridges code and create a gcc3_ directory with
it.
Sorry about that, but IMHO, gcc 3.0.X are simply not ready for use under
ppc Linux for heavy C++ development.
Thanks,
Kevin
On April 19, 2002 04:12, you wrote:
> Hi all ...
>
> I wanted to build OpenOffice.org again on Linux, debian-unstable, with
> (I know I should not do it) gcc3.
>
> I tried to compile and had to drop the -nostdinc cflag in the
> unxlgppc.mak.
> To compile oo_src/bridges/source/cpp_uno/gcc2_linux_ppc I got some
> errors with undeclared variables, because, I compile with gcc3. For
> example, this:
>
> /home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tr
>ee/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/u
>no2cpp.cxx: In
> function `Void gcc3::callVirtualMethod(void*, long int, void*,
> _typelib_TypeClass, char*, sal_Int32*, long int, uno_Any**,
> uno_Mapping*)':
> /home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tr
>ee/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/u
>no2cpp.cxx:309: ^_cp_eh_info'
> undeclared (first use this function) ....
>
> but _cp_eh_info is declared in the gcc2_linux_ppc.hxx, but I think,
> dmake does not recognize it.
>
> Are there any work to fix it? Are there patches, which can be tested?
>
> Kevin, do you have something for me? :)))
>
> Regards
> Jan
> PS: I attached the whole errormessages.....
--
To UNSUBSCRIBE, email to debian-openoffice-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: