This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ 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] |
On Sunday 22 November 2009 22:11:04 piper.guy1 wrote: > I have done all the instructions as required. But when I > invoke the build (./ct_ng build) it fails almost > immediately with this error: > carl@xu-mobile1:~/felabs/sysdev/toolchain/crosstool-ng-1.5.1$ ./ct-ng build > [INFO ]? Performing some trivial sanity checks > [INFO ]? Build started 20091122.141722 > [INFO ]? Building environment variables > [WARN ]? Directory '/home/carl/src' does not exist. Will not save > downloaded tarballs to local storage. > [EXTRA]? Preparing working directories > [WARN ]? You did not specify the build system. That's OK, I can guess... > [ERROR]? Missing: 'i486-linux-gnu-g++' or 'i486-linux-gnu-g++' or > 'g++' : either needed! The message is quite explicit: you do not have a native g++ compiler on your host machine. Maybe you need to run: apt-get install g++ On my Debian lenny, the g++ C++ compiler is packaged separately from the gcc C compiler. I guess it's the same for Ubuntu. > It appears that ct-ng can't find the native GNU compiler on my build > system. But when I type invoke the compiler directly at the command > line it has no trouble finding and running it, which tells me that the > paths are set up correctly I believe. > > carl@xu-mobile1:~/felabs/sysdev/toolchain/crosstool-ng-1.5.1$ gcc -v This is gcc, not g++. What does running the following says: g++ --version > I even set the path to where gcc is located under the option 'Tools > prefix' under Toolchain Options, but it still can't build. > Why can't it resolve the path to where gcc is located? It's not tring to find 'gcc', but to find 'g++'. Install g++, and try again. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- 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] |