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

Re: [microblaze-uclinux] uClinux hello world



hello
        u have to specify the root of romfs in make file of ur hello
program.
        and also include ur program in romfs make file as well.
         so after make clean dep  all
        u have to make seprate ur hello program
       then run make romfs command in user proram
       then goto uclinux dist again and run make image command
      rthen u will see in bin directory ur program name.
      the actual procedure u can get on net eaisly

vijai





                                                                                                                                                  
                      Paul Hartke                                                                                                                 
                      <phartke@xxxxxxxxxxxx>              To:       microblaze-uclinux@xxxxxxxxxxxxxx, Raul Camaras                               
                      Sent by:                             <raul.camaras@xxxxxxxxxxxxxxxx>                                                        
                      owner-microblaze-uclinux@ite        cc:       microblaze-uclinux@xxxxxxxxxxxxxx, (bcc: Vijai S Kumar/Services/INFOCOMM/RIL) 
                      e.uq.edu.au                         Subject:  Re: [microblaze-uclinux] uClinux hello world                                  
                                                    Importance: Normal  Sender's OU: Reliance |------------------|                                
                                                                                              | [ ] Confidential |                                
                      11/24/2005 07:49 PM                                                     |------------------|                                
                      Please respond to                                                                                                           
                      microblaze-uclinux                                                                                                          
                                                                                                                                                  




Raul,

See
http://cvs.uclinux.org/cgi-bin/cvsweb.cgi/uClinux-dist/Documentation/Adding-User-Apps-HOWTO?rev=1.1.1.1

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


Hope this helps.

Paul

Quoting Raul Camaras <raul.camaras@xxxxxxxxxxxxxxxx>:
> Hello,
>
> I would like to write a simple program: printf("Hello world!\n");
> to be able to execute under uClinux. I have to include it in the kernel
> compilation somehow.
> What are the steps I must follow to achieve it?
>
> Thanks,
>          - raul
>
___________________________
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/