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

See crosstool-NG for lots more information.


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: Locate libi2c-dev include paths


Well...

On Tue, Mar 5, 2013 at 11:13 AM, Michael Powell <mwpowellhtx@gmail.com> wrote:
> Hello,
>
> In particular for linux/i2c-dev.h, and in particular in particular,
> for the i2c_smbus_write_i2c_block_data keyword.

Is there any straightforward way to patch the crosstool-ng source with
the latest I2C dev lib? I'd like to avoid compounding technical debts
of rewriting anything.

Particularly, we literally have more application level things to be
concerning ourselves with than dealing with such a low-level thing at
this time.

> I've installed libi2c-dev, which i2c_smbus_write_i2c_block_data
> apparently depends upon; i2c-tools won't do the trick.
>
> When I build for x86, it works. When I build using our ARM
> crosstool-ng cross compiler, the process complains about;
> i2c_smbus_write_i2c_block_data.
>
> I have several paths to choose from when I find for the i2c-dev.h
> file. I can make a couple of educated guesses, but if someone had any
> recommendations, that'd be great.
>
> Regards,
>
> Michael Powell

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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