Cross Compiling elinks

Stefan Sperling stsp at stsp.name
Thu Nov 20 12:13:14 CET 2008


On Wed, Nov 19, 2008 at 09:08:47PM -0600, Austin Brkich wrote:
> Alright, I am not sure if anyone here has tried to do this yet or not
> since I just joined the Mailing List. But I am trying to cross compile
> elinks because I prefer it way more then links and it has much better
> features for me to use. Anyways I have download 0.11.5 and I
> configured it with "./configure --prefix=/usr --host=arm-linux". It
> goes through that alright but when I try to "./make" it there turns
> out to be one major bug that decides to cause it to stop the whole
> process.
> 
> arm-linux-elf-gcc: unrecognized option '-rdynamic'

Looks like it's trying to compile shared libraries (the "dynamic"
probably refers to "dynamically linked" -- shared libraries are
said to be dynamically linked, as opposed to statically linked).

DSLinux does not support shared libraries, it only supports static
linking.

You could could try finding an option in the configure script
that disables shared library linking, or look around Makefile.in
(or Makefile.am, if it exists) for ways to disable dynamic linking.

Hope this helps,
Stefan


More information about the dslinux-devel mailing list