[ECOS] Compile/Run an helloworld error
Sergei Gavrikov
sergei.gavrikov@gmail.com
Thu Dec 20 10:18:00 GMT 2007
On Wed, Dec 19, 2007 at 03:27:56PM +0100, Champion J?r?me wrote:
> If I compile the hello world in edgy, I can launch it with gdb in
> Gutsy, so there must be something wrong when compiling ( but it didn't
> show any error ).
The main difference is in a used GCC, take o look at
you@edgy:~$ gcc -v
...
you@gutsy:~$ gcc -v
...
I would suggest you just install the GCC-3.4 suite to compile eCos for
the synthetic target. It won't break your GCC-4, but you will have the
stable results when you will change a distro.
you@gutsy:~$ sudo apt-get install gcc-3.4 g++-3.4
Then try to build eCos tests as
ecosconfig new linux
ecosconfig tree
make CC=gcc-3.4 CXX=g++-3.4 tests
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list