On Sat, Oct 13, 2001 at 12:42:35PM -0700, gavin li wrote:
> I have another question:
> 1. How to set start address of a function in gcc?
> I can't find it in man.
> 2. How to set data alignment in gcc? I also can't
> find it in man.
>From the gcc manual page:
WARNING
The information in this man page is an extract from the
full documentation of the GNU C compiler, and is limited
to the meaning of the options.
[...]
For complete and current documentation, refer to the Info
file `gcc' or the manual Using and Porting GNU CC (for
version 2.0). Both are made from the Texinfo source file
gcc.texinfo.
Also look for the linker documentation (in binutils).
> 3. Which GNU program can change elf file to BIN
> file. I find a elfToBin program in VxWorks, it seems
> to be one of a GNU program, but I don't know which
> archive include this program, please tell me.
objcopy -O binary elf-file binary-file
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.