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: Segmentation fault


On  5 Mar 2013, mwpowellhtx@gmail.com wrote:

> I have a simple Hello World type app, that's all it does, cout <<
> "Hello, World!" << endl and that's it. That one works when I cross
> compile and run it on the target.

> Then I work int some more elaborate functionality involving I2C
> features, and I get segmentation fault.

Have you updated the libraries on the target?  See '*-populate' in your
Crosstool directory.  Also check the proper libraries are present with
'ldd'; there can be a version in ct-ng.  Then it is possible it is your
code.

hth,
Bill Pringlemeir.


--
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]