NDS beginner

Hello, I have been using SDL for a while now on OSX and linux, and
have become quite comfortable with it. I want to try using it on the
Nintendo DS. I went to this site - http://gpf.dcemu.co.uk/ndsSDL.shtml

  • and found the necessary libraries and a simple template. I am not
    very used to makefiles, but I assumed that running the makefile in a
    terminal will compile the code in the template. The output I got was
    as follows -

/Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile ; exit;
67-194-11-118:~ alokin$ /Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile ; exit;
/Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile: line 2: command not found
/Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile: line 4: syntax error near unexpected
token $(strip $(DEVKITARM)),' /Users/alokin/Downloads/libSDLDS061507.rar Folder/template/arm9/Makefile: line 4'ifeq ($(strip $(DEVKITARM)),)

I do not understand what this means, but I know that I have devkitpro,
though I don’t quite know how to install it (I’m on OSX).
I don’t know the low-level basics of the Nintendo DS, which is why I
was hoping SDL would provide a nice wrapper for it, as it does for
computers, so don’t expect me to know many DS specific things.

Sorry for the n00by question, but if anyone has gotten a nice SDL-NDS
set-up, I would really like help with this.

You need gnumake (or another similar make implementation.) Does that
come with Xcode? Devkitpro? I don’t know. I can’t remember!!! (Been a
long time for me with Mac.)

Makefiles are not shell scripts!!!

(Try to run make on the commandline! Maybe you already have it!)On Wed, Mar 25, 2009 at 9:29 PM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:

Hello, I have been using SDL for a while now on OSX and linux, and
have become quite comfortable with it. I want to try using it on the
Nintendo DS. I went to this site - http://gpf.dcemu.co.uk/ndsSDL.shtml

  • and found the necessary libraries and a simple template. I am not
    very used to makefiles, but I assumed that running the makefile in a
    terminal will compile the code in the template. The output I got was
    as follows -

/Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile ; exit;
67-194-11-118:~ alokin$ /Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile ; exit;
/Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile: line 2: command not found
/Users/alokin/Downloads/libSDLDS061507.rar
Folder/template/arm9/Makefile: line 4: syntax error near unexpected
token $(strip $(DEVKITARM)),' /Users/alokin/Downloads/libSDLDS061507.rar Folder/template/arm9/Makefile: line 4'ifeq ($(strip $(DEVKITARM)),)

I do not understand what this means, but I know that I have devkitpro,
though I don’t quite know how to install it (I’m on OSX).
I don’t know the low-level basics of the Nintendo DS, which is why I
was hoping SDL would provide a nice wrapper for it, as it does for
computers, so don’t expect me to know many DS specific things.

Sorry for the n00by question, but if anyone has gotten a nice SDL-NDS
set-up, I would really like help with this.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://codebad.com/

You need gnumake (or another similar make implementation.) Does that
come with Xcode? Devkitpro? I don’t know. I can’t remember!!! (Been a
long time for me with Mac.)

Xcode comes with a full gcc/GNU make/autoconf/automake setup, pretty
much what you’d expect in a typical Unix box development kit.On Wed, Mar 25, 2009 at 10:33 PM, Donny Viszneki <donny.viszneki at gmail.com> wrote:


http://pphaneuf.livejournal.com/

Run “make” from the terminal, while you’re in the directory that contains the Makefile. make will find it and use it to build the project.

-DarrenOn Thu, 26 Mar 2009 00:04:12 -0400 Pierre Phaneuf wrote:

On Wed, Mar 25, 2009 at 10:33 PM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

You need gnumake (or another similar make implementation.) Does that
come with Xcode? Devkitpro? I don’t know. I can’t remember!!! (Been a
long time for me with Mac.)

Xcode comes with a full gcc/GNU make/autoconf/automake setup, pretty
much what you’d expect in a typical Unix box development kit.


http://pphaneuf.livejournal.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Darren <@Darren_Alton>

Run “make” from the terminal, while you’re in
the directory that contains the Makefile. make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not already installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/--- On Thu, 3/26/09, Darren wrote:

From: Darren
Subject: Re: [SDL] NDS beginner
To: sdl at lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM

Almost there.

Doing “make” tells me to put devkitarm and devkitpro in my
environment. I successfully put devkitarm in my environment, but I
haven’t found “devkitpro” by itself on the internet. I always get
redirected to download devkitarm…On Thu, Mar 26, 2009 at 5:40 AM, Paul Duffy wrote:

— On Thu, 3/26/09, Darren wrote:

