Wednesday, 13 March 2013

Re: [gccsdk] Porting asasm

In message <op.wtuym91fl0n5eg@amoe.local>
"Ben Avison" <bavison@riscosopen.org> wrote:

> >> sudo apt-get install bison flex libarchive-dev
> >> autoreconf --install
> >> ./configure --target=arm-linux-gnueabihf
> >> make
> >> DESTDIR=<path/to/installation> make install
> >
> > BTW, --target is not taken into account by asasm.
>
> Without that, it falls over building libelf:
>
> elf.c:34:18: error: 'unknown' undeclared here (not in a function)

Ah right. I forgot about elftoolchain library being in the build of
asasm. Currently not used but we're going to use this instead of our
own ELF write routines.

> [...]
> Here are the first few minor niggles:
>
> 1) There are missing install rules in asasm/unittests/compare/Makefile
> and asasm/unittests/reloc/Makefile
> 2) asasm seems to think BX <register> was a 5T instruction - it was
> introduced in 4T

Thanks, fixed now.

John.
--
John Tytgat, in his comfy chair at home
John.Tytgat@aaug.net

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment