[haiku-development] Removing legacy build platforms and -nostart

  • From: Joseph Prostko <joe.prostko@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 20 Nov 2012 14:26:15 -0500

Hi,

I've been working on getting GCC 4.7.2 to be integrated into our
buildtools, and I came upon an issue.  The problem was that GCC 4.7
only accepts link flags that are known to be valid [1], and throws an
error otherwise.  I ran into an issue when cross-compiling Haiku where
libroot wouldn't build due to this.  I found a way to make GCC accept
-nostart (basically making an alias to -shared), but do we really need
-nostart in build/jam/MainBuildRules anymore?  I would think by now we
can simply replace it by -shared, correct?

If so, I was wondering if while we're at it, we can remove BeOS as a
build platform in our configure file.  Is anybody really building
Haiku on these platforms (R5/Dano/Zeta) anymore?  Regardless of the
answer, I'd hope we can at least replace -nostart with no difficulty,
seeing as I don't see any reason for it to be around anymore.  I mean,
even if people are still building GCC2 Haiku on BeOS and variants,
they surely aren't using the GCC2 compiler that still has a broken
-shared, right?

Am I overlooking anything?

- joe

[1] http://gcc.gnu.org/gcc-4.7/porting_to.html

Other related posts: