[ell-i-developers] Re: Ellduino Emulator: Fixing issues for Linux (Ubuntu 12.04 LTS)

  • From: Pekka Nikander <pekka.nikander@xxxxxx>
  • To: ell-i-developers@xxxxxxxxxxxxx
  • Date: Sun, 2 Mar 2014 21:56:57 +0200

> You were right... the default linker script that GNU 'ld' uses resides inside 
> /usr/lib/ldscripts named as elf_x86_64.xc. It is also attached to this email 
> with lines 61-64 added about start and end peripherals ...

I think that is the 64-bit linker script.  I *guess* the 32-bit one might be 
elf_i386.xc

> Please see the changed elf_x86_64.xc file attached to this e-mail.

That looks perfectly good to me.  

My guess is that once you find the right i386 linker script, and get it working 
from the command line with the -m32 -march=i386 -Xlinker -T -Xlinker 
<your-file> arguments, you'll be done with this.

--Pekka


Other related posts: