This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ARM native gcc-2.95.2
>
> So, to diagnose the problem, let's start by having a look at
>
> 1) your PATH setting
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
>
> 2) the directory listings of $prefix/lib/gcc-lib/$target/$version and
> $prefix/bin
$ ls /usr/lib/gcc-lib/arm-linux/2.95.2
SYSCALLS.c.X cc1plus cpp crtbeginS.o crtendS.o libgcc.a
specs
cc1 collect2 crtbegin.o crtend.o include libstdc++.a
$ ls /usr/bin
hrm... do you really want to see my whole /usr/bin? if your just wondering
whether or not it contains "cpp", it does, along with gcc, g++, ranlib...
>
> 3) the output from "gcc -v -print-search-dirs"
(i've s/:/:\n/ to make it easier to read)
install:
/tmp/gcc-2.95.2-isolated///usr/lib/gcc-lib/arm-linux/2.95.2/
programs: /tmp/gcc-2.95.2-isolated///usr/lib/gcc-lib/arm-linux/2.95.2/:
/tmp/gcc-2.95.2-isolated///usr/lib/gcc-lib/arm-linux/:
/usr/lib/gcc/arm-linux/2.95.2/:/usr/lib/gcc/arm-linux/:
/tmp/gcc-2.95.2-isolated///usr/arm-linux/bin/arm-linux/2.95.2/:
/tmp/gcc-2.95.2-isolated///usr/arm-linux/bin/
libraries: /tmp/gcc-2.95.2-isolated///usr/lib/gcc-lib/arm-linux/2.95.2/:
/usr/lib/gcc/arm-linux/2.95.2/:
/tmp/gcc-2.95.2-isolated///usr/arm-linux/lib/arm-linux/2.95.2/:
/tmp/gcc-2.95.2-isolated///usr/arm-linux/lib/:
/tmp/gcc-2.95.2-isolated///usr/lib/arm-linux/2.95.2/:
/tmp/gcc-2.95.2-isolated///usr/lib/:/lib/arm-linux/2.95.2/:
/lib/:
/usr/lib/arm-linux/2.95.2/:
/usr/lib/
>
> 4) If you still have the info available, the *exact* command lines you
> used to configure and build gcc.
CC=arm-linux-gcc ../gcc-2.95.2/configure --enable-languages=c,c++ \
--prefix=/tmp/gcc-2.95.2-isolated/usr --build=i386-linux
--host=arm-linux
# after this, i edited gcc/arm/linux-elf[26].h so the compiler would use
the same
# emulation modes that binutils-2.10 does, then ran the exact same configure
# command over again - probably not important for you to know, but
anyways...
make
make install
# following this, i tar/gzipped the contents of /tmp/gcc-2.95.2-isolated/
up, and
# transported it to the arm machine from my pc, and untarred it from /. in
other
# words, the compiler is not actually installed at the same $prefix it was
compiled
# with, it is installed with the /tmp/gcc-2.95.2-isolated/ stripped off.
>
>
> That should help us track it down.
>
> DaveK
> --
> All your base are belong to us!
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************