[haiku-development] Re: gcc 4.3.x problems with cross build tools

  • From: richard jasmin <jasminr@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 11 Aug 2008 18:58:09 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Urias McCullough wrote:
> 2008/8/9 Andreas Färber <andreas.faerber@xxxxxx>:
>>> GCC 4.3.x generates a (perhaps meaningless) warning when building gas.
, >>> But, by default, warnings are being treated as errors, and building
>>> fails.
Pascal does this on purpose, to do otherwise is to build the devil into
your code. (expect demons to poke thier heads up when testing.)

Why are we defaulting to this with C? a lot of C structs i've seen
generate harmless warnings.GNU Pascal uses a similar concept like that
of the original C compiler, generating warnings. It doesn't seem right
for C to do this by default. In Pascal, this is because it messes up the
logic severely if you allow things to pass harmlessly.Not so from what i
have learned so far in C.

Forgive my typos my mouse is still touch clicking despite telling it not to.
> 
> <snip>
> 
<snip>

> 
> As pointed out by Richard, I believe the problem exists when building
> gcc2 as well - which prevents people from creating a binary-compatible
> version of Haiku on a gcc4.3.x host.
> 
right.didnt gcc2 come as a deb package? I couldve sworn i saw it as
one.or are you referring to the cross-tools only?

crossing has been done for some time now, i see no reason why it
shouldnt come as a deb package. Maybe your tools are patched for jam,
but the core utils should come with whatever debian based OS you use.

> I'm guessing we should probably just look into the gas compile issue
> and patch the offending code at this point. Unfortunately I'm not that
> person, and I don't even have this gcc on my host, so I just wanted to
> raise the issue so that others are aware of it :)

seems to be the case.is it a lack of gcc 3.x on ubuntu, or lack of
cross-tools, IE: The ppc just cant build the source and needs help
because its designed for i686? could have sworn i had seen cross tools
elsewhere.

maybe for Dev/GNU PASCAL?
are the ones provided jam related only, or universal?

> 
> - Urias
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoMQAZWyv5fvyGz0RAl+rAJ42P6RF48e/Xjag6N0LKSs06rZkaQCeOU7a
sFPX3iOVp6HqWeNg0aVHyGQ=
=lf3D
-----END PGP SIGNATURE-----


Other related posts: