On 06/12/2013 12:01 PM, Dennis Poon wrote:
But I am working on a i386 Debian box.
I typed gcc -v and it just says Target: i486-linux-gnu
but isn't that normal?

Of course this is normal. what is not normal is that a cross-gcc (which is part of binutils) is supposed to be named just "gcc". (It should be named something like "mips-linux-gcc").

What I meant by "starting from the command line" is (on linux:)

either give the full path:
/usr/mips-linux-gnu/bin/gcc -v

or cd to the appropriate directory
cd/usr/mips-linux-gnu/bin/
and then do
./gcc -v


if this still says "Target: i486-linux-gnu" you don't have cross-binutils at all.

I for example see this with my cross binutils (for a completely different target):

./fido-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=./fido-none-elf-gcc
COLLECT_LTO_WRAPPER=/home/mschnell/CodeSourcery/Sourcery_CodeBench_for_fido_ELF/bin/../libexec/gcc/fido-none-elf/4.6.1/lto-wrapper
Target: fido-none-elf
....


-Michael
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to