On Thu, Aug 16, 2012 at 5:17 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The INCLUDE works inside a SECTIONS { ... } definition.<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><br>Yeah, looks like I might've jumped the gun there. Turns out I was writing:<br><br><span style="font-family:courier new,monospace">INCLUDE(linkcmds.robsdsets);</span><br><br>instead of the correct syntax:<br>
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">INCLUDE linkcmds.robsdsets</span><br><br>In my opinion, a little inconsistant on GNU's part but whatever. :/<br clear="all">
<br>That's only half the problem though. Prior to noticing that, I was just getting the ever-helpful "syntax error" message. Now I get "cannot open linker script file linkcmds.robsdsets: No such file or directory". Obviously, ld can't find my file.<br>
<br>Right now, I've got things setup so that linkcmds.robsdsets sits in m68k/shared/startup and m68k/Makefile.am is aware of it with:<br><br><span style="font-family:courier new,monospace">dist_project_lib_DATA = shared/startup/linkcmds.robsdsets</span>.<br>
<br>I've already run <span style="font-family:courier new,monospace">./bootstrap -p</span> to regenerate m68k/<a href="http://preinstall.am">preinstall.am</a>. My memory could be wrong but I don't think there even was an m68k/<a href="http://preinstall.am">preinstall.am</a> file until I added the line:<br>
<br><span style="font-family:courier new,monospace">include $(srcdir)/<a href="http://preinstall.am">preinstall.am</a></span><br><br>I even re-bootstrapped just for good measure (still have no idea what that thing is for though; it would be nice if <span style="font-family:courier new,monospace">--help</span> would so kindly tell me).<br>
<br>I'm gonna hold off on submitting the rest of my patches until I can get this fixed. I'm sure it's just something simple that I overlooked. I can rewrite each .robsdsets section in seconds.<br><br>-- <br>- Kevin Polulak (soh_cah_toa)<br>
- <a href="http://cybercrud.net" target="_blank">http://cybercrud.net</a><br><br>