Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sammyMaX

Pages: 1 ... 10 11 [12] 13 14
166
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 20, 2011, 04:17:23 pm »
I don't mind these tests at all! As long as you're trying to help, it's fine.
The console outputs:
+ uname -s
+ tr [A-Z] [a-z]
+ UNAME=linux
+ dirname ./nspire-gcc
+ DIRNAME=.
+ which readlink
+ readlink ./nspire-gcc
+ [ linux = cygwin ]
+ GCC=
+  -mcpu=arm7tdmi -I ./../include -fpic -fno-builtin
./nspire-gcc: 1: : Permission denied

167
Calculator C / Re: C Q&A Thread
« on: August 20, 2011, 04:15:12 pm »
Please point me to the thread if you find it! Anyways, my program is a bignum library, so it will use as much RAM as is available, so it would be useful if that were possible, but in the meantime I might just implement something that measures how much RAM my own program uses, or just skip RAM measurement entirely.

168
Calculator C / Re: C Q&A Thread
« on: August 20, 2011, 11:51:59 am »
Yes, that was the issue, but a simple change in the makefile fixed it.

I'm now looking for a good alphabet for displaying text. I stole a file from this program, http://www.ticalc.org/archives/files/fileinfo/430/43054.html, which has text similar to (or maybe the exact same as) the text seen in the GBC emulator when selecting a ROM. I truly appreciate the maker's hard work, but I am looking for a font that looks more like the default kind found on the Nspire OS.

In addition, my program has the potential to use a LOT of RAM, so is there any way to track how much RAM is left, or how much is being used? It would be convenient for users to know.

169
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 19, 2011, 09:28:27 pm »
Hmmm... I still get permission denied... as sudo.
Edit: and as a standard user.

170
Miscellaneous / Re: What is your avatar?
« on: August 19, 2011, 09:13:15 pm »
My name is not Sammy - not even close. Sammy is a (double) rainbow teddy bear. He's a retired bear made by TY.

171
Calculator C / Re: C Q&A Thread
« on: August 19, 2011, 04:58:48 pm »
I tried compiling my C code and I get an error when using for loops. It says they're only allowed in C99 mode. What do I do in my makefile to change to C99?
Edit: Never mind, a quick Google found it for me. Still weird, though.

172
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 18, 2011, 01:42:19 pm »
The terminal outputs:
total 36
-rwxrwxrwx 1 philip philip 20715 2011-06-11 09:55 MakeLoader.exe
-rwxrwxrwx 1 philip philip   872 2011-06-11 09:55 nspire-as
-rwxrwxrwx 1 philip philip  1029 2011-08-16 15:32 nspire-gcc
-rwxrwxrwx 1 philip philip  1935 2011-06-11 09:55 nspire-ld

I noticed the "d" in the front when I did this for the ndless2 folder disappeared. What does the "d" represent?

173
Math and Science / Re: New RSA Algorithm discussion
« on: August 17, 2011, 08:20:42 pm »
True, but you're missing the point here. I myself don't expect to find an algorithm that factors in polynomial time. But perhaps someone else could take my ideas and improve them. Knowledge is power, and I contributed what I did.

174
Math and Science / Re: New RSA Algorithm discussion
« on: August 17, 2011, 05:30:15 pm »

175
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 17, 2011, 05:23:22 pm »
The console outputs:
total 4
drwxrwxrwx 6 philip philip 4096 2011-08-15 20:16 sdk

EDIT: Finished installing toolchain in Windows.

176
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 16, 2011, 05:50:36 pm »
Uhmm... how do you configure gcc to be arm-none-eabi? I downloaded the source and I have no idea what to do. In the meantime, I will be installing MSYS and YAGARTO.

177
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 16, 2011, 03:31:42 pm »
Yes, the last line of the script is definitely the problem. Nspire-gcc should be able to run without elevated privileges, right?
Too many posts at once! Yes, I will try installing gcc as arm-none-eabi.

178
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 16, 2011, 03:21:44 pm »
I still can't get it to work, even after changing permissions. :( I guess installing MSYS and YAGARTO are my only options...
EDIT: Could the Nspire-gcc errors be due to the ARM toolchain not being set up correctly? I installed an arm-linux-gnueabi instead of the recommended arm-none-eabi.

179
TI-Nspire / Re: LunaGUI - A Linux GUI Tool to use Luna
« on: August 16, 2011, 01:51:45 pm »
Your welcome! I also like the extended convert button!

180
Calculator C / Re: Setting Up Ndless C Compiler
« on: August 16, 2011, 01:30:23 pm »
How do I change the permissions of a folder? (chmod on a folder?)

Pages: 1 ... 10 11 [12] 13 14