Add to default SEARCH_DIR paths (For a .o, not a .so)
Alan Modra
amodra@gmail.com
Fri May 22 03:02:00 GMT 2015
On Thu, May 21, 2015 at 08:57:19PM -0400, Michael Darling wrote:
> When using ld 2.24 binary or 2.25.51.20150521 (binutils-gdb.git), I am
> getting this error when compiling using gcc 6.0.0 20150521 (git
> master):
>
> /..//bin/ld: cannot find crtbeginS.o: No such file or directory
If you are linking with gcc, then the gcc driver should pass the full
pathname to the gcc provided crtbeginS.o. If that isn't happening it
suggests you have built or installed gcc wrongly, somehow.
If you are trying to link directly with ld, well, there are lots of
ways to fail at that.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list