[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [microblaze-uclinux] pthread support (again)



Thanks for the reply John; what I was looking for was a setjmp/longjmp for the microblaze, which you have now directed me to in the uClibc.

But, at the risk of sounding obtuse, I still don't get how you can say it would be "not relevant to the standalone mb-gcc compiler suite" when it is, at least according to Xilinx, the only thing they don't support in the standard C library, and was standing between me getting something compiled or not.

Not enough memory to use uClinux at the moment, but when my ml405 arrives I will be all over it :-)

Thanks again

Mark


-----Ursprüngliche Nachricht-----
Von: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] Im Auftrag von John Williams
Gesendet: Montag, 31. Juli 2006 02:02
An: microblaze-uclinux@xxxxxxxxxxxxxx
Betreff: Re: [microblaze-uclinux] pthread support (again)

Hello Andrew,

Andrew Mark (CR/AEA3-Fr) wrote:

> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2003/12/m
> sg00004.html
> 
> which gave me hopes that the problem had been fixed by you guys and
> xilinx just hadn't folded it back in.

In uClinux-land we generally build the C libraries (uClibc) as part of the build
process, and link them directly.  The patch you are referring to was to uClibc,
in the uClinux sources.

> However when  I downloaded the latest MicroBlaze GCC toolchain from
> petalogix (microblaze-elf-tools-20060213.tar.gz) I found that the
> headers showed no evidence of the changes having been applied.
> 
> What happened to the fix and where am I going wrong? 

Nothing happened to the fix, it was just not relevant to the standalone mb-gcc
compiler suite.

If you want to do threads in MicroBlaze/EDK standalone apps, you need to use
Xilinx's own XilKernel (which has something that looks like pthreads), or some
other 3rd party microblaze/RTOS.

Hope this clears things up,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/