[openbeos] Re: compiling with gcc 4 (openbeos Digest V6 #170)

  • From: Marcus Overhagen <marcusoverhagen@xxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 17 Sep 2006 21:18:24 +0200 (CEST)

 Ithamar Adema <iradema@xxxxxxxxx> wrote:

> Hey Marcus :)

Hi Ithamar, how are you?

> Some semantics seems to be handled differently between the compiler
> releases and since it seems no-one is really doing regular GCC4 builds
> it errors out once in a while, and someone doing a GCC4 build has to
> step up and fix it :-)

I fixed as much as I could, but the template stuff in qoca and hey is still 
broken.
Have a look at http://marcus.overhagen.de/temp/buildlog4.txt

I don't know how to fix those remaining issues, and will switch back to gcc 2.95
until someone else can fix them.

> > BTW, why does using a gcc 4.0.3 that was provided with kubuntu
> > give different problems, like the one with kernel.so?
> > http://marcus.overhagen.de/temp/gcc403err.txt
> 
> That's because the actual generated ELF binaries are basicly
> 'different' from what Linux uses. I.E. the target platform for gcc ona
> linux _is_ linux, and the one we have generates binaries and handles
> dynamic objects differently then linux does.
I thought that Linux and Haiku both use elf and should be compatible
without needing a crosscompiler, but it appears that you are correct,
and there are indeed some differences.


> PS: Nice work on your SATA driver BTW :)
Thanks. I just need to fix the interrupt handling next. Our IDE bus manager
isn't very well suited to sharing interrupts.

regards
Marcus



Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  44,85 ?  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

Other related posts:

  • » [openbeos] Re: compiling with gcc 4 (openbeos Digest V6 #170)