Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 11:44:15 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Mac C Programming? -  (Read 914 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Awesomeness
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 21 September, 2011, 02:33:04
Date Registered: 14 September, 2011, 05:06:57
Posts: 15


Topic starter
Total Post Ratings: 0

View Profile
« on: 17 September, 2011, 05:10:16 »
0

I have working ndless on my calculator.  How do I program with C in it?  I have basic experience in C; I just need a basic tutorial on how to put a "Hello world" program over.
Logged
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 09:24:00
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1916

Total Post Ratings: +215

View Profile WWW
« Reply #1 on: 17 September, 2011, 08:05:58 »
0

There are several topics around here, and some information on Hackspire Smiley
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
Awesomeness
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 21 September, 2011, 02:33:04
Date Registered: 14 September, 2011, 05:06:57
Posts: 15


Topic starter
Total Post Ratings: 0

View Profile
« Reply #2 on: 17 September, 2011, 16:20:46 »
0

Could you please link to them?  I can't find these topics you speak of Tongue
Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 07:59:35
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 773

Total Post Ratings: +152

View Profile
« Reply #3 on: 18 September, 2011, 15:14:08 »
0

http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: 14 June, 2013, 17:56:38
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1202


Total Post Ratings: +186

View Profile WWW
« Reply #4 on: 18 September, 2011, 18:52:12 »
0

It might be a little bit more difficult to do what's detailed in that website on a Mac, though.

You may have to rebuild some stuff by yourself...

For the C programming editor, by the way, I'd recommand XCode.

Than you can link some script to it to automatically compile through the arm toolchain etc.
Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
Awesomeness
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 21 September, 2011, 02:33:04
Date Registered: 14 September, 2011, 05:06:57
Posts: 15


Topic starter
Total Post Ratings: 0

View Profile
« Reply #5 on: 19 September, 2011, 02:05:32 »
0

I don't think it's possible.  Macs don't come with things like make and wget and apt-get.  They're Unix, but weird.
Logged
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 09:24:00
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1916

Total Post Ratings: +215

View Profile WWW
« Reply #6 on: 19 September, 2011, 06:57:28 »
0

Quote
Macs don't come with things like make [snip] and apt-get
Neither do most flavors of Linux, out of the box Smiley
apt-get is one of the packaging tools of Debian and derivatives, and most distributions do not include, due to space constraints, build-essentials (or equivalent), in their out of the box configuration. And some distros out there might have curl instead of wget.

On MacOS X, use MacPorts Smiley
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: 14 June, 2013, 17:56:38
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1202


Total Post Ratings: +186

View Profile WWW
« Reply #7 on: 19 September, 2011, 12:30:14 »
0

If you install Xcode (Developer Suite), all the things like Make, gcc, gdb etc. will be available.

MacPorts is quite useful indeed, btw
Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
Awesomeness
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 21 September, 2011, 02:33:04
Date Registered: 14 September, 2011, 05:06:57
Posts: 15


Topic starter
Total Post Ratings: 0

View Profile
« Reply #8 on: 20 September, 2011, 23:28:08 »
0

If you install Xcode (Developer Suite), all the things like Make, gcc, gdb etc. will be available.

MacPorts is quite useful indeed, btw

orly?



Yes, this is a 100% legit copy of the dev suite.  It may be quite old though.
Logged
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:08:43
Date Registered: 15 August, 2010, 09:18:54
Posts: 3192


Total Post Ratings: +222

View Profile
« Reply #9 on: 21 September, 2011, 00:38:20 »
0

You can also use LLVM instead of GCC. Have you tried reading the man pages for the tools to figure out how to call them?
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: 14 June, 2013, 17:56:38
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1202


Total Post Ratings: +186

View Profile WWW
« Reply #10 on: 21 September, 2011, 23:21:23 »
0

Try making a very basic C program in XCode.

Check in the project' settings whether it compile through GCC or LLVM.

 ^ You hould have both if you install a pretty new verion of XCode. (> 3.something I think).


try "locate gcc"  it shoudl be in /usr/bin/... ?
Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.215 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.