This post was directed towards MICO developers in order to kindly ask them
to clean up global namespace from MICO stuff.

The general advice for all projects is to prepend global #define's with
project name:

HAVE_ISNAN should be MICO_HAVE_ISNAN
HAVE_STDIO_H should be MICO_HAVE_STDIO_H
and so on.

Developers should replace ALL instances of HAVE_ variables, not only in
mico/config.h, but everywhere where they use them. They should also edit
Makefile.am, configure.in, configure and replace HAVE_* there too.

By the way, here is one more bug report. Mico does not support out of
source builds. This means that if you want to compile debug and release
build of the same MICO distribution, you must create two copies of a
source tree. (I think it is enough to ship Makefile.am in order to resolve
the issue)

And here is one more bug report: Nowadays, for cross compiling you don't
need to have datatype sizes preset in configure script. Modern autotools
can calculate datatype size without running the code. (To resolve the
issue, download the latest autotools and re-run autoconf)

With updated configure script I could cross-compile MICO for the following
platforms:

alphaev67-unknown-linux-gnu
i686-apple-darwin9
i686-pc-mingw32
ia64-hp-hpux11.23
powerpc64-apple-darwin9
powerpc-apple-darwin9
sparc-sun-solaris2.7
x86_64-apple-darwin9
x86_64-pc-linux-gnu

Denis

> Where i have to use MICO_ prefix? I have to edit
> mico/config.h and
> compile mico again?



      
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to