[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Doing an out-of-tree application and compiling under Windows
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: [microblaze-uclinux] Doing an out-of-tree application and compiling under Windows
- From: John Prestwich <johnprestwich@xxxxxxxxx>
- Date: Mon, 25 Jul 2005 12:32:38 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=StQESPba4eJ3IEVjNnq/lWVg02YNMSbdQUuEwo92KblWZLX+1eBADx0VXtqmyuuQiMukP3qNOviv8BNzPfNUk9vCBtsp6UeCftFOLujG4MBV8SS0u2YM4RsgKM5QtZlioG2Zgcch+sNpJFPcny2JzhbQayorEAvJO5a2CNnCk08= ;
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
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/