From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11659 invoked by alias); 30 Dec 2013 20:05:01 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 11645 invoked by uid 89); 30 Dec 2013 20:05:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f176.google.com Received: from mail-we0-f176.google.com (HELO mail-we0-f176.google.com) (74.125.82.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 30 Dec 2013 20:04:59 +0000 Received: by mail-we0-f176.google.com with SMTP id p61so10269194wes.7 for ; Mon, 30 Dec 2013 12:04:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jN7t6zEHkk2eyfze63Zf51OPggP+Ay7hXqWcjNA7BYM=; b=Z3us29wHVPvf/b+NJi8YPATWGYTdRKSmfYZA4uAGHwunss3hQpmj2tHjweo4vAEJQK IG+G5S74vq/UYvrmVtzFSw0wHKxpjLuME+vK76evTymz34gfDVOvE2SzjQQxNxFM8fzx aOYbvDf082HSmctuApV3URgJL4pmf2MWyV7/H1fxCiWIBJRBikMsa7y80BNGBNEMGqG6 Id1nY1wWy7KTjMGXssVW/o2PUc3oPi0qhrAGGLCVpZ/STi0CsGqJpo4lMOsJiCoPJbVz LTk6DYjABf3FTbQl6I0ZDWZYxuW0SCsNEq/BXYB13W6FkAAaN0917jfOIo+zd/J5tB4l ZsEQ== X-Gm-Message-State: ALoCoQk0xx8Rwhtby7MkVYEnUf1DZSzKE7ySOvgOYA0u25lDGBHma0DzSeWyfXNQvoVWDcQ318v7 X-Received: by 10.194.104.42 with SMTP id gb10mr47275103wjb.16.1388433895548; Mon, 30 Dec 2013 12:04:55 -0800 (PST) Received: from [172.17.2.21] (78-21-190-136.access.telenet.be. [78.21.190.136]) by mx.google.com with ESMTPSA id ot9sm17398187wjc.0.2013.12.30.12.04.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 12:04:55 -0800 (PST) Message-ID: <52C1D1E5.9050200@penneman.org> Date: Mon, 30 Dec 2013 20:05:00 -0000 From: Niels Penneman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Mau Z CC: crossgcc@sourceware.org Subject: Re: Is C++ supported ???? References: <52C1A8BB.8000604@penneman.org> <52C1BBBE.2030309@penneman.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-12/txt/msg00040.txt.bz2 You can see it from the config file: CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}" CT_INSTALL_DIR="${CT_PREFIX_DIR}" This is a default setting. If you make a new configuration and don't change this, crosstool-ng will make an x-tools directory in your home folder ${HOME}, and inside x-tools it will make a subdirectory with the name of your target, ${CT_TARGET}, in this case "i686-zm-linux-gnu". How to change this / see it in the configuration menu: First, bring up the menu using nconfig or menuconfig: # ct-ng nconfig Then, go into the "Paths and misc options" menu, find "Prefix directory" and change it. That should do the trick. On 12/30/2013 08:20 PM, Mau Z wrote: > Thanks again > Actually now buildroot finished it's job. > > So I really wonder one more thing (This is just curiosity, since thing > look like working) : > > Where did I tell crosstool-ng to create the "x-tools" directory in my > home directory ? > > Really thanks > > > On Mon, Dec 30, 2013 at 8:30 PM, Niels Penneman wrote: >> Hi, >> >> Notice that the compiler you are referring to below is called >> i686-build_pc-linux-gnu-g++, not i686-zm-linux-gnu-g++. The build_pc >> part indicates that the compiler mentioned below is the compiler used to >> build the cross-compiler, not the cross-compiler itself. This is why it >> is just a shell script that invokes your host compiler in /usr/bin. >> >> On 12/30/2013 06:34 PM, Mau Z wrote: >>> Hi again, >>> >>> 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/ >>> >>> I tried it, but it did not work. >>> >>> Does crosstool-ng produce g++ for the target ??? >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> I am asking because the following file "i686-build_pc-linux-gnu-g++" >>> is actually a script which activated /usr/bin/g++ >>> Here is the content of this file : >>> #!/bin/bash >>> exec '/usr/bin/g++' "${@}" >>> >>> The file "i686-build_pc-linux-gnu-gcc" (which is located in the same >>> directory), is similar : >>> #!/bin/bash >>> exec '/usr/bin/gcc' "${@}" >>> >>> >>> Now if you compare it to "i686-zm-linux-gnu-gcc" (which is located in >>> the same directory), then this is a "real program" >>> ls -l i686-zm-linux-gnu-gcc >>> -rwxr-xr-x 2 User_01 User_01 1454560 Dec 30 08:50 i686-zm-linux-gnu-gcc >>> But there is no file named "i686-zm-linux-gnu-g++" >>> >>> >>> >>> >>> Thanks again >>> Mau -- For unsubscribe information see http://sourceware.org/lists.html#faq