Path and binary locations to build elua

classic Classic list List threaded Threaded
4 messages Options
james osburn james osburn
Reply | Threaded
Open this post in threaded view
|

Path and binary locations to build elua

I would like to build elua using the Code Sourcery toolchain.
Is there a prefered location to install this at?
Also what do i need to do the setup the path?

I modified my path to include to location of the arm toolchain
but it failed to find stdio.h file when I ran scons.

James.

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

Re: Path and binary locations to build elua



On Sun, Nov 13, 2011 at 5:28 PM, james osburn <[hidden email]> wrote:
I would like to build elua using the Code Sourcery toolchain.
Is there a prefered location to install this at?
Also what do i need to do the setup the path?
 
What OS are you using?


I modified my path to include to location of the arm toolchain
but it failed to find stdio.h file when I ran scons.

That never happened to me, there's probably something wrong with your setup. What CS version are you using?

Best,
Bogdan
 

James.

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



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

Re: Path and binary locations to build elua

I am using fedora linux.
And the code sourcery

https://sourcery.mentor.com/sgpp/lite/arm/portal/package8736/public/arm-none-eabi/arm-2011.03-42-arm-none-eabi.bin

I installed it at $HOME/local/.

James

On Sun, Nov 13, 2011 at 9:31 AM, Bogdan Marinescu <[hidden email]> wrote:


On Sun, Nov 13, 2011 at 5:28 PM, james osburn <[hidden email]> wrote:
I would like to build elua using the Code Sourcery toolchain.
Is there a prefered location to install this at?
Also what do i need to do the setup the path?
 
What OS are you using?


I modified my path to include to location of the arm toolchain
but it failed to find stdio.h file when I ran scons.

That never happened to me, there's probably something wrong with your setup. What CS version are you using?

Best,
Bogdan
 

James.

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



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

Re: Path and binary locations to build elua

On Sun, Nov 13, 2011 at 5:37 PM, james osburn <[hidden email]> wrote:
I am using fedora linux.
And the code sourcery

https://sourcery.mentor.com/sgpp/lite/arm/portal/package8736/public/arm-none-eabi/arm-2011.03-42-arm-none-eabi.bin
 


I installed it at $HOME/local/.

That's very weird. Try this:

1. put your toolchain's bin/ directory in your $PATH
2. copy/paste the program below as 'test.c':

#include <stdio.h>

int main()
{
  printf( "test\n" );
  return 0;

3. $ arm-none-eabi-gcc -c test.c

If this doesn't work, I confess that I have no idea what's wrong. 

Best,
Bogdan


James


On Sun, Nov 13, 2011 at 9:31 AM, Bogdan Marinescu <[hidden email]> wrote:


On Sun, Nov 13, 2011 at 5:28 PM, james osburn <[hidden email]> wrote:
I would like to build elua using the Code Sourcery toolchain.
Is there a prefered location to install this at?
Also what do i need to do the setup the path?
 
What OS are you using?


I modified my path to include to location of the arm toolchain
but it failed to find stdio.h file when I ran scons.

That never happened to me, there's probably something wrong with your setup. What CS version are you using?

Best,
Bogdan
 

James.

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev