This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thakns for the quick answer. You are right. The advice worked. Now moving on to the next trouble :-)) Thanks again Mau On Mon, Dec 30, 2013 at 7:26 PM, Niels Penneman <niels@penneman.org> wrote: > Hi > > Buildroot's option "BR2_TOOLCHAIN_EXTERNAL_PATH" expects a 'sysroot' > path which is more than just a GCC folder. > > I believe you should use the same as CT_INSTALL_DIR from your > crosstool-ng configuration, unless you have moved the toolchain > afterwards. In your case I believe this would be > > BR2_TOOLCHAIN_EXTERNAL_PATH="/home/zm02/x-tools/i686-zm-linux-gnu" > > > Before trying this you may want to verify that the toolchain is actually > in "/home/zm02/x-tools/i686-zm-linux-gnu". This directory should have > multiple subdirectories like "bin", "include", "lib", "share", ... > Inside bin you should find i686-zm-linux-gnu-gcc but also > i686-zm-linux-gnu-ld and other tools. > > On 12/30/2013 06:19 PM, Mau Z wrote: >> Hi! >> >> Thanks for the quick advice. >> >> Do you mean that I should put : >> BR2_TOOLCHAIN_EXTERNAL_PATH="/home/zm02/development/crosstoo-ng/crosstool-ng-1.18.0/toolChain/.build/i686-zm-linux-gnu/build/build-cc-final/gcc/ >> >> >> Thanks >> Mau >> >> On Mon, Dec 30, 2013 at 7:09 PM, Niels Penneman <niels@penneman.org> wrote: >>> Hi, >>> >>> I don't know much about buildroot, but I gave your two configuration >>> files a quick look. >>> >>> From your crosstool-ng configuration file, I saw you have not changed >>> the default installation path for the generated toolchain: >>> >>> CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}" >>> CT_INSTALL_DIR="${CT_PREFIX_DIR}" >>> >>> These two settings mean the toolchain will be installed in your home >>> directory: /home/zm02/x-tools/i686-zm-linux-gnu >>> >>> In buildroot, however, you have not configured this correctly. Instead >>> you seem to have pointed buildroot to an intermediary toolchain used to >>> build your final toolchain by crosstool-ng: >>> >>> BR2_TOOLCHAIN_EXTERNAL_PATH="/home/zm02/development/crosstoo-ng/crosstool-ng-1.18.0/toolChain/.build/i686-zm-linux-gnu/buildtools" >>> >>> You should use the final toolchain. >>> >>> >>> On 12/30/2013 05:53 PM, Mau Z wrote: >>>> Hi! >>>> >>>> I had built crosstool-ng >>>> Then I went to buildroot and tried to build an image. >>>> >>>> *Here is the result:* >>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>> make[1]: Leaving directory >>>> `/home/User_1/development/buildroot/buildroot-2013.05' >>>>>>> Checking external toolchain settings >>>> C++ support is selected but is not available in external toolchain >>>> make: *** >>>> [/home/User_1/development/buildroot/buildroot-2013.05/output/stamps/ext-toolchain-checked] >>>> Error 1 >>>> >>>> >>>> I am attaching >>>> 1) crosstool-ng .config file >>>> 2) buildroot .config file >>>> >>>> Any advise ? >>>> >>>> >>>> Thanks >>>> Mau >>> > > -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |