Re: good source for linker scripts



Hi,
I am glad that I am not alone in the world that find linkers complex to use.
I have been working with embedded technology for more than 20 years and
linkers
have always bee that crap.

The best I have seen until now, is the IAR Embedded Workbench for the AVR.

You call it arcane art, yes I agree, but I also think, that understanding
the linking process and the scripts and control files, are an essential part
of the Embedded Discipline. Knowing these parts
makes some distance to the crowd of programmers that makes PC and Windows
software.

Have a nice day,

regards JG (B. Sc. e. e.)


"Tim Wescott" <tim@xxxxxxxxxxxxxxxx> skrev i en meddelelse
news:7e6dncrnppio45nZnZ2dnUVZ_tWdnZ2d@xxxxxxxxxxxxxxx
Knopf wrote:

Hi.

Do you have a good source that describes the linking process for
microprocessors and especially linker scripts in detail? What I found
on the web it looks like an arcane art and most of the time the vendor
supplied scripts work, but in my case it doesn't.

Thanks a lot, Knopf.

Linking has some general principals, but every linker scripting language I
have ever run into has been proprietary to the linker in question, and
very poorly documented. I've always had to survive on a combination of
starting from a vendor-supplied script, scratching around for what
information I could, and lots of experimentation. In the end it's an
arcane art, but in the beginning it's some poor SOB scratching around
trying to make things work.

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Posting from Google? See http://cfaj.freeshell.org/google/


.



Relevant Pages

  • Re: memtest86+ on freebsd
    ... It seams that the main culprit here was the following line in the linker ... it is a somewhat known culprit. ... smaller, providing that you can override linker command-line switches, ... linker scripts will be changed. ...
    (freebsd-hackers)
  • Re: memtest86+ on freebsd
    ... It seams that the main culprit here was the following line in the linker ... it is a somewhat known culprit. ... smaller, providing that you can override linker command-line switches, ... linker scripts will be changed. ...
    (freebsd-hackers)
  • Re: Basic Solaris Questions
    ... Most "configure" scripts check the LDFLAGS variable for linker ... BTW, what's the most portable way to 'export' a variable? ... VAR=blah export VAR ...
    (comp.unix.solaris)
  • Re: unnecessary C++ builds of up-to-date projects
    ... If it is not possible for you to send the entire solution, you may specify ... The linker will emit all the details of its linking process in the ...
    (microsoft.public.vsnet.ide)