From: Darren
Subject: Re: [SDL] NDS beginner
To: sdl at lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM
Run “make” from the terminal, while you’re in
the directory that contains the Makefile. ?make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not already installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Actually, DevKitARM is like a “module” of DevKitPRO. You must set
devkitpro environment pointing to the parent folder (the one with libnds
and devkitarm children) and devkitarm variable to the devkitarm subdir.
Atenciosamente,

Eduardo Costa
Especialista em Desenvolvimento
GestAGBPo de IntegraA?AGBPo e Arquitetura
TransitTelecom
-----sdl-bounces@lists.libsdl.org escreveu: -----Para: odubtaig@yahoo.co.uk, "A list for developers using the SDL
library. (includes SDL-announce)"
De: Alokin Nollahwe
Enviado por: sdl-bounces@lists.libsdl.org
Data: 26/03/2009 13:19
Assunto: Re: [SDL] NDS beginner

Almost there.

Doing “make” tells me to put devkitarm and devkitpro in my
environment. I successfully put devkitarm in my environment, but I
haven’t found “devkitpro” by itself on the internet. I always get
redirected to download devkitarm…

On Thu, Mar 26, 2009 at 5:40 AM, Paul Duffy wrote:

— On Thu, 3/26/09, Darren wrote:

From: Darren
Subject: Re: [SDL] NDS beginner
To: sdl@lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM
Run “make” from the terminal, while you’re in
the directory that contains the Makefile. make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not
already installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/


SDL mailing list
SDL@lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL@lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Esta mensagem foi verificada pelo sistema de antivArus e
acredita-se estar livre de perigo.


Esta mensagem foi verificada pelo sistema de antivArus e
acredita-se estar livre de perigo.

Esta mensagem A© confidencial. Caso a tenha recebido por engano, por
favor, elimine-a imediatamente e notifique seu remetente. Qualquer
disseminaA?AGBPo ou reproduA?AGBPo do seu conteAodo A© expressamente proibida
e, portanto, ilegal.
This document is intended for the named addressed only and is
confidential. If for any reason you have received this document in error,
please destroy it and advise the sender immediately. The reproduction of
this content is prohibited and illegal.


Esta mensagem foi verificada pelo sistema de antivArus e
acredita-se estar livre de perigo.

As it looks here -
http://wiki.devkitpro.org/index.php/Getting_Started/devkitARM -
devkitpro isn’t actually something I download, its just the directory
into which I put devkitarm and libnds. Is this correct?

I will let you know if this works in a bit…

2009/3/26 :> Actually, DevKitARM is like a “module” of DevKitPRO. You must set devkitpro

environment pointing to the parent folder (the one with libnds and devkitarm
children) and devkitarm variable to the devkitarm subdir.

Atenciosamente,

Eduardo Costa
Especialista em Desenvolvimento
Gest?o de Integra??o e Arquitetura
TransitTelecom

-----sdl-bounces at lists.libsdl.org escreveu: -----

Para: odubtaig at yahoo.co.uk, “A list for developers using the SDL library.
(includes SDL-announce)”
De: Alokin Nollahwe <@Alokin_Nollahwe>
Enviado por: sdl-bounces at lists.libsdl.org
Data: 26/03/2009 13:19
Assunto: Re: [SDL] NDS beginner

Almost there.

Doing “make” tells me to put devkitarm and devkitpro in my
environment. I successfully put devkitarm in my environment, but I
haven’t found “devkitpro” by itself on the internet. I always get
redirected to download devkitarm…

On Thu, Mar 26, 2009 at 5:40 AM, Paul Duffy wrote:

— On Thu, 3/26/09, Darren wrote:

From: Darren
Subject: Re: [SDL] NDS beginner
To: sdl at lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM
Run “make” from the terminal, while you’re in
the directory that contains the Makefile. ?make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not already
installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.

Esta mensagem ? confidencial. Caso a tenha recebido por engano, por favor,
elimine-a imediatamente e notifique seu remetente. Qualquer dissemina??o ou
reprodu??o do seu conte?do ? expressamente proibida e, portanto, ilegal.
This document is intended for the named addressed only and is confidential.
If for any reason you have received this document in error, please destroy
it and advise the sender immediately. The reproduction of this content is
prohibited and illegal.


Esta mensagem foi verificada pelo sistema de antiv?rus e
acredita-se estar livre de perigo.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Yeah, that’s correct. For example, I have them placed on my Linux
machine like so:
~/hack/devkitPro/devkitARM
~/hack/devkitPro/libnds
and the following environment variables are exported in my ~/.bashrc:
DEVKITPRO=~/hack/devkitPro
DEVKITARM=$DEVKITPRO/devkitARM
I imagine it’s done similarly in OSX since OSX is BSD at heart.

