rtems-libbsd: M68K linkcmds Patches Galore
Kevin Polulak
kpolulak at gmail.com
Thu Aug 16 23:48:43 UTC 2012
On Thu, Aug 16, 2012 at 5:17 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> The INCLUDE works inside a SECTIONS { ... } definition.
>
Yeah, looks like I might've jumped the gun there. Turns out I was writing:
INCLUDE(linkcmds.robsdsets);
instead of the correct syntax:
INCLUDE linkcmds.robsdsets
In my opinion, a little inconsistant on GNU's part but whatever. :/
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.
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:
dist_project_lib_DATA = shared/startup/linkcmds.robsdsets.
I've already run ./bootstrap -p to regenerate m68k/preinstall.am. My memory
could be wrong but I don't think there even was an m68k/preinstall.am file
until I added the line:
include $(srcdir)/preinstall.am
I even re-bootstrapped just for good measure (still have no idea what that
thing is for though; it would be nice if --help would so kindly tell me).
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.
--
- Kevin Polulak (soh_cah_toa)
- http://cybercrud.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20120816/95fcbb3f/attachment-0001.html>
More information about the devel
mailing list