This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile/Run an helloworld error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]