Re: [Libusb-devel] usbutils under Windows and Mac OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2) to have a customized autogen_mac_osx.sh

Why is this needed?

OSX has a program called libtool that is like ar or ld for shared libraries. The GNU libtool that is installed with the developer tools has binary names
glibtool and glibtoolize.

People who install a newer version of libtool (in /usr/local, say) generally get the normal names (libtool and libtoolize), so autogen.sh should ideally
test if libtoolize is there, and if not, try glibtoolize instead.

3) to make Apple Linker on Mac OS X happy. It does not like -as- needed.

I don't understand why the linker can't handle this.  What goes wrong?

The ld on OSX is not GNU ld, and doesn't do ELF either; it simply does not
have the --as-needed command-line argument.


Segher

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux