OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Open Embedded => Topic started by: Ikkakujyu on September 18, 2005, 12:20:05 pm

Title: Which Version Of Gcc To Compile Against?
Post by: Ikkakujyu on September 18, 2005, 12:20:05 pm
Alrighty.

I've been playing around with BitBake again, and after finally getting a toolchain together, I find out that it's using GCC 4.0. This is a slight problem because OpenZaurus 3.5.3 uses GCC 3.4, so I can't make anything work without upgrading my whole system or building a new toolchain.

The question I'm asking here is, would it be worth it to upgrade, or am I going to run into incompatibilities and such?
Title: Which Version Of Gcc To Compile Against?
Post by: fooman on July 24, 2006, 05:10:03 pm
Did you ever try this?  I'm running into the same issue myself -- my toolchain uses gcc-4.1.1 so I'm wondering if my programs will run on the Zaurus.  I'm planning on using ipkg "--force-depends" and seeing if that works.

Quote
Alrighty.

I've been playing around with BitBake again, and after finally getting a toolchain together, I find out that it's using GCC 4.0. This is a slight problem because OpenZaurus 3.5.3 uses GCC 3.4, so I can't make anything work without upgrading my whole system or building a new toolchain.

The question I'm asking here is, would it be worth it to upgrade, or am I going to run into incompatibilities and such?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=96178\"][{POST_SNAPBACK}][/a][/div]
Title: Which Version Of Gcc To Compile Against?
Post by: CaptainDondo on August 25, 2006, 06:46:11 pm
Quote
Did you ever try this?  I'm running into the same issue myself -- my toolchain uses gcc-4.1.1 so I'm wondering if my programs will run on the Zaurus.  I'm planning on using ipkg "--force-depends" and seeing if that works.

See this.  The answer is, of course, it depends.  :-)

http://gcc.gnu.org/ml/libstdc++/2006-02/msg00086.html (http://gcc.gnu.org/ml/libstdc++/2006-02/msg00086.html)

I've found 3.4.4 to be the most stable for crosscompiling, but YMMV.

If you end up with weird header related issues, it's probably your gcc version,

It's not that hard to build alternate gcc toolchains.