Re: ld: library not found for -lbundle1.o
Re: ld: library not found for -lbundle1.o
- Subject: Re: ld: library not found for -lbundle1.o
- From: Jonas Maebe <email@hidden>
- Date: Tue, 26 Apr 2011 21:18:05 +0200
On 26 Apr 2011, at 21:03, Tilghman Lesher wrote:
> You don't want to use the "-l" prefix. Just link it directly into the
> executable (or library), by using the full path, /usr/lib/bundle1.o. The
> "-l" prefix implicitly adds a "lib" prefix and a ".dylib" suffix to the name
> you specify, which means it's looking for a file named "libbundle1.o.dylib",
> which does not exist.
The Mac OS X linker also supports object files with "-l". It makes it easier to link against the startup object files (crt1.o, bundle1.o, dylib1.o) when using SDKs rather than the system-default ones under /usr.
Jonas _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden