This is the mail archive of the ecos-discuss@sources.redhat.com 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: Re: gcc 3.x for linux synthetic... a build question


Hi Martin, 

Martin Buck writes: 

>I'll have to fix my build scripts, since I intended to start actually
>doing something with the synthetic Linux compiler in a few hours :-(

I'm in the same situation... I can continue development on the board, but 
would prefer to make some system-independent things on synthetic :) 

>
>Somebody on this list mentioned that you can use a native Linux gcc 3.x
>now for eCos, so another thing to try would be to configure your gcc
>without any --target options (and without --with-newlib, of course). You
>just have to make sure not to install it over your current native
>compiler.

It is just what I'm trying now. Sure, I've installed new compiler into 
another directory. And, of course, CYGBLD_GLOBAL_COMMAND_PREFIX (ecos.ecc) 
is changed to point to 3.0.4 location. CYGBLD_GLOBAL_LDFLAGS is also changed 
 - vtable-gc is removed as it becomes unnescesary. 

>
>Yet another thing to try would be to give gcc the missing sys/ucontext.h
>file it complained about in your original message. As far as I can see,
>the only thing it wants from it is the definition of "struct ucontext",
>so you could try copy & pasting it from /usr/include/sys/ucontext.h into
>gcc/config/i386/linux.h. Disclaimer: I know exactly nothing about the
>purpose of "struct ucontext", so my suggestion could be complete
>nonsense. :-)

Looks a bit dangereous.. :) But anyway - thanks! 

May be I need to indicate some other library except ecoswide standard 
../install/lib directory...? 

Could I ask you to tell me if your gcc build will be successeful? 

Thank you!
Dmitry. 

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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