This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question about compilation details
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: eduardo <eduardo at medx dot com dot br>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 28 Apr 2008 13:46:31 +1000
- Subject: Re: Question about compilation details
- References: <1e747bdc758f52ce009e02ff7529a63d@medx.com.br>
> I'm using the arm-elf-gcc compiler to compile some files to a ARM9
> (Freescale i.MX27, ARM926EJ-S core). What I would like to know is how
> can I visualize/change the address specifications made by the linker
> to the output file? I heard gcc can generate a file (.lst) that
> contains such information, but I also don't know how to create this
> file.
This question is probably better suited to gcc-help; this list is for
development discussions. However, I will try and answer your question
nonetheless. ;-)
I assume you're referring to a linker map. The GNU linker can create
one of these -- you need to refer to the ld man page for the details
(it's not really related to gcc). To pass an option to the linker, pass
"-Wl," to gcc.
Cheers, Ben
--
Ben Elliston <bje@au.ibm.com>
Australia Development Lab, IBM