View Single Post
  #9   Spotlight this post!  
Unread 12-01-2007, 11:57
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How much memory is there really?

I'm a proponent of the pragma approach Ken described rather than modifying the linker directives. The pragma's are obvious and self-commenting in the code while the linker script is hidden and doesn't leave a discernable audit trail. Misuse of the linker script is also harder to ferret out from a distance.

Linker script modification is obviously not an issue for the current knowledgable programmer, but more so for clarity when future programmers borrow code and they can't figure out why it doesn't work.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle