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]

Re: [CT_NG] crosstool-ng 1.1.0's cpp compile error


Hello leemgs!
Sorry, I can't reproduce your character set here.

On Sunday 18 May 2008 14:15:00 ìêì wrote:
> I download crosstool-ng ver 1.1.0. and I installed in /opt/ directory using
> crosstool-ng ver 1.1.0. When I used arm-ctng110-linux-gnueabi-cpp command

Mind you, arm-ctng110-linux-gnueabi-cpp is not the C++ compiler, just the
C Pre-Processor.

[--SNIP--]
> lrwxrwxrwx 1 root root     72  5ÂÃ 10 18:46
> arm-ctng110-linux-gnueabi-ar ->
> /root/x-tools/arm-ctng110-linux-gnueabi/bin/arm-ctng110-linux-gnueabi-ar
> lrwxrwxrwx 1 root root     72  5ÂÃ 10 18:46

Argh! Don't run as root! I should deefinitely add a check and refuse to run
as root. It's documented in the man page, but I guess no one reads the man
page. :-)

> arm-ctng110-linux-gnueabi-as ->
> /root/x-tools/arm-ctng110-linux-gnueabi/bin/arm-ctng110-linux-gnueabi-as
> -rwxr-xr-x 1 root root 245001  5ÂÃ 10 19:04 arm-ctng110-linux-gnueabi-cpp
> -rwxr-xr-x 2 root root 242410  5ÂÃ 10 19:04 arm-ctng110-linux-gnueabi-gcc
> -rwxr-xr-x 2 root root 242410  5ÂÃ 10 19:04 arm-ctng110-linux-gnueabi-gcc-4.2.3
> -rwxr-xr-x 1 root root  16478  5ÂÃ 10 19:04 arm-ctng110-linux-gnueabi-gccbug
> -rwxr-xr-x 1 root root  32916  5ÂÃ 10 19:04 arm-ctng110-linux-gnueabi-gcov
> lrwxrwxrwx 1 root root     72  5ÂÃ 10 18:46
> arm-ctng110-linux-gnueabi-ld ->
> /root/x-tools/arm-ctng110-linux-gnueabi/bin/arm-ctng110-linux-gnueabi-ld
> lrwxrwxrwx 1 root root     75  5ÂÃ 10 18:46
> arm-ctng110-linux-gnueabi-strip ->
> /root/x-tools/arm-ctng110-linux-gnueabi/bin/arm-ctng110-linux-gnueabi-strip

No "arm-ctng110-linux-gnueabi-g++" in the list. gcc is here, cpp is here,
but not g++. Let's see why in the next mails...

> /opt/ctng110toolchain/bin/targets/arm-ctng110-linux-gnueabi/build/gcc-core-shared/bin/arm-ctng110-linux-gnueabi-cpp
>  /opt/cppcopy.cpp
> arm-ctng110-linux-gnueabi-cpp: /opt/cppcopy.cpp: C++ compiler not
> installed on this system

Absolutely normal. Again, cpp is NOT the C++ compiler, but /only/ the C
pre-processor, hence the name.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< Â_Â >==-- Â------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | * _ * | / \ HTML MAIL    |  """  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]