eLua light

classic Classic list List threaded Threaded
9 messages Options
Gilberto Hiroshi Sacomoto Gilberto Hiroshi Sacomoto
Reply | Threaded
Open this post in threaded view
|

eLua light

Hi all,

 

            Would like to know if it is possible to create an eLua project just with Lua interpreter?

            I need to compile the source Lua interpreter for a specific architecture (AMR920T exactly), because I already have an OS embedded to execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua interpreter executable for this architecture.  

             

Thanks for your attention.

 

Regards,

----------------------------------------
Gilberto Hiroshi Sacomoto
Engenheiro de Computa??o
gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
Avenida ?rico Ver?ssimo s/n?

Cidade Universit?ria - Campinas - SP
CEP 13083-851 - Brasil
Tel: (19) 3757-3149
http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
----------------------------------------

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/6c3ad0b4/attachment.html 

Bittencourt Bittencourt
Reply | Threaded
Open this post in threaded view
|

eLua light

Ni Gilberto,

I believe it's possible to build Lua to an ARM target from the source code
provided at www.lua.org, it worth a try =)

--Pedro Bittencourt


On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <
gilberto.sacomoto at eldorado.org.br> wrote:

>  Hi all,
>
>
>
>             Would like to know if it is possible to create an eLua project
> just with Lua interpreter?
>
>             I need to compile the source Lua interpreter for a specific
> architecture (AMR920T exactly), because I already have an OS embedded to
> execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua
> interpreter executable for this architecture.
>
>
>
> Thanks for your attention.
>
>
>
> Regards,
>
> *----------------------------------------**
> **Gilberto Hiroshi Sacomoto**
> **Engenheiro de Computa??o**
> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
> *Avenida ?rico Ver?ssimo s/n?*
>
> *Cidade Universit?ria - Campinas - SP**
> CEP 13083-851 - Brasil
> Tel: (19) 3757-3149
> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
> *----------------------------------------*
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/0e9e4b6f/attachment.html 

BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

eLua light

Hi,

I don't think you need eLua at all for this, the standard Lua distribution
should be fine (I assume you have enough memory on that board). Did you try
to compile the standard Lua distribution?

Best,
Bogdan

On Wed, Jan 28, 2009 at 7:21 PM, Pedro Bittencourt <
pedrobittencourt87 at gmail.com> wrote:

> Ni Gilberto,
>
> I believe it's possible to build Lua to an ARM target from the source code
> provided at www.lua.org, it worth a try =)
>
> --Pedro Bittencourt
>
>
> On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <
> gilberto.sacomoto at eldorado.org.br> wrote:
>
>>  Hi all,
>>
>>
>>
>>             Would like to know if it is possible to create an eLua
>> project just with Lua interpreter?
>>
>>             I need to compile the source Lua interpreter for a specific
>> architecture (AMR920T exactly), because I already have an OS embedded to
>> execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua
>> interpreter executable for this architecture.
>>
>>
>>
>> Thanks for your attention.
>>
>>
>>
>> Regards,
>>
>> *----------------------------------------**
>> **Gilberto Hiroshi Sacomoto**
>> **Engenheiro de Computa??o**
>> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
>> *Avenida ?rico Ver?ssimo s/n?*
>>
>> *Cidade Universit?ria - Campinas - SP**
>> CEP 13083-851 - Brasil
>> Tel: (19) 3757-3149
>> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
>> *----------------------------------------*
>>
>>
>>
>> _______________________________________________
>> Elua-dev mailing list
>> Elua-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/981ad62c/attachment.html 

Gilberto Hiroshi Sacomoto Gilberto Hiroshi Sacomoto
Reply | Threaded
Open this post in threaded view
|

eLua light

Hi Bogdan and Pedro, how you doing?

 

            Which complier do you think that I should use to compile the standard Lua distribution for this architecture (ARM920T)?

            Can I use the same compiler that you used to eLua?

 

Thanks again.

 

Best,