-DarrenOn Thu, 2009-03-26 at 14:34 -0400, Alokin Nollahwe wrote:

As it looks here -
http://wiki.devkitpro.org/index.php/Getting_Started/devkitARM -
devkitpro isn’t actually something I download, its just the directory
into which I put devkitarm and libnds. Is this correct?

I will let you know if this works in a bit…

2009/3/26 :

Actually, DevKitARM is like a “module” of DevKitPRO. You must set devkitpro
environment pointing to the parent folder (the one with libnds and devkitarm
children) and devkitarm variable to the devkitarm subdir.

Atenciosamente,

Eduardo Costa
Especialista em Desenvolvimento
Gest?o de Integra??o e Arquitetura
TransitTelecom

-----sdl-bounces at lists.libsdl.org escreveu: -----

Para: odubtaig at yahoo.co.uk, “A list for developers using the SDL library.
(includes SDL-announce)”
De: Alokin Nollahwe <alokin.nollahwe at gmail.com>
Enviado por: sdl-bounces at lists.libsdl.org
Data: 26/03/2009 13:19
Assunto: Re: [SDL] NDS beginner

Almost there.

Doing “make” tells me to put devkitarm and devkitpro in my
environment. I successfully put devkitarm in my environment, but I
haven’t found “devkitpro” by itself on the internet. I always get
redirected to download devkitarm…

On Thu, Mar 26, 2009 at 5:40 AM, Paul Duffy wrote:

— On Thu, 3/26/09, Darren <@Darren_Alton> wrote:

From: Darren <@Darren_Alton>
Subject: Re: [SDL] NDS beginner
To: sdl at lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM
Run “make” from the terminal, while you’re in
the directory that contains the Makefile. make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not already
installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Esta mensagem foi verificada pelo sistema de antiv?rus e
acredita-se estar livre de perigo.


Esta mensagem foi verificada pelo sistema de antiv?rus e
acredita-se estar livre de perigo.

Esta mensagem ? confidencial. Caso a tenha recebido por engano, por favor,
elimine-a imediatamente e notifique seu remetente. Qualquer dissemina??o ou
reprodu??o do seu conte?do ? expressamente proibida e, portanto, ilegal.
This document is intended for the named addressed only and is confidential.
If for any reason you have received this document in error, please destroy
it and advise the sender immediately. The reproduction of this content is
prohibited and illegal.


Esta mensagem foi verificada pelo sistema de antiv?rus e
acredita-se estar livre de perigo.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I have successfully set up my environment with devkitARM/Pro, and
libnds compiled in the devkitPro directory. However, trying to make
the template gives me this -

mushroom-kingdom:template alokin$ make
make -C arm7
/Users/alokin/Desktop/libSDLDS061507.rar:1: *** missing separator. Stop.
make[1]: *** [build] Error 2
make: *** [arm7/SDLtemplate.elf] Error 2

Any ideas?On Fri, Mar 27, 2009 at 10:01 PM, Darren wrote:

Yeah, that’s correct. ?For example, I have them placed on my Linux
machine like so:
?~/hack/devkitPro/devkitARM
?~/hack/devkitPro/libnds
and the following environment variables are exported in my ~/.bashrc:
?DEVKITPRO=~/hack/devkitPro
?DEVKITARM=$DEVKITPRO/devkitARM
I imagine it’s done similarly in OSX since OSX is BSD at heart.

-Darren

On Thu, 2009-03-26 at 14:34 -0400, Alokin Nollahwe wrote:

As it looks here -
http://wiki.devkitpro.org/index.php/Getting_Started/devkitARM -
devkitpro isn’t actually something I download, its just the directory
into which I put devkitarm and libnds. Is this correct?

I will let you know if this works in a bit…

2009/3/26 ?:

Actually, DevKitARM is like a “module” of DevKitPRO. You must set devkitpro
environment pointing to the parent folder (the one with libnds and devkitarm
children) and devkitarm variable to the devkitarm subdir.

Atenciosamente,

Eduardo Costa
Especialista em Desenvolvimento
Gest?o de Integra??o e Arquitetura
TransitTelecom

-----sdl-bounces at lists.libsdl.org escreveu: -----

Para: odubtaig at yahoo.co.uk, “A list for developers using the SDL library.
(includes SDL-announce)”
De: Alokin Nollahwe <@Alokin_Nollahwe>
Enviado por: sdl-bounces at lists.libsdl.org
Data: 26/03/2009 13:19
Assunto: Re: [SDL] NDS beginner

