#150614 - SergioyoPlayer - Fri Feb 08, 2008 4:45 pm
Where ca I found a program for my PC (like FreePascal) which compiles my programs for DS?
I dont't know c or c++
Anybody use the Pascal language?
#150615 - kusma - Fri Feb 08, 2008 5:04 pm
If you had searched for "Pascal", you would have found this post, which answers your question. Or you could have checked the download-section of the FreePascal web-page. Yes, there is a version of FreePascal that targets the Nintendo DS.
#150619 - SergioyoPlayer - Fri Feb 08, 2008 5:50 pm
Yes, I've downloaded the FreePascal version, but the zip archive contains a Readme file, which I cannot understand (I'm spanish, and the file was in english, and there was one instrucction that I can't understand)
I just want a compiler from Pascal to ARM (for NDS or GBA)
Please, anybody who wants explain it to me??
(sorry about my english :s)
#150625 - tepples - Fri Feb 08, 2008 9:43 pm
SergioyoPlayer wrote: |
Yes, I've downloaded the FreePascal version, but the zip archive contains a Readme file, which I cannot understand (I'm spanish, and the file was in english, and there was one instrucction that I can't understand) |
If you paste the difficult instruction here, some of us might be able to help you, either by translating it into simpler English or by translating it all the way to Spanish.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#150626 - SergioyoPlayer - Fri Feb 08, 2008 9:55 pm
Thanks tepples!!
This is the Readme file:
-------------------------
In order to make this compiler working, you need to set the environment path.
Extracting this package in c:\fpc4nds, you need to add:
c:\fpc4nds\arm-nds\bin
to your environment path. Another step is to modify fpc.cfg in arm-nds\bin
directory, by changing -Fu and -FD, according with your installation directory.
Eg.
-Tnds
-FuC:\fpc4nds\units\arm-nds
-XParm-nds-
-FDC:\fpc4nds\bin\arm-nds
-----------
I follow all the steps, but the FreePascal options are the same...
#150627 - Chano Marrano - Fri Feb 08, 2008 10:04 pm
Quote: |
In order to make this compiler working, you need to set the environment path.
Extracting this package in c:\fpc4nds, you need to add:
c:\fpc4nds\arm-nds\bin
to your environment path. Another step is to modify fpc.cfg in arm-nds\bin
directory, by changing -Fu and -FD, according with your installation directory. |
Para hacer funcionar el compilador, necesitas modificar la variable de entorno [variable PATH, si utilizas Windows dale a Mi PC -> Propiedades -> Opciones avanzadas -> Variables de entorno y en el cuadro de variables del sistema busca la variable PATH].
Extrae el archivo zip en c:\fpc4nds y a?ade:
c:\fpc4nds\arm-nds\bin
a la variable de entorno. Otro paso que hay que tomar es modificar el fichero fpc.cfg situado en el directorio arm-nds\bin, cambiando -Fu y -FD de acuerdo al directorio de instalaci?n.
#150631 - SergioyoPlayer - Fri Feb 08, 2008 11:40 pm
Much?simas gracias!!
He hecho lo que me has explicado, pero ahora solo me falta configurarlo en el FreePascal, porque me siguen apareciendo los mismos procesadores... :s
Gracias!
#150633 - Legolas - Fri Feb 08, 2008 11:46 pm
SergioyoPlayer wrote: |
I follow all the steps, but the FreePascal options are the same... |
Maybe I can guess where's the problem: you can't use the fpc IDE, because it does not support yet nds and gba. You will need to use the fpc compiler by command line, eg.:
Code: |
ppcarmnds.exe example.pp |
However, I suggest to download the latest snapshot, that fixes several bugs:
ftp://ftp.freepascal.org/fpc/snapshot/trunk/arm-nds/arm-nds-fpc-2.3.1.i386-win32.zip
_________________
My homepage!