Re: Why must libstdc++-dev depend on gcc?

2007-09-21 Thread Arthur Loiret
Hi Arthur, I have used dpkg-cross extensively in the past. I am now trying this alternative approach, which seems to work well except for libstdc++. For a typical package X I can simply install X and X-dev on the ARM system and the cross-compiler will see the includes files. But it does

Why must libstdc++-dev depend on gcc?

2007-09-20 Thread Phil Endecott
Dear Experts, It seems that the libstdc++-dev packages depend on a particular version of gcc/g++, e.g. $ dpkg -s libstdc++6-4.1-dev Package: libstdc++6-4.1-dev [snip] Depends: gcc-4.1-base (= 4.1.1-14), g++-4.1 (= 4.1.1-14), libstdc++6 (= 4.1.1-14), libc6-dev (= 2.3.6-7) I can understand

Re: Why must libstdc++-dev depend on gcc?

2007-09-20 Thread Arthur Loiret
Hello, you might have forgotten to build with DEB_CROSS_INDEPENDENT to also build a cross gcc-4.1-base, see in rules.defs: # when DEB_CROSS_INDEPENDENT is set we build and depend on a # separate -base package for the cross compiler. ifeq ($(DEB_CROSS_INDEPENDENT),yes) with_gccxbase := yes

Re: Why must libstdc++-dev depend on gcc?

2007-09-20 Thread Arthur Loiret
I haven't built anything. I've just tried to apt-get install libstdc++6-4.1-dev on my NSLU2, and it tells me that I must also install g++. Are you telling me you are going to try to use libstdc++-dev without g++? :-) Package: libstdc++CXX_SO`'PV-dev`'LS Depends: BASEDEP, g++`'PV`'TS (=

Re: Why must libstdc++-dev depend on gcc?

2007-09-20 Thread Phil Endecott
Arthur Loiret wrote: Hello, you might have forgotten to build with DEB_CROSS_INDEPENDENT to also build a cross gcc-4.1-base, see in rules.defs: Hi Arthur, thanks for replying. I haven't built anything. I've just tried to apt-get install libstdc++6-4.1-dev on my NSLU2, and it tells me that

Re: Why must libstdc++-dev depend on gcc?

2007-09-20 Thread Arthur Loiret
2007/9/20, Phil Endecott [EMAIL PROTECTED]: Yes. g++ (cross compiler) is installed on my PC. The PC mounts the NSLU2's filesystem using NFS. I want to install libstdc++ on the NSLU2 so that the cross compiler on the PC can use it. I do not plan to use the native g++ on the NSLU2. This is

Re: Why must libstdc++-dev depend on gcc?

2007-09-20 Thread Phil Endecott
Arthur Loiret wrote: I haven't built anything. I've just tried to apt-get install libstdc++6-4.1-dev on my NSLU2, and it tells me that I must also install g++. Are you telling me you are going to try to use libstdc++-dev without g++? :-) Yes. g++ (cross compiler) is installed on my PC.

Re: Why must libstdc++-dev depend on gcc?

2007-09-20 Thread Phil Endecott
Arthur Loiret wrote: 2007/9/20, Phil Endecott [EMAIL PROTECTED]: Yes. g++ (cross compiler) is installed on my PC. The PC mounts the NSLU2's filesystem using NFS. I want to install libstdc++ on the NSLU2 so that the cross compiler on the PC can use it. I do not plan to use the native g++ on