----------------------------------------
Gilberto Hiroshi Sacomoto
Engenheiro de Computa??o
gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
Avenida ?rico Ver?ssimo s/n?

Cidade Universit?ria - Campinas - SP
CEP 13083-851 - Brasil
Tel: (19) 3757-3149
http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
----------------------------------------

________________________________

From: elua-dev-bounces at lists.berlios.de [mailto:elua-dev-bounces at lists.berlios.de] On Behalf Of Bogdan Marinescu
Sent: quarta-feira, 28 de janeiro de 2009 Giba 15:25
To: eLua Users and Development List
Subject: Re: [eLua-dev] eLua light

 

Hi,

I don't think you need eLua at all for this, the standard Lua distribution should be fine (I assume you have enough memory on that board). Did you try to compile the standard Lua distribution?

Best,
Bogdan

On Wed, Jan 28, 2009 at 7:21 PM, Pedro Bittencourt <pedrobittencourt87 at gmail.com> wrote:

Ni Gilberto,

I believe it's possible to build Lua to an ARM target from the source code provided at www.lua.org, it worth a try =)

--Pedro Bittencourt



On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <gilberto.sacomoto at eldorado.org.br> wrote:

        Hi all,

         

                    Would like to know if it is possible to create an eLua project just with Lua interpreter?

                    I need to compile the source Lua interpreter for a specific architecture (AMR920T exactly), because I already have an OS embedded to execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua interpreter executable for this architecture.  

                     

        Thanks for your attention.

         

        Regards,

        ----------------------------------------
        Gilberto Hiroshi Sacomoto
        Engenheiro de Computa??o
        gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
        Avenida ?rico Ver?ssimo s/n?

        Cidade Universit?ria - Campinas - SP
        CEP 13083-851 - Brasil
        Tel: (19) 3757-3149
        http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
        ----------------------------------------

         

         

        _______________________________________________
        Elua-dev mailing list
        Elua-dev at lists.berlios.de
        https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/7e38151f/attachment-0001.html 

Bittencourt Bittencourt
Reply | Threaded
Open this post in threaded view
|

eLua light

Gilberto,

You may try a toolchain based on gcc to arm, but any ANSI C compiler to your
particular target (theorically) will work to build Lua.

--Pedro Bittencourt


On Wed, Jan 28, 2009 at 4:22 PM, Gilberto Hiroshi Sacomoto <
gilberto.sacomoto at eldorado.org.br> wrote:

>  Hi Bogdan and Pedro, how you doing?
>
>
>
>             Which complier do you think that I should use to compile the
> standard Lua distribution for this architecture (ARM920T)?
>
>             Can I use the same compiler that you used to eLua?
>
>
>
> Thanks again.
>
>
>
> Best,
>
> *----------------------------------------**
> **Gilberto Hiroshi Sacomoto**
> **Engenheiro de Computa??o**
> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
> *Avenida ?rico Ver?ssimo s/n?*
>
> *Cidade Universit?ria - Campinas - SP**
> CEP 13083-851 - Brasil
> Tel: (19) 3757-3149
> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
> *----------------------------------------*
>   ------------------------------
>
> *From:* elua-dev-bounces at lists.berlios.de [mailto:
> elua-dev-bounces at lists.berlios.de] *On Behalf Of *Bogdan Marinescu
> *Sent:* quarta-feira, 28 de janeiro de 2009 Giba 15:25
> *To:* eLua Users and Development List
> *Subject:* Re: [eLua-dev] eLua light
>
>
>
> Hi,
>
> I don't think you need eLua at all for this, the standard Lua distribution
> should be fine (I assume you have enough memory on that board). Did you try
> to compile the standard Lua distribution?
>
> Best,
> Bogdan
>
> On Wed, Jan 28, 2009 at 7:21 PM, Pedro Bittencourt <
> pedrobittencourt87 at gmail.com> wrote:
>
> Ni Gilberto,
>
> I believe it's possible to build Lua to an ARM target from the source code
> provided at www.lua.org, it worth a try =)
>
> --Pedro Bittencourt
>
>   On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <
> gilberto.sacomoto at eldorado.org.br> wrote:
>
>   Hi all,
>
>
>
>             Would like to know if it is possible to create an eLua project
> just with Lua interpreter?
>
>             I need to compile the source Lua interpreter for a specific
> architecture (AMR920T exactly), because I already have an OS embedded to
> execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua
> interpreter executable for this architecture.
>
>
>
> Thanks for your attention.
>
>
>
> Regards,
>
> *----------------------------------------
> **Gilberto Hiroshi Sacomoto
> **Engenheiro de Computa??o
> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
> *Avenida ?rico Ver?ssimo s/n?*
>
> *Cidade Universit?ria - Campinas - SP
> CEP 13083-851 - Brasil
> Tel: (19) 3757-3149
> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
> *----------------------------------------*
>
>
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/9d4e5e3c/attachment.html 

BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

eLua light

I second that. You need to match the eLua compilation process with your
toolchain's libc, so try the same toolchain you're usually using (I'm
assuming you have one :) ).

Best,
Bogdan

On Wed, Jan 28, 2009 at 8:37 PM, Pedro Bittencourt <
pedrobittencourt87 at gmail.com> wrote:

> Gilberto,
>
> You may try a toolchain based on gcc to arm, but any ANSI C compiler to
> your particular target (theorically) will work to build Lua.
>
> --Pedro Bittencourt
>
>
>
> On Wed, Jan 28, 2009 at 4:22 PM, Gilberto Hiroshi Sacomoto <
> gilberto.sacomoto at eldorado.org.br> wrote:
>
>>  Hi Bogdan and Pedro, how you doing?
>>
>>
>>
>>             Which complier do you think that I should use to compile the
>> standard Lua distribution for this architecture (ARM920T)?
>>
>>             Can I use the same compiler that you used to eLua?
>>
>>
>>
>> Thanks again.
>>
>>
>>
>> Best,
>>
>> *----------------------------------------**
>> **Gilberto Hiroshi Sacomoto**
>> **Engenheiro de Computa??o**
>> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
>> *Avenida ?rico Ver?ssimo s/n?*
>>
>> *Cidade Universit?ria - Campinas - SP**
>> CEP 13083-851 - Brasil
>> Tel: (19) 3757-3149
>> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
>> *----------------------------------------*
>>   ------------------------------
>>
>> *From:* elua-dev-bounces at lists.berlios.de [mailto:
>> elua-dev-bounces at lists.berlios.de] *On Behalf Of *Bogdan Marinescu
>> *Sent:* quarta-feira, 28 de janeiro de 2009 Giba 15:25
>> *To:* eLua Users and Development List
>> *Subject:* Re: [eLua-dev] eLua light
>>
>>
>>
>> Hi,
>>
>> I don't think you need eLua at all for this, the standard Lua distribution
>> should be fine (I assume you have enough memory on that board). Did you try
>> to compile the standard Lua distribution?
>>
>> Best,
>> Bogdan
>>
>> On Wed, Jan 28, 2009 at 7:21 PM, Pedro Bittencourt <
>> pedrobittencourt87 at gmail.com> wrote:
>>
>> Ni Gilberto,
>>
>> I believe it's possible to build Lua to an ARM target from the source code
>> provided at www.lua.org, it worth a try =)
>>
>> --Pedro Bittencourt
>>
>>   On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <
>> gilberto.sacomoto at eldorado.org.br> wrote:
>>
>>   Hi all,
>>
>>
>>
>>             Would like to know if it is possible to create an eLua
>> project just with Lua interpreter?
>>
>>             I need to compile the source Lua interpreter for a specific
>> architecture (AMR920T exactly), because I already have an OS embedded to
>> execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua
>> interpreter executable for this architecture.
>>
>>
>>
>> Thanks for your attention.
>>
>>
>>
>> Regards,
>>
>> *----------------------------------------
>> **Gilberto Hiroshi Sacomoto
>> **Engenheiro de Computa??o
>> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
>> *Avenida ?rico Ver?ssimo s/n?*
>>
>> *Cidade Universit?ria - Campinas - SP
>> CEP 13083-851 - Brasil
>> Tel: (19) 3757-3149
>> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
>> *----------------------------------------*
>>
>>
>>
>>
>>
>> _______________________________________________
>> Elua-dev mailing list
>> Elua-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>>
>> _______________________________________________
>> Elua-dev mailing list
>> Elua-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>>
>> _______________________________________________
>> Elua-dev mailing list
>> Elua-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/e563c941/attachment-0001.html 

