Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: Hi Greg, Sorry the previous email goes to the wrong linux kernel list. Now usbutils git almost builds successfully out of the box under Mac OS Xand Cygwin (using libusbx). Just wondering if you can accept the minor fix for Mac

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 3:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: I only need one fix for Mac OS X as Apple's gcc compiler does not like --as-needed. I didn't think Apple used gcc anymore. How about testing to

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 3:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: Now usbutils git almost builds successfully out of the box under Mac OS Xand Cygwin (using libusbx). Just wondering if you can accept the minor

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Tue, Oct 16, 2012 at 9:15 PM, Xiaofan Chen xiaof...@gmail.com wrote: On Tue, Oct 16, 2012 at 3:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: Now usbutils git almost builds successfully out of the box under Mac OS

Re: [Libusbx-devel] usbutils for Mac OS X and Cygwin

2012-10-16 Thread Sean McBride
On Tue, 16 Oct 2012 21:01:28 +0800, Xiaofan Chen said: I didn't think Apple used gcc anymore. How about testing to see if this is a valid option before trying to use it instead of just removing it? Apple calls its compiler gcc. But yes it is llvm based. Apple used to use gcc, or rather their

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2012 at 09:15:43PM +0800, Xiaofan Chen wrote: On Tue, Oct 16, 2012 at 3:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Oct 16, 2012 at 09:57:16AM +0800, Xiaofan Chen wrote: Now usbutils git almost builds successfully out of the box under Mac OS Xand

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Greg Kroah-Hartman
On Tue, Oct 16, 2012 at 10:08:48AM -0400, Alan Stern wrote: On Tue, 16 Oct 2012, Greg Kroah-Hartman wrote: mymacmini:usbutils xiaofanc$ git diff diff --git a/Makefile.am b/Makefile.am index 4e53e45..e8cb002 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,7 @@ SUBDIRS

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
On Wed, Oct 17, 2012 at 12:14 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Might it just be easier to patch usbutils to be something like USB_IDS_DATADIR instead when building on these systems? Good idea. Here is the patch based on your suggestion and it works fine. snip

Re: usbutils for Mac OS X and Cygwin

2012-10-16 Thread Xiaofan Chen
, and I honestly really don't care about os-x and cygwin. I see. No problem. This is mainly to fulfill my desire to run lsusb under Mac OS X and Windows. From the download count, there are a little bit of interests from people (162 download for usbutils-005 Mac OS X and Cygwin) but not many anyway

Re: usbutils for Mac OS X and Cygwin

2012-10-15 Thread Xiaofan Chen
Hi Greg, Sorry the previous email goes to the wrong linux kernel list. Now usbutils git almost builds successfully out of the box under Mac OS Xand Cygwin (using libusbx). Just wondering if you can accept the minor fix for Mac OS X and suggest a way to fix cygwin build. For Cygwin, there is a