This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Compile/Run an helloworld error
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: Champion J?r?me <Jerome dot Champion at he-arc dot ch>
- Cc: ecos-discuss at sourceware dot org
- Date: Thu, 20 Dec 2007 10:18:09 +0200
- Subject: Re: [ECOS] Compile/Run an helloworld error
- References: <F7620004260C5D4DB836EDBF8CC6872D01393165@neptune.intra.eiaj.ch>
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