Gilberto Hiroshi Sacomoto Gilberto Hiroshi Sacomoto
Reply | Threaded
Open this post in threaded view
|

eLua light

Then, I am using this toolchain: http://download.ronetix.info/toolchains/arm/ronetix-gnutools-arm-elf-4.1.1-linux.tar.bz2

 

I used this toolchain to compile eLua for ARM920T. I just changed -mcpu=arm966e-s to -mcpu=arm920t and make the build. However, I think that are necessary more changes for I have the eLua for other platform. :-)

 

Anyway, do you know how I can make a build of standard Lua using this toolchain? Is it possible?        

 

Regards,

----------------------------------------
Gilberto Hiroshi Sacomoto
Engenheiro de Computa??o
gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
Avenida ?rico Ver?ssimo s/n?

Cidade Universit?ria - Campinas - SP
CEP 13083-851 - Brasil
Tel: (19) 3757-3149
http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
----------------------------------------

________________________________

From: elua-dev-bounces at lists.berlios.de [mailto:elua-dev-bounces at lists.berlios.de] On Behalf Of Bogdan Marinescu
Sent: quarta-feira, 28 de janeiro de 2009 Giba 16:42
To: eLua Users and Development List
Subject: Re: [eLua-dev] eLua light

 

I second that. You need to match the eLua compilation process with your toolchain's libc, so try the same toolchain you're usually using (I'm assuming you have one :) ).

Best,
Bogdan

On Wed, Jan 28, 2009 at 8:37 PM, Pedro Bittencourt <pedrobittencourt87 at gmail.com> wrote:

Gilberto,

You may try a toolchain based on gcc to arm, but any ANSI C compiler to your particular target (theorically) will work to build Lua.

--Pedro Bittencourt





On Wed, Jan 28, 2009 at 4:22 PM, Gilberto Hiroshi Sacomoto <gilberto.sacomoto at eldorado.org.br> wrote:

Hi Bogdan and Pedro, how you doing?

 

            Which complier do you think that I should use to compile the standard Lua distribution for this architecture (ARM920T)?

            Can I use the same compiler that you used to eLua?

 

Thanks again.

 

Best,

----------------------------------------
Gilberto Hiroshi Sacomoto
Engenheiro de Computa??o
gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
Avenida ?rico Ver?ssimo s/n?

Cidade Universit?ria - Campinas - SP
CEP 13083-851 - Brasil
Tel: (19) 3757-3149
http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
----------------------------------------

________________________________

From: elua-dev-bounces at lists.berlios.de [mailto:elua-dev-bounces at lists.berlios.de] On Behalf Of Bogdan Marinescu
Sent: quarta-feira, 28 de janeiro de 2009 Giba 15:25
To: eLua Users and Development List
Subject: Re: [eLua-dev] eLua light

 

Hi,

I don't think you need eLua at all for this, the standard Lua distribution should be fine (I assume you have enough memory on that board). Did you try to compile the standard Lua distribution?

Best,
Bogdan

On Wed, Jan 28, 2009 at 7:21 PM, Pedro Bittencourt <pedrobittencourt87 at gmail.com> wrote:

Ni Gilberto,

I believe it's possible to build Lua to an ARM target from the source code provided at www.lua.org, it worth a try =)

--Pedro Bittencourt

On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <gilberto.sacomoto at eldorado.org.br> wrote:

        Hi all,

         

                    Would like to know if it is possible to create an eLua project just with Lua interpreter?

                    I need to compile the source Lua interpreter for a specific architecture (AMR920T exactly), because I already have an OS embedded to execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua interpreter executable for this architecture.  

                     

        Thanks for your attention.

         

        Regards,

        ----------------------------------------
        Gilberto Hiroshi Sacomoto
        Engenheiro de Computa??o
        gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
        Avenida ?rico Ver?ssimo s/n?

        Cidade Universit?ria - Campinas - SP
        CEP 13083-851 - Brasil
        Tel: (19) 3757-3149
        http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
        ----------------------------------------

         

         

        _______________________________________________
        Elua-dev mailing list
        Elua-dev at lists.berlios.de
        https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 


_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 


_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/2c977f34/attachment.html 

BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

eLua light

For eLua: yes, you need to do more changes (and it doesn't seem that you
need this).
For Lua: just download the latest distribution (5.1.4) and change from "gcc"
to "arm-elf-gcc" in the makefile, in should do the trick (please note that I
didn't actually try this though). If it doesn't work, try to copy/paste the
error(s) here and we'll try to help more.

Best,
Bogdan

On Wed, Jan 28, 2009 at 9:49 PM, Gilberto Hiroshi Sacomoto <
gilberto.sacomoto at eldorado.org.br> wrote:

>  Then, I am using this toolchain:
> http://download.ronetix.info/toolchains/arm/ronetix-gnutools-arm-elf-4.1.1-linux.tar.bz2
>
>
>
> I used this toolchain to compile eLua for ARM920T. I just changed
> -mcpu=arm966e-s to -mcpu=arm920t and make the build. However, I think that
> are necessary more changes for I have the eLua for other platform. J
>
>
>
> Anyway, do you know how I can make a build of standard Lua using this
> toolchain? Is it possible?
>
>
>
> Regards,
>
> *----------------------------------------**
> **Gilberto Hiroshi Sacomoto**
> **Engenheiro de Computa??o**
> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
> *Avenida ?rico Ver?ssimo s/n?*
>
> *Cidade Universit?ria - Campinas - SP**
> CEP 13083-851 - Brasil
> Tel: (19) 3757-3149
> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
> *----------------------------------------*
>   ------------------------------
>
> *From:* elua-dev-bounces at lists.berlios.de [mailto:
> elua-dev-bounces at lists.berlios.de] *On Behalf Of *Bogdan Marinescu
> *Sent:* quarta-feira, 28 de janeiro de 2009 Giba 16:42
>
> *To:* eLua Users and Development List
> *Subject:* Re: [eLua-dev] eLua light
>
>
>
> I second that. You need to match the eLua compilation process with your
> toolchain's libc, so try the same toolchain you're usually using (I'm
> assuming you have one :) ).
>
> Best,
> Bogdan
>
> On Wed, Jan 28, 2009 at 8:37 PM, Pedro Bittencourt <
> pedrobittencourt87 at gmail.com> wrote:
>
> Gilberto,
>
> You may try a toolchain based on gcc to arm, but any ANSI C compiler to
> your particular target (theorically) will work to build Lua.
>
> --Pedro Bittencourt
>
>
>
>  On Wed, Jan 28, 2009 at 4:22 PM, Gilberto Hiroshi Sacomoto <
> gilberto.sacomoto at eldorado.org.br> wrote:
>
> Hi Bogdan and Pedro, how you doing?
>
>
>
>             Which complier do you think that I should use to compile the
> standard Lua distribution for this architecture (ARM920T)?
>
>             Can I use the same compiler that you used to eLua?
>
>
>
> Thanks again.
>
>
>
> Best,
>
> *----------------------------------------
> **Gilberto Hiroshi Sacomoto
> **Engenheiro de Computa??o
> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
> *Avenida ?rico Ver?ssimo s/n?*
>
> *Cidade Universit?ria - Campinas - SP
> CEP 13083-851 - Brasil
> Tel: (19) 3757-3149
> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
> *----------------------------------------*
>   ------------------------------
>
> *From:* elua-dev-bounces at lists.berlios.de [mailto:
> elua-dev-bounces at lists.berlios.de] *On Behalf Of *Bogdan Marinescu
> *Sent:* quarta-feira, 28 de janeiro de 2009 Giba 15:25
> *To:* eLua Users and Development List
> *Subject:* Re: [eLua-dev] eLua light
>
>
>
> Hi,
>
> I don't think you need eLua at all for this, the standard Lua distribution
> should be fine (I assume you have enough memory on that board). Did you try
> to compile the standard Lua distribution?
>
> Best,
> Bogdan
>
> On Wed, Jan 28, 2009 at 7:21 PM, Pedro Bittencourt <
> pedrobittencourt87 at gmail.com> wrote:
>
> Ni Gilberto,
>
> I believe it's possible to build Lua to an ARM target from the source code
> provided at www.lua.org, it worth a try =)
>
> --Pedro Bittencourt
>
> On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <
> gilberto.sacomoto at eldorado.org.br> wrote:
>
>   Hi all,
>
>
>
>             Would like to know if it is possible to create an eLua project
> just with Lua interpreter?
>
>             I need to compile the source Lua interpreter for a specific
> architecture (AMR920T exactly), because I already have an OS embedded to
> execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua
> interpreter executable for this architecture.
>
>
>
> Thanks for your attention.
>
>
>
> Regards,
>
> *----------------------------------------
> **Gilberto Hiroshi Sacomoto
> **Engenheiro de Computa??o
> **gilberto.sacomoto at eldorado.org.br* <gilberto.sacomoto at eldorado.org.br>
> *Avenida ?rico Ver?ssimo s/n?*
>
> *Cidade Universit?ria - Campinas - SP
> CEP 13083-851 - Brasil
> Tel: (19) 3757-3149
> **http://www.eldorado.org.br/* <http://www.eldorado.org.br/>
> *----------------------------------------*
>
>
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
>
> _______________________________________________
> Elua-dev mailing list
> Elua-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/19b220c5/attachment-0001.html 

Gilberto Hiroshi Sacomoto Gilberto Hiroshi Sacomoto
Reply | Threaded
Open this post in threaded view
|

eLua light

I will try this.

 

Many thanks for your support! :-)

 

Best,

----------------------------------------
Gilberto Hiroshi Sacomoto
Engenheiro de Computa??o
gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
Avenida ?rico Ver?ssimo s/n?

Cidade Universit?ria - Campinas - SP
CEP 13083-851 - Brasil
Tel: (19) 3757-3149
http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
----------------------------------------

________________________________

From: elua-dev-bounces at lists.berlios.de [mailto:elua-dev-bounces at lists.berlios.de] On Behalf Of Bogdan Marinescu
Sent: quarta-feira, 28 de janeiro de 2009 Giba 17:55
To: eLua Users and Development List
Subject: Re: [eLua-dev] eLua light

 

For eLua: yes, you need to do more changes (and it doesn't seem that you need this).
For Lua: just download the latest distribution (5.1.4) and change from "gcc" to "arm-elf-gcc" in the makefile, in should do the trick (please note that I didn't actually try this though). If it doesn't work, try to copy/paste the error(s) here and we'll try to help more.

Best,
Bogdan

On Wed, Jan 28, 2009 at 9:49 PM, Gilberto Hiroshi Sacomoto <gilberto.sacomoto at eldorado.org.br> wrote:

Then, I am using this toolchain: http://download.ronetix.info/toolchains/arm/ronetix-gnutools-arm-elf-4.1.1-linux.tar.bz2

 

I used this toolchain to compile eLua for ARM920T. I just changed -mcpu=arm966e-s to -mcpu=arm920t and make the build. However, I think that are necessary more changes for I have the eLua for other platform. :-)

 

Anyway, do you know how I can make a build of standard Lua using this toolchain? Is it possible?        

 

Regards,

----------------------------------------
Gilberto Hiroshi Sacomoto
Engenheiro de Computa??o
gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
Avenida ?rico Ver?ssimo s/n?

Cidade Universit?ria - Campinas - SP
CEP 13083-851 - Brasil
Tel: (19) 3757-3149
http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
----------------------------------------

________________________________

From: elua-dev-bounces at lists.berlios.de [mailto:elua-dev-bounces at lists.berlios.de] On Behalf Of Bogdan Marinescu
Sent: quarta-feira, 28 de janeiro de 2009 Giba 16:42


To: eLua Users and Development List
Subject: Re: [eLua-dev] eLua light

 

I second that. You need to match the eLua compilation process with your toolchain's libc, so try the same toolchain you're usually using (I'm assuming you have one :) ).

Best,
Bogdan

On Wed, Jan 28, 2009 at 8:37 PM, Pedro Bittencourt <pedrobittencourt87 at gmail.com> wrote:

Gilberto,

You may try a toolchain based on gcc to arm, but any ANSI C compiler to your particular target (theorically) will work to build Lua.

--Pedro Bittencourt

 

On Wed, Jan 28, 2009 at 4:22 PM, Gilberto Hiroshi Sacomoto <gilberto.sacomoto at eldorado.org.br> wrote:

Hi Bogdan and Pedro, how you doing?

 

            Which complier do you think that I should use to compile the standard Lua distribution for this architecture (ARM920T)?

            Can I use the same compiler that you used to eLua?

 

Thanks again.

 

Best,

----------------------------------------
Gilberto Hiroshi Sacomoto
Engenheiro de Computa??o
gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
Avenida ?rico Ver?ssimo s/n?

Cidade Universit?ria - Campinas - SP
CEP 13083-851 - Brasil
Tel: (19) 3757-3149
http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
----------------------------------------

________________________________

From: elua-dev-bounces at lists.berlios.de [mailto:elua-dev-bounces at lists.berlios.de] On Behalf Of Bogdan Marinescu
Sent: quarta-feira, 28 de janeiro de 2009 Giba 15:25
To: eLua Users and Development List
Subject: Re: [eLua-dev] eLua light

 

Hi,

I don't think you need eLua at all for this, the standard Lua distribution should be fine (I assume you have enough memory on that board). Did you try to compile the standard Lua distribution?

Best,
Bogdan

On Wed, Jan 28, 2009 at 7:21 PM, Pedro Bittencourt <pedrobittencourt87 at gmail.com> wrote:

Ni Gilberto,

I believe it's possible to build Lua to an ARM target from the source code provided at www.lua.org, it worth a try =)

--Pedro Bittencourt

On Wed, Jan 28, 2009 at 2:49 PM, Gilberto Hiroshi Sacomoto <gilberto.sacomoto at eldorado.org.br> wrote:

        Hi all,

         

                    Would like to know if it is possible to create an eLua project just with Lua interpreter?

                    I need to compile the source Lua interpreter for a specific architecture (AMR920T exactly), because I already have an OS embedded to execute the Lua interpreter. I don't need boot, term, etc. I just need a Lua interpreter executable for this architecture.  

                     

        Thanks for your attention.

         

        Regards,

        ----------------------------------------
        Gilberto Hiroshi Sacomoto
        Engenheiro de Computa??o
        gilberto.sacomoto at eldorado.org.br <mailto:gilberto.sacomoto at eldorado.org.br>
        Avenida ?rico Ver?ssimo s/n?

        Cidade Universit?ria - Campinas - SP
        CEP 13083-851 - Brasil
        Tel: (19) 3757-3149
        http://www.eldorado.org.br/ <http://www.eldorado.org.br/>
        ----------------------------------------

         

         

        _______________________________________________
        Elua-dev mailing list
        Elua-dev at lists.berlios.de
        https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 


_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 


_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 


_______________________________________________
Elua-dev mailing list
Elua-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/elua-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090128/40fd56c2/attachment-0001.html