[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I fix a -dcv1 vs. -cross mess?



gcc-3.4 was fixed in 3.4.6-2
gcc-4.0 was fixed in 4.0.3-3
gcc-4.1 was fixed in 4.1.0-2

gcc-3.3 has not been fixed.

Some progress! There is a fix for gcc-3.3, but it hasn't been applied to a release yet:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357629

I have built a gcc-3.3 with this patch, and it almost works; but I fear there must be a bug in the patch as I get this in the resulting libstdc++-dev:

Package: libstdc++5-3.3-dev-armeb-cross
Status: install ok installed
Priority: extra
Section: devel
Installed-Size: 4492
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Architecture: all
Source: gcc-3.3
Version: 1:3.3.6-13
Provides: libstdc++-dev-armeb-cross, libstdc++-dev-armeb-dcv1, libstdc++1-3.3-armeb-dcv1
Depends: gcc-3.3-base (>= 1:3.3.6-13), libstdc++5-armeb-cross (>= 1:3.3.6-13), libc6-dev-armeb-cross (>= 2.3.2.ds1-16), g++-3.3-armeb-linux-gnu (>= 1:3.3.6-13)
Description: The GNU Standard C++ Library v3 (development files)

The problem is in the provides: line; libstdc++1-3.3-armeb-dcv1 should (surely?) say "5" not "1".

If anyone knows the meaning of things like GCC_SO and CXX_SO in rules/control.m4, please let me know. The patch for gcc-3.4 is slightly different, so I'm going to see if I can learn anything from it.

Wookey wrote:
write this up on the debian.org wiki

I maintain a page on the NSLU2 wiki:

http://www.nslu2-linux.org/wiki/DebianSlug/CrossCompiling

You're welcome to link to it.


Phil.






Reply to: