Re: question on cross-compilation with specs...

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

 



Hi

>
> based on an XScale ASSP how do I make sure the compiler uses the correct
> memory map?

You need to use linker script to specify how the linker should arrange
different sections. Please look into ld manual for more information. Also
you can look at how its done for linux (for i386 the script is called
vmlinux.lds. BTW its passed to ld by -T option)

Regards,
Muthu.



>
>
> $ xscale-elf-gcc foo.c -specs=redboot.specs -mbig-endian
>


[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