This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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: Building GlibC for TriCore


Hi Petr,

Thank you very much for your reply.

I had already tried CC=tricore-gcc before ./configure but it had no effect.
The configure log still showed that GCC was being used over tricore-gcc. 

Also, I guess the problem is because of the OS and Architecture dependent
parts of Glibc that needs modification. I am not very sure of how to go
about it but I will figure it out i guess. At least, now I have more
direction!

Thanks again,
Regards,
RV






Petr Baudis-2 wrote:
> 
>   Hi!
> 
> On Sun, Mar 22, 2009 at 07:37:39PM -0700, u0606029 wrote:
>> I am working on a T-Kernel RTOS based TriCore system. I have the
>> tricore-gcc
>> installed in my system. I wish to build glibc using tricore-gcc instead
>> of
>> normal gcc as I want to download the glibc library on to the board.
>> However,
>> I am not able to change the configuration option while building glibc, to
>> use tricore-gcc over gcc. Could you help me regarding this?
> 
>   Just export CC=tricore-gcc at the beginning of the build process
> should do the job, I think (or CC=tricore-gcc ./configure ...).
> 
>> Is it possible for glibc to be built using non-gcc compilers at all? I
>> had
>> tried building newlib and dietlibc but i couldnt.
> 
>   No, you need to use gcc or gcc-compatible compiler.
> 
>   However, overally what you want is not easy - main parts of glibc are
> the architecture-dependent and OS-dependent layers. These will not
> appear magically, you need to program T-Kernel interface and
> TriCore-specific routines. If T-Kernel is not POSIX compatible (I have
> no idea), this could become a very complex process, even. Frankly,
> I don't think you fare well if you started having trouble so early
> in the process.
> 
>   Please use the libc-help@ mailinglist in case you have further
> questions.
> 
> -- 
> 				Petr "Pasky" Baudis
> The average, healthy, well-adjusted adult gets up at seven-thirty
> in the morning feeling just terrible. -- Jean Kerr
> 
> 

-- 
View this message in context: http://www.nabble.com/Building-GlibC-for-TriCore-tp22653461p22673187.html
Sent from the Sourceware - glibc-bugs mailing list archive at Nabble.com.


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