Almost there.

Doing “make” tells me to put devkitarm and devkitpro in my
environment. I successfully put devkitarm in my environment, but I
haven’t found “devkitpro” by itself on the internet. I always get
redirected to download devkitarm…

On Thu, Mar 26, 2009 at 5:40 AM, Paul Duffy wrote:

— On Thu, 3/26/09, Darren wrote:

From: Darren
Subject: Re: [SDL] NDS beginner
To: sdl at lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM
Run “make” from the terminal, while you’re in
the directory that contains the Makefile. ?make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not already
installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.

Esta mensagem ? confidencial. Caso a tenha recebido por engano, por favor,
elimine-a imediatamente e notifique seu remetente. Qualquer dissemina??o ou
reprodu??o do seu conte?do ? expressamente proibida e, portanto, ilegal.
This document is intended for the named addressed only and is confidential.
If for any reason you have received this document in error, please destroy
it and advise the sender immediately. The reproduction of this content is
prohibited and illegal.


Esta mensagem foi verificada pelo sistema de antiv?rus e
acredita-se estar livre de perigo.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Also, trying to compile a similar example thing, I get a similar/the
same error -

mushroom-kingdom:parallax2SDL alokin$ make
/Users/alokin/Desktop/NDSSDLexamples.rar:1: *** missing separator. Stop.
make: *** [build] Error 2On Sat, Mar 28, 2009 at 9:52 PM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

I have successfully set up my environment with devkitARM/Pro, and
libnds compiled in the devkitPro directory. However, trying to make
the template gives me this -

mushroom-kingdom:template alokin$ make
make -C arm7
/Users/alokin/Desktop/libSDLDS061507.rar:1: *** missing separator. ?Stop.
make[1]: *** [build] Error 2
make: *** [arm7/SDLtemplate.elf] Error 2

Any ideas?

On Fri, Mar 27, 2009 at 10:01 PM, Darren wrote:

Yeah, that’s correct. ?For example, I have them placed on my Linux
machine like so:
?~/hack/devkitPro/devkitARM
?~/hack/devkitPro/libnds
and the following environment variables are exported in my ~/.bashrc:
?DEVKITPRO=~/hack/devkitPro
?DEVKITARM=$DEVKITPRO/devkitARM
I imagine it’s done similarly in OSX since OSX is BSD at heart.

-Darren

On Thu, 2009-03-26 at 14:34 -0400, Alokin Nollahwe wrote:

As it looks here -
http://wiki.devkitpro.org/index.php/Getting_Started/devkitARM -
devkitpro isn’t actually something I download, its just the directory
into which I put devkitarm and libnds. Is this correct?

I will let you know if this works in a bit…

2009/3/26 ?:

Actually, DevKitARM is like a “module” of DevKitPRO. You must set devkitpro
environment pointing to the parent folder (the one with libnds and devkitarm
children) and devkitarm variable to the devkitarm subdir.

Atenciosamente,

Eduardo Costa
Especialista em Desenvolvimento
Gest?o de Integra??o e Arquitetura
TransitTelecom

-----sdl-bounces at lists.libsdl.org escreveu: -----

Para: odubtaig at yahoo.co.uk, “A list for developers using the SDL library.
(includes SDL-announce)”
De: Alokin Nollahwe <@Alokin_Nollahwe>
Enviado por: sdl-bounces at lists.libsdl.org
Data: 26/03/2009 13:19
Assunto: Re: [SDL] NDS beginner

Almost there.

Doing “make” tells me to put devkitarm and devkitpro in my
environment. I successfully put devkitarm in my environment, but I
haven’t found “devkitpro” by itself on the internet. I always get
redirected to download devkitarm…

On Thu, Mar 26, 2009 at 5:40 AM, Paul Duffy wrote:

— On Thu, 3/26/09, Darren wrote:

From: Darren
Subject: Re: [SDL] NDS beginner
To: sdl at lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM
Run “make” from the terminal, while you’re in
the directory that contains the Makefile. ?make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not already
installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.

Esta mensagem ? confidencial. Caso a tenha recebido por engano, por favor,
elimine-a imediatamente e notifique seu remetente. Qualquer dissemina??o ou
reprodu??o do seu conte?do ? expressamente proibida e, portanto, ilegal.
This document is intended for the named addressed only and is confidential.
If for any reason you have received this document in error, please destroy
it and advise the sender immediately. The reproduction of this content is
prohibited and illegal.


