[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Compile C program
thx
On Tue, 18 Jan 2005 23:56:09 -0600, Venkat B <venkatb29@hotmail.com> wrote:
>
> Create a C file (say, TCPClient.c)
> Store it in a folder with the same name as the file in the
> /uclinux-dist/user directory.
> Create a Makefile with all necessary attributes.
> Instruct the compiler to compile the file while compiling the kernel.
> After compiling the C program and the kernel together – build the image.
> Build the hardware and download image.elf to the microblaze.
> The "TCPClient" will be a command similar to ls and more. (you can find it
> the /bin/ of the uclinux)
> Run the C program by its name.
>
> Another Method
>
> Build the TCPClient.elf in the linux box.
> Configure the uclinux with the FTP capability.
> After downloading it to the microblaze, transfer the .elf file form the
> linux box to uClinux using FTP.
> Run the C program in uClinux
>
> venkat
>
> >From: h0170021@eee.hku.hk
> >Reply-To: microblaze-uclinux@itee.uq.edu.au
> >To: microblaze-uclinux@itee.uq.edu.au
> >Subject: [microblaze-uclinux] Compile C program
> >Date: Wed, 19 Jan 2005 01:06:39 +0800
> >
> >hey, I am an new guy. I wanna ask how can I compile a C program under an
> >uClinux. Do I need to add any library such as enabling gcc, make and make
> >file
> >functions? If yes, how can I do so? THX
> >
> >SKY
> >
> >
> >___________________________
> >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/
> >
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> ___________________________
> 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/