--- In "roger_cortesi" <> wrote:
> So I'm trying to install the GNU Common C\C++ libraries on my
TS-7200.
> http://www.gnu.org/software/commoncpp/
> Because it has a bunch of cool tools/classes.
>
> Currently the TS-7200 has taken 40 minutes and it is still only
> compiling the first header/source file. :-(
>
> I have thought about trying to use the crosstool chain under cygwin
to
> speed this up. But the way I see it there are at least three things
I
> have to overcome.
>
> 1) tell configure to build for arm "./configure --target=arm" ???
> 2) figuring out where MAKE is put all the object files it created.
> 3) copying the object files and header files to the correct
> directories on the TS-7200.
>
> Does any one have any thoughts on this? Am I missing a step (or 2)?
>
> thanks
>
> Roger
Well I have made some progress.
1) On my cygwin system I ran configure on the GNU Common C\C++
library with "./configure --target=arm --prefix=/home/blaablaablaaa"
2) I copied the header files generated to /usr/include/cc++ on the
arm and the compilied the library files (*.lo) to /usr/lib/cc++
3) Now as root run "ldconfig" on the TS-7200 to update the linker
library list so the compilier knows about the new libraries.
4) I wrote a small C++ program to use one of the new library
functions.
At compile time I get an error which is:
"bits/atomicity.h" not found
and sure enough, looking in /usr/include/bits there is no atomicity.h
Anyone know what this header does? And how I can get it? I have tried
a lot of googling. It has something to do with managing threads I think.
thanks
roger
PS all this is to avoid writing myown serial port handling header...
any one know of any good serial port routines (C or C++)... I could
re invent the wheel... but why?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|