Esta mensagem foi verificada pelo sistema de antiv?rus e
acredita-se estar livre de perigo.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

So I am one step closer, by having devkitpro/arm and libnds installed
correctly, and now I need to install the SDL part correctly, and make
sure that i can make these examples…On Sun, Mar 29, 2009 at 3:08 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

Also, trying to compile a similar example thing, I get a similar/the
same error -

mushroom-kingdom:parallax2SDL alokin$ make
/Users/alokin/Desktop/NDSSDLexamples.rar:1: *** missing separator. ?Stop.
make: *** [build] Error 2

On Sat, Mar 28, 2009 at 9:52 PM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

I have successfully set up my environment with devkitARM/Pro, and
libnds compiled in the devkitPro directory. However, trying to make
the template gives me this -

mushroom-kingdom:template alokin$ make
make -C arm7
/Users/alokin/Desktop/libSDLDS061507.rar:1: *** missing separator. ?Stop.
make[1]: *** [build] Error 2
make: *** [arm7/SDLtemplate.elf] Error 2

Any ideas?

On Fri, Mar 27, 2009 at 10:01 PM, Darren wrote:

Yeah, that’s correct. ?For example, I have them placed on my Linux
machine like so:
?~/hack/devkitPro/devkitARM
?~/hack/devkitPro/libnds
and the following environment variables are exported in my ~/.bashrc:
?DEVKITPRO=~/hack/devkitPro
?DEVKITARM=$DEVKITPRO/devkitARM
I imagine it’s done similarly in OSX since OSX is BSD at heart.

-Darren

On Thu, 2009-03-26 at 14:34 -0400, Alokin Nollahwe wrote:

As it looks here -
http://wiki.devkitpro.org/index.php/Getting_Started/devkitARM -
devkitpro isn’t actually something I download, its just the directory
into which I put devkitarm and libnds. Is this correct?

I will let you know if this works in a bit…

2009/3/26 ?:

Actually, DevKitARM is like a “module” of DevKitPRO. You must set devkitpro
environment pointing to the parent folder (the one with libnds and devkitarm
children) and devkitarm variable to the devkitarm subdir.

Atenciosamente,

Eduardo Costa
Especialista em Desenvolvimento
Gest?o de Integra??o e Arquitetura
TransitTelecom

-----sdl-bounces at lists.libsdl.org escreveu: -----

Para: odubtaig at yahoo.co.uk, “A list for developers using the SDL library.
(includes SDL-announce)”
De: Alokin Nollahwe <@Alokin_Nollahwe>
Enviado por: sdl-bounces at lists.libsdl.org
Data: 26/03/2009 13:19
Assunto: Re: [SDL] NDS beginner

Almost there.

Doing “make” tells me to put devkitarm and devkitpro in my
environment. I successfully put devkitarm in my environment, but I
haven’t found “devkitpro” by itself on the internet. I always get
redirected to download devkitarm…

On Thu, Mar 26, 2009 at 5:40 AM, Paul Duffy wrote:

— On Thu, 3/26/09, Darren wrote:

From: Darren
Subject: Re: [SDL] NDS beginner
To: sdl at lists.libsdl.org
Date: Thursday, March 26, 2009, 4:17 AM
Run “make” from the terminal, while you’re in
the directory that contains the Makefile. ?make will find it
and use it to build the project.

-Darren

Is the right answer!

They’ll also need the GNU Compiler Collection for ARM chips if not already
installed. This looks appropriate…

http://www.coderjoe.net/archive/2007/07/23/nintendo-ds-homebrew-tools-of-the-trade/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.


Esta mensagem foi verificada pelo sistema de antiv?rus e
?acredita-se estar livre de perigo.

Esta mensagem ? confidencial. Caso a tenha recebido por engano, por favor,
elimine-a imediatamente e notifique seu remetente. Qualquer dissemina??o ou
reprodu??o do seu conte?do ? expressamente proibida e, portanto, ilegal.
This document is intended for the named addressed only and is confidential.
If for any reason you have received this document in error, please destroy
it and advise the sender immediately. The reproduction of this content is
prohibited and illegal.


Esta mensagem foi verificada pelo sistema de antiv?rus e
acredita-se estar livre de perigo.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I have successfully set up my environment with devkitARM/Pro, and
libnds compiled in the devkitPro directory. However, trying to make
the template gives me this -

mushroom-kingdom:template alokin$ make
make -C arm7
/Users/alokin/Desktop/libSDLDS061507.rar:1: *** missing separator. Stop.
make[1]: *** [build] Error 2
make: *** [arm7/SDLtemplate.elf] Error 2

