[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] C++ output problems
Joshua Moore-Oliva wrote:
> On August 2, 2005 06:01 pm, John Williams wrote:
>>There are some C++ demo apps in the uClinux-dist - if you want to spend
>>time on this they would be a good place to start, since you can be
>>confident that their Makefiles are sensible etc.
> They definitely don't work, as they rely on the STL... and the STL is much further away from working than just printf :) I've gotten plain C++ programs to work, as long as they don't do
Hmm, so building C++ programs for mb-uclinux? Although I have to
wonder, if they make no output, how you know they work? A philosophical
question perhaps? :)
>>I don't think there will be a huge amount of effort required to get this
>>going, it just needs someone to whom it is a vitally important
>>functionality! Maybe that's you?
> It very well could be! However, there is one major roadblock to getting this working.. How could I go about compiling the microblaze toolchain? From your page,
> You say that you haven't got this toolchain to compile yet. I am guessing that I'd need to be able to recompile the toolchain to fix anything. Has there been any change in the
> success rate for building this toolchain since July 2003?
> I wouldn't be adverse to trying to get this to work, I'm just not sure where to start.
Those complaints about the toolchain are ancient - these days building
mb-gcc and friensd is a lot easier (under a Linux box at least - haven't
tried lately under Windows). I have a script that I wrote that does
most of it automagically, I'll dig it out and send it to the list.
Grab a copy of the gnu sources from the xilinx website and you should be
right to go.
My feeling is that there's not much if anything you'll need to do in the
compiler, so much as getting STL port and all of the build environmetn
stuff in uClinux-dist working for Microblaze. Also there's the init and
fini preamble/postamble support in the uClibc runtime libraries as well.
> Joshua Moore-Oliva
> microblaze-uclinux mailing list
> 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
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/