making a tar -> .o using objcopy Re:
Joel Sherrill
joel.sherrill at OARcorp.com
Sat Dec 9 15:25:41 UTC 2000
This warning is expceted since "binary" format has no
target information. A patch a while back on the binutils
list removes this warning in this particular case.
There is really nothing you can do and it means nothing
in this case.
Another way to do this is to have a C program generate
an array of bytes for the binary file and compile the
C program. No utility I have handy does this.
alex daniloff wrote:
>
> Could you help me. I can't tar my file to RTEMS project.
>
> my Makefile
> -------------------
> tar cf $(ARCH)/tarfile ftp
> $(LD) -r -o $(ARCH)/temp.o $(PFD)/init/init.o -b binary $(ARCH)/tarfile
>
> Here I've got error:
>
> ld: o-optimize/tarfile: compiled for a little endian system and target is a big endian
> File is wrong format: failed to merge target specific data of file o-optimize/tarfile
> -------------------
>
> What should I correct?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list