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

Re: [microblaze-uclinux] Doing an out-of-tree application andcompiling under Windows



I believe the problem would be that someone asked practically the same
question earlier the same day and received a number of answers ranging
from two hours prior to your message until the next day.

Check the "Custom program" thread started Monday.

Or check:
http://www.itee.uq.edu.au/~jwilliams/mblaze-
uclinux/wiki/index.php/OutOfTreeCompile

or else:
uClinux-dist/Documentation/Adding-User-Apps-HOWTO

or even:
http://www.cefriel.it/delta


On Thu, 2005-07-28 at 07:03 -0700, John Prestwich wrote:
> So since I have not heard from anyone on this I assume
> that either I sent my inquiry to the wrong place, or
> it is a really stupid question and I should
> intuitively know the answer, or the answer is that it
> can't be done.  My question is which one is it.
> 
> --- John Prestwich <johnprestwich@yahoo.com> wrote:
> 
> > I am trying to figure out if it is possible to
> > compile
> > and out-of-tree application (i.e., an executible
> > that
> > is not part of the main distribution tree)using the
> > Xilinx tools under Windows.  Several emails that I
> > have seen in the archive list lead me to believe
> > that
> > it is possible but it is obvious from my attempts to
> > compile one that I am still missing some of the
> > picture.
> > 
> > I have seen the emails that say that you need to
> > obtain a copy of mb-elf2flt that works under Windows
> > and that you need a script called mb-ld which
> > replaces
> > the program mb-ld which is then renamed mb-ld.real. 
> > After downloading the elf2flt code from
> > cvs.uclinux.org and trying to compile it, without
> > much
> > luck, I looked through my EDK directories and found
> > that there is a mb-elf2flt, a mb-ld script, and a
> > mb-ld.real already there in the 7.1 version of the
> > EDK
> > tools.  I then tried to write a "hello world"
> > appplication and compile it giving the mb-gcc
> > compiler
> > either a -Wl and -elf2flt option but never was able
> > to
> > get anything that looked like it was a flat binary
> > to
> > me.
> > 
> > In future reading I have seen some discussion about
> > needing to tell the compiler (linker?) to use
> > certain
> > libraries from the uCLinux distribution also.
> > 
> > My questions are:
> > 
> > 1.  Am I on the right track using the mb-elf2flt and
> > mb-ld script that come with the 7.1 versions of EDK
> > or
> > do I really need to find a way to compile the
> > elf2flt
> > from cvs.uclinux.org?
> > 
> > 2.  When I have a valid mb-elf2flt how do I get the
> > mb-gcc compiler to use it?  Or do I have to use the
> > mb-elf2flt tool separately?  Either way how is it
> > done?
> > 
> > 3.  If I do need to use libraries for the uCLinux
> > dist. which ones do I need and how do I make mb-gcc
> > use them instead of the Xilinx ones?
> > 
> > Thanks for your help!  This is a very nice project
> > and
> > it is obvious that a lot of work has gone into it. 
> > I
> > look forward to learning more about it.
> > 
> > John Prestwich
> > 
> > 
> > 		
> > ____________________________________________________
> > Start your day with Yahoo! - make it your home page 
> > http://www.yahoo.com/r/hs 
> >  
> > ___________________________
> > microblaze-uclinux mailing list
> > microblaze-uclinux@itee.uq.edu.au
> > Project Home Page :
> > http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> > Mailing List Archive :
> >
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> > 
> > 
> 
> 
> 
> 		
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> 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@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/