On Sat, 13 Oct 2001, gavin li wrote:

> Thanks for appling me question,
> I have successfully compiled my code.
> 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.

        Have a look at the gcc info page and try and find some information
on linker scripts. You can do some really funky stuff with linker scripts
but that is really ld's job so look at info pages on ld and linker scrips

 >     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.

        man objcopy

        Cheers, Adam


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to