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] | |
Mike Frysinger wrote:
> On Wednesday 25 January 2006 01:31, NomadZhaoSZ wrote:
>> So, I want to know this tools compiled for which type processor, and I
>> want to know how they compile these tools from GNU toolchain can let
>> me can't know all these messages?
>
> compile a simple file and analyze it
> $ echo > test.s
> $ abc-elf-as test.s -o test.o
> $ file test.o
> $ readelf -h test.o
> -mike
If that doesn't help, take a look at the disassembly with "abc-elf-objdump
-d test.o" and google some of the instruction mnemonics until you find out
the cpu type.
Also try "abc-elf-as --help" and see if it lists any target-specific
options, then compare them against the ones listed by target in the as man
page.
cheers,
DaveK
--
Can't think of a witty .sigline today....
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |