Re: processor specific information while compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ranjith kumar wrote:
> While compiling, gcc uses information about processor's architecture,
> instruction set......etc.
> 1) In what form this information is stored??
>        I want to see those file. where they are located?

In the config/chip directory, especially the machine description file
This is documented in the gccint manual at
http://gcc.gnu.org/onlinedocs/gccint/

> 2) I want to write a 'c' program to convert AST(abstract synax tree)
> to  machine code.
>      Any links on this topic please.

That's what most of gcc does.  It's a huge job.

Why not use gcc to do this?

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux