Buildind eLua

classic Classic list List threaded Threaded
6 messages Options
Fernando Araújo Fernando Araújo
Reply | Threaded
Open this post in threaded view
|

Buildind eLua

Hello all,

I'm trying to build eLua images for some platforms and it keeps me giving errors. Is there any change in scons command line ?

Regards,
--
Fernando Araujo



_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Fernando Araújo Fernando Araújo
Reply | Threaded
Open this post in threaded view
|

Re: Buildind eLua

Sorry, I'm using the trunk version and it isn't recognizing any toolchain. On anoter computer I got some errors in platform specific python scripts (can't remeber what script it was).

Best,
--
Fernando Araujo




2010/5/6 Fernando Araújo <[hidden email]>
Hello all,

I'm trying to build eLua images for some platforms and it keeps me giving errors. Is there any change in scons command line ?

Regards,
--
Fernando Araujo




_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: Buildind eLua

I would assume that these errors are connected with recent changes
I've checked in, but it seems to be working locally for me.  If you
could let me know what command line options you passed and what the
output was, that would greatly help in narrowing things down.

Also, if you could tell me what scons version you've got (scons
--version), that may help too.

I suspect it could have something to do either with the built-in
checker scons uses to make sure the compiler is working or perhaps
something I missed in one of the conf.py files.

2010/5/6 Fernando Araújo <[hidden email]>:

> Sorry, I'm using the trunk version and it isn't recognizing any toolchain.
> On anoter computer I got some errors in platform specific python scripts
> (can't remeber what script it was).
>
> Best,
> --
> Fernando Araujo
>
>
>
>
> 2010/5/6 Fernando Araújo <[hidden email]>
>>
>> Hello all,
>>
>> I'm trying to build eLua images for some platforms and it keeps me giving
>> errors. Is there any change in scons command line ?
>>
>> Regards,
>> --
>> Fernando Araujo
>>
>>
>
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>



--
James Snyder
Biomedical Engineering
Northwestern University
[hidden email]
PGP: http://fanplastic.org/key.txt
Phone: (847) 448-0386
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: Buildind eLua

It sounds like you had some success with one of the toolchain scripts
per the other email today.  Did this resolve the issue you had
mentioned in this thread?

On Thu, May 6, 2010 at 11:40 PM, James Snyder <[hidden email]> wrote:

> I would assume that these errors are connected with recent changes
> I've checked in, but it seems to be working locally for me.  If you
> could let me know what command line options you passed and what the
> output was, that would greatly help in narrowing things down.
>
> Also, if you could tell me what scons version you've got (scons
> --version), that may help too.
>
> I suspect it could have something to do either with the built-in
> checker scons uses to make sure the compiler is working or perhaps
> something I missed in one of the conf.py files.
>
> 2010/5/6 Fernando Araújo <[hidden email]>:
>> Sorry, I'm using the trunk version and it isn't recognizing any toolchain.
>> On anoter computer I got some errors in platform specific python scripts
>> (can't remeber what script it was).
>>
>> Best,
>> --
>> Fernando Araujo
>>
>>
>>
>>
>> 2010/5/6 Fernando Araújo <[hidden email]>
>>>
>>> Hello all,
>>>
>>> I'm trying to build eLua images for some platforms and it keeps me giving
>>> errors. Is there any change in scons command line ?
>>>
>>> Regards,
>>> --
>>> Fernando Araujo
>>>
>>>
>>
>>
>> _______________________________________________
>> eLua-dev mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>
>
>
> --
> James Snyder
> Biomedical Engineering
> Northwestern University
> [hidden email]
> PGP: http://fanplastic.org/key.txt
> Phone: (847) 448-0386
>



--
James Snyder
Biomedical Engineering
Northwestern University
[hidden email]
PGP: http://fanplastic.org/key.txt
Phone: (847) 448-0386
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Fernando Araújo Fernando Araújo
Reply | Threaded
Open this post in threaded view
|

Re: Buildind eLua

Sorry Snyder, I just forgot to send it to you... =(

Here it goes. At home I get a toolchain nor found error, later on when I get home I send it to you too.

Scons Version:
SCons by Steven Knight et al.:
    script: v1.2.0.d20100117.r4629, 2010/01/17 22:23:21, by scons on scons-dev
    engine: v1.2.0.d20100117.r4629, 2010/01/17 22:23:21, by scons on scons-dev

Output using r742:
feynman@feynman:~/elua/trunk$ scons toolchain=codesourcery board=STR-E912 prog
scons: Reading SConscript files ...

*********************************
Compiling eLua ...
CPU:             STR912FAW44
Board:           STR-E912
Platform:        str9
Allocator:       newlib
Boot Mode:       standard
Target:          lua
Toolchain:       codesourcery
ROMFS mode:      verbatim
*********************************

NameError: name 'toolchain' is not defined:
  File "/home/feynman/elua/trunk/SConstruct", line 423:
    execfile( "src/platform/%s/conf.py" % platform )
  File "src/platform/str9/conf.py", line 29:
    if toolchain == 'arm-gcc':

Output using r741:
feynman@feynman:~/elua/trunk$ scons toolchain=codesourcery board=STR-E912 prog
scons: Reading SConscript files ...
  File "/home/feynman/elua/trunk/SConstruct", line 22

    type="string",

       ^

SyntaxError: invalid syntax

Best,
--
Fernando Araujo

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: Buildind eLua

Hi -

The error should now be corrected in 743.

I've made a few changes to the build system to use scons-provided
configuration and validation tools, but I missed a few renames.

The existing input options should always work as before, but one can
now do things like:

scons -h

and get the following:

scons: Reading SConscript files ...
scons: done reading SConscript files.

target: build "regular" float lua or integer-only "lualong" (lua|lualong)
    default: lua
    actual: lua

cpu: build for the specified CPU (board will be inferred, if possible)
(LM3S6965|AT91SAM7X256|AT91SAM7X512|LPC1768|STR912FAW44|STR912FAW44|LM3S6918|LM3S9B92|AT32UC3A0512|I386|STM32F103ZE|LPC2468|STM32F103RE|STR711FR2|LM3S8962|LINUX|LPC2888|auto)
    default: auto
    actual: auto

allocator: select memory allocator (newlib|multiple|simple|auto)
    default: auto
    actual: auto

board: selects board for target (cpu will be inferred)
(EK-LM3S6965|SAM7-EX256|MBED|STR9-COMSTICK|STR-E912|EAGLE-100|EK-LM3S9B92|ATEVK1100|PC|STM3210E-EVAL|ELUA-PUC|ET-STM32|MOD711|EK-LM3S8962|SIM|LPC-H2888|auto)
    default: auto
    actual: EK-LM3S6965

toolchain: specifies toolchain to use (if unset, will scan for
working, compatible toolchain
(arm-eabi-gcc|devkitarm|arm-gcc|avr32-gcc|codesourcery|i686-gcc|auto)
    default: auto
    actual: auto

optram: enables Lua Tiny RAM enhancements (yes|no)
    default: True
    actual: True

boot: boot mode, standard will boot to shell, luarpc boots to an rpc
server (standard|luarpc)
    default: standard
    actual: standard

romfs: ROMFS compilation mode (verbatim|compress|compiled)
    default: verbatim
    actual: verbatim

Use scons -H for help about command-line options.


2010/5/8 Fernando Araújo <[hidden email]>:

> Sorry Snyder, I just forgot to send it to you... =(
>
> Here it goes. At home I get a toolchain nor found error, later on when I get
> home I send it to you too.
>
> Scons Version:
> SCons by Steven Knight et al.:
>     script: v1.2.0.d20100117.r4629, 2010/01/17 22:23:21, by scons on
> scons-dev
>     engine: v1.2.0.d20100117.r4629, 2010/01/17 22:23:21, by scons on
> scons-dev
>
> Output using r742:
> feynman@feynman:~/elua/trunk$ scons toolchain=codesourcery board=STR-E912
> prog
> scons: Reading SConscript files ...
>
> *********************************
> Compiling eLua ...
> CPU:             STR912FAW44
> Board:           STR-E912
> Platform:        str9
> Allocator:       newlib
> Boot Mode:       standard
> Target:          lua
> Toolchain:       codesourcery
> ROMFS mode:      verbatim
> *********************************
>
> NameError: name 'toolchain' is not defined:
>   File "/home/feynman/elua/trunk/SConstruct", line 423:
>     execfile( "src/platform/%s/conf.py" % platform )
>   File "src/platform/str9/conf.py", line 29:
>     if toolchain == 'arm-gcc':
>
> Output using r741:
> feynman@feynman:~/elua/trunk$ scons toolchain=codesourcery board=STR-E912
> prog
> scons: Reading SConscript files ...
>   File "/home/feynman/elua/trunk/SConstruct", line 22
>
>     type="string",
>
>        ^
>
> SyntaxError: invalid syntax
>
> Best,
> --
> Fernando Araujo
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>



--
James Snyder
Biomedical Engineering
Northwestern University
[hidden email]
PGP: http://fanplastic.org/key.txt
Phone: (847) 448-0386
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev