This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add to default SEARCH_DIR paths (For a .o, not a .so)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]