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

See the CrossGCC FAQ 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: Error building ncurses.


On 06/30/2010 03:39 PM, Ben Greear wrote:
On 06/30/2010 03:11 PM, Yann E. MORIN wrote:
On Wednesday 30 June 2010 22:00:04 Ben Greear wrote:

Anyway, glibc-static on Fedora installs some static libs, including
libdl.a.
I just installed that and I'm recompiling now. I'll let you know how
that goes.

Regarding your other mail, can we consider the issue resolved, then?

Well, I'm having interesting problems. The crosstool build finished clean, but now I can't get ncurses to cross-compile, using the same commands that worked yesterday with the partially built cross-tools tree. I'm still trying to figure out why, but it looks a bit like ncurses is a steaming pile :P

Seems ncurses has issues. To get it to cross-compile I first had to compile it with CC=...arm-gcc, though this fails in a linking phase because it tries to link c++ code using arm-gcc.

Then, run make again with CC=...arm-g++ and it will link.

You can't build the whole thing with CC=..arm-g++ because of
compile errors, however.

I probably got lucky yesterday and got it mostly compiled before
I switched to g++.

Anyway, looks like that's working good enough now, and probably the
errors are all to do with ncurses and nothing wrong with crosstool.

Thanks,
Ben


-- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com


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