Any ideas?

Also, trying to compile a similar example thing, I get a similar/the
same error -

mushroom-kingdom:parallax2SDL alokin$ make
/Users/alokin/Desktop/NDSSDLexamples.rar:1: *** missing separator. Stop.
make: *** [build] Error 2

Google is your friend:

http://www.cygwin.com/ml/cygwin/1998-10/msg00455.html

Don’t you love Windows CRLF line terminators?

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video ? -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not installed, or it is not on your
command path.

Try setting the command’s full path with the CC environment variable
when running ./configure, like this

CC=/exact/command/to/run/gccwhatever ./configure --whatever-options --you-wanted

Try setting your command path, like this

echo $PATH
export PATH=$PATH:/path/to/commands/not/yet/on/your/path

So I am one step closer, by having devkitpro/arm and libnds installed
correctly, and now I need to install the SDL part correctly, and make
sure that i can make these examples…

Good luck. I wish I could develop for the NDS, but I can’t :(On Sat, Mar 28, 2009 at 9:52 PM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:
On Sun, Mar 29, 2009 at 3:08 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:
On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:


http://codebad.com/

I’m on osxSent from my iPhone

On Mar 29, 2009, at 4:17 AM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

On Sat, Mar 28, 2009 at 9:52 PM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

I have successfully set up my environment with devkitARM/Pro, and
libnds compiled in the devkitPro directory. However, trying to make
the template gives me this -

mushroom-kingdom:template alokin$ make
make -C arm7
/Users/alokin/Desktop/libSDLDS061507.rar:1: *** missing separator.
Stop.
make[1]: *** [build] Error 2
make: *** [arm7/SDLtemplate.elf] Error 2

Any ideas?

On Sun, Mar 29, 2009 at 3:08 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

Also, trying to compile a similar example thing, I get a similar/the
same error -

mushroom-kingdom:parallax2SDL alokin$ make
/Users/alokin/Desktop/NDSSDLexamples.rar:1: *** missing separator.
Stop.
make: *** [build] Error 2

Google is your friend:

http://www.cygwin.com/ml/cygwin/1998-10/msg00455.html

Don’t you love Windows CRLF line terminators?

On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -
mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not installed, or it is not on your
command path.

Try setting the command’s full path with the CC environment variable
when running ./configure, like this

CC=/exact/command/to/run/gccwhatever ./configure --whatever-options
–you-wanted

Try setting your command path, like this

echo $PATH
export PATH=$PATH:/path/to/commands/not/yet/on/your/path

So I am one step closer, by having devkitpro/arm and libnds installed
correctly, and now I need to install the SDL part correctly, and make
sure that i can make these examples…

Good luck. I wish I could develop for the NDS, but I can’t :frowning:


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Either way, I didn’t make these makefiles…On Sun, Mar 29, 2009 at 3:00 PM, Alokin <@Alokin_Nollahwe> wrote:

I’m on osx

Sent from my iPhone

On Mar 29, 2009, at 4:17 AM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

On Sat, Mar 28, 2009 at 9:52 PM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

I have successfully set up my environment with devkitARM/Pro, and
libnds compiled in the devkitPro directory. However, trying to make
the template gives me this -

mushroom-kingdom:template alokin$ make
make -C arm7
/Users/alokin/Desktop/libSDLDS061507.rar:1: *** missing separator. ?Stop.
make[1]: *** [build] Error 2
make: *** [arm7/SDLtemplate.elf] Error 2

Any ideas?

On Sun, Mar 29, 2009 at 3:08 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

Also, trying to compile a similar example thing, I get a similar/the
same error -

mushroom-kingdom:parallax2SDL alokin$ make
/Users/alokin/Desktop/NDSSDLexamples.rar:1: *** missing separator. ?Stop.
make: *** [build] Error 2

Google is your friend:

http://www.cygwin.com/ml/cygwin/1998-10/msg00455.html

Don’t you love Windows CRLF line terminators?

On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video ? -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not installed, or it is not on your
command path.

Try setting the command’s full path with the CC environment variable
when running ./configure, like this

CC=/exact/command/to/run/gccwhatever ./configure --whatever-options
–you-wanted

Try setting your command path, like this

echo $PATH
export PATH=$PATH:/path/to/commands/not/yet/on/your/path

So I am one step closer, by having devkitpro/arm and libnds installed
correctly, and now I need to install the SDL part correctly, and make
sure that i can make these examples…

Good luck. I wish I could develop for the NDS, but I can’t :frowning:


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

The problem might be more complicated. When trying to install SDL -

mushroom-kingdom:SDL-1.2.9 alokin$ make -f Makefile.ds
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127On Mon, Mar 30, 2009 at 12:09 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

Either way, I didn’t make these makefiles…

On Sun, Mar 29, 2009 at 3:00 PM, Alokin <@Alokin_Nollahwe> wrote:

I’m on osx

Sent from my iPhone

On Mar 29, 2009, at 4:17 AM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

On Sat, Mar 28, 2009 at 9:52 PM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

I have successfully set up my environment with devkitARM/Pro, and
libnds compiled in the devkitPro directory. However, trying to make
the template gives me this -

mushroom-kingdom:template alokin$ make
make -C arm7
/Users/alokin/Desktop/libSDLDS061507.rar:1: *** missing separator. ?Stop.
make[1]: *** [build] Error 2
make: *** [arm7/SDLtemplate.elf] Error 2

Any ideas?

On Sun, Mar 29, 2009 at 3:08 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

Also, trying to compile a similar example thing, I get a similar/the
same error -

mushroom-kingdom:parallax2SDL alokin$ make
/Users/alokin/Desktop/NDSSDLexamples.rar:1: *** missing separator. ?Stop.
make: *** [build] Error 2

Google is your friend:

http://www.cygwin.com/ml/cygwin/1998-10/msg00455.html

Don’t you love Windows CRLF line terminators?

On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video ? -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not installed, or it is not on your
command path.

Try setting the command’s full path with the CC environment variable
when running ./configure, like this

CC=/exact/command/to/run/gccwhatever ./configure --whatever-options
–you-wanted

Try setting your command path, like this

echo $PATH
export PATH=$PATH:/path/to/commands/not/yet/on/your/path

So I am one step closer, by having devkitpro/arm and libnds installed
correctly, and now I need to install the SDL part correctly, and make
sure that i can make these examples…

Good luck. I wish I could develop for the NDS, but I can’t :frowning:


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

The problem might be more complicated. When trying to install SDL -

mushroom-kingdom:SDL-1.2.9 alokin$ make -f Makefile.ds
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video ? -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

How might this “be more complicated?” It is exactly as complicated
as before:On Mon, Mar 30, 2009 at 12:16 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:

On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video ? -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not installed, or it is not on your
command path.

Try setting the command’s full path with the CC environment variable
when running ./configure, like this

CC=/exact/command/to/run/gccwhatever ./configure --whatever-options
–you-wanted

Try setting your command path, like this

echo $PATH
export PATH=$PATH:/path/to/commands/not/yet/on/your/path


http://codebad.com/

I did not see that, I only saw the message about the carriage return,
weird. What is arm-eabi-gcc? I don’t know where it would be installed,
I just installed devkitarm and libnds, and their paths are already in
my shell configurationSent from my iPhone

On Mar 30, 2009, at 8:05 AM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

On Mon, Mar 30, 2009 at 12:16 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

The problem might be more complicated. When trying to install SDL -

mushroom-kingdom:SDL-1.2.9 alokin$ make -f Makefile.ds
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -
mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

How might this “be more complicated?” It is exactly as complicated
as before:

On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <@Alokin_Nollahwe> wrote:

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -
mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/
thread/nds
-Isrc/thread -Isrc/timer -Isrc/video -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not installed, or it is not
on your
command path.

Try setting the command’s full path with the CC environment
variable
when running ./configure, like this

CC=/exact/command/to/run/gccwhatever ./configure --whatever-
options
–you-wanted

Try setting your command path, like this

echo $PATH
export PATH=$PATH:/path/to/commands/not/yet/on/your/path


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

It’s a compiler.

http://gcc.gnu.org/

Specifically it’s a cross-compiler targeting the ARM platform (your DS
uses two ARM CPUs.)

The EABI bit is probably a little over your head (no offense.)

I can’t tell you more than that since I’ve never developed for the DS.
Have you tried searching your computer for the file?On Mon, Mar 30, 2009 at 8:59 AM, Alokin <alokin.nollahwe at gmail.com> wrote:

I did not see that, I only saw the message about the carriage return, weird.
What is arm-eabi-gcc? I don’t know where it would be installed, I just
installed devkitarm and libnds, and their paths are already in my shell
configuration

Sent from my iPhone

On Mar 30, 2009, at 8:05 AM, Donny Viszneki <@Donny_Viszneki> wrote:

On Mon, Mar 30, 2009 at 12:16 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:

The problem might be more complicated. When trying to install SDL -

mushroom-kingdom:SDL-1.2.9 alokin$ make -f Makefile.ds
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video ? -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

How might this “be more complicated?” It is exactly as complicated
as before:

On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:

And finally, trying to make the SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$ make
arm-eabi-gcc -mthumb -mthumb-interwork -march=armv5te
-mtune=arm946e-s
-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -DARM9
-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H
-DDISABLE_THREADS -DPACKAGE=“SDL” -DVERSION=“1.2.9”
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc -Isrc/audio
-Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds
-Isrc/thread -Isrc/timer -Isrc/video ? -c -o
src/audio/nds/SDL_ndsaudio.o src/audio/nds/SDL_ndsaudio.c
make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not installed, or it is not on your
command path.

Try setting the command’s full path with the CC environment variable
when running ./configure, like this

CC=/exact/command/to/run/gccwhatever ./configure --whatever-options
–you-wanted

Try setting your command path, like this

echo $PATH
export PATH=$PATH:/path/to/commands/not/yet/on/your/path


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://codebad.com/

Have you tried following the instructions at http://www.coderjoe.net/archive/2007/07/10/so-you-want-to-make-nintendo-ds-homebrew/ ?— On Mon, 3/30/09, Alokin <alokin.nollahwe at gmail.com> wrote:

From: Alokin <alokin.nollahwe at gmail.com>
Subject: Re: [SDL] NDS beginner
To: “A list for developers using the SDL library. (includes SDL-announce)”
Cc: “A list for developers using the SDL library. (includes SDL-announce)”
Date: Monday, March 30, 2009, 12:59 PM
I did not see that, I only saw the message about the
carriage return, weird. What is arm-eabi-gcc? I don’t
know where it would be installed, I just installed devkitarm
and libnds, and their paths are already in my shell
configuration

Sent from my iPhone

On Mar 30, 2009, at 8:05 AM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

On Mon, Mar 30, 2009 at 12:16 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:

The problem might be more complicated. When trying
to install SDL -

mushroom-kingdom:SDL-1.2.9 alokin$ make -f
Makefile.ds

arm-eabi-gcc -mthumb -mthumb-interwork
-march=armv5te -mtune=arm946e-s

-O2 -Wall -Wwrite-strings -Wpointer-arith
-Wconversion -DARM9

-D__NDS__ -I/devkitPro/libnds/include -DENABLE_NDS
-DNO_SIGNAL_H

-DDISABLE_THREADS
-DPACKAGE=“SDL”
-DVERSION=“1.2.9”

-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -Iinclude -Isrc
-Isrc/audio

-Isrc/cdrom -Isrc/endian -Isrc/events
-Isrc/joystick -Isrc/thread/nds

-Isrc/thread -Isrc/timer -Isrc/video -c -o
src/audio/nds/SDL_ndsaudio.o
src/audio/nds/SDL_ndsaudio.c

make: arm-eabi-gcc: Command not found
make: *** [src/audio/nds/SDL_ndsaudio.o] Error 127

How might this “be more complicated?” It
is exactly as complicated
as before:

On Sun, Mar 29, 2009 at 3:14 AM, Alokin Nollahwe <alokin.nollahwe at gmail.com> wrote:

And finally, trying to make the
SDL-1.2.9 thing results in this -

mushroom-kingdom:SDL-1.2.9 alokin$
make

arm-eabi-gcc -mthumb
-mthumb-interwork -march=armv5te -mtune=arm946e-s

-O2 -Wall -Wwrite-strings
-Wpointer-arith -Wconversion -DARM9

-D__NDS__
-I/devkitPro/libnds/include -DENABLE_NDS -DNO_SIGNAL_H

-DDISABLE_THREADS
-DPACKAGE=“SDL”
-DVERSION=“1.2.9”

-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-Iinclude -Isrc -Isrc/audio

-Isrc/cdrom -Isrc/endian
-Isrc/events -Isrc/joystick -Isrc/thread/nds

-Isrc/thread -Isrc/timer
-Isrc/video -c -o

src/audio/nds/SDL_ndsaudio.o
src/audio/nds/SDL_ndsaudio.c

make: arm-eabi-gcc: Command not
found

make: ***
[src/audio/nds/SDL_ndsaudio.o] Error 127

Either the arm-eabi-gcc command is not
installed, or it is not on your

command path.

Try setting the command’s full
path with the CC environment variable

when running ./configure, like this

CC=/exact/command/to/run/gccwhatever
./configure --whatever-options

–you-wanted

Try setting your command path, like
this

echo $PATH
export
PATH=$PATH:/path/to/commands/not/yet/on/your/path

http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org