DPRG
DPRG List  



[DPRG] request for comments about EmbedCV direction

Subject: [DPRG] request for comments about EmbedCV direction
From: Dave Hylands dhylands at gmail.com
Date: Mon Nov 6 09:52:14 CST 2006

Hi Chris,

> If you are interested in this library then I invite you to take a look.
> Right now, my toolchain is entirely GNU/Linux using GCC. I've tried to
> avoid platform dependencies or cross toolchain unfriendliness. But
> ultimately, testing is the only way to know for sure. It would be nice to
> know what platforms and toolchains people are using.

First comment is on the Makefile, in particular for cross-compiler.

It would be nice if all of the tools used the following:

CC = ${CROSS_COMPILE}gcc
and similarly for CPP, STRIP, AR, and RANLIB.

For me, I would then be able to do:
make CROSS_COMPILE=arm-linux-

(using CROSS_COMPILE in that particular way is fairly common in the
linux world).

Also CPPFLAGS is normally used for C pre-processor flags, and CXXFLAGS
is normally used for C++ flags. CFLAGS And CXXFLAGS should both
include CPPFLAGS (so that -I can be specified). So CPP would actually
be called CXX.

Variables like CFLAGS (and CPPFLAGS and CXXFLAGS) should normall use
+= rather than = so that additional options can be specified on the
make invocation.

Now that I've installed jpeg, I got everything to compile. I'll take a
close look at the actual code later.

Thanks

-- 
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

More information about the DPRG mailing list

Copyright © 1984 - 2006 Dallas Personal Robotics Group. All rights reserved.
Website Design by NCC

For the latest robot news visit robots.net