emperor: (Default)
Add MemoryShare This Entry
posted by [personal profile] emperor at 03:17pm on 25/11/2003
[I hope [livejournal.com profile] jdev is reading :)]

I'm used to writing (C) code in emacs, and then running make. There's a lot of developer documentation for MacosX, but a lot of it seems to assume you're using Xcode.

So: what docs should I read if I want to know about (in order of need)
a) how to build a macos-app
b) where the CDROM headers are/ what the interface is like[1]
c) how to do network programming for OSX

...and should I just give up and use Xcode?

[1] I'm assuming ioctl, but...
Mood:: 'questioning' questioning
There are 11 comments on this entry. (Reply.)
ext_8103: (Default)
posted by [identity profile] ewx.livejournal.com at 08:06am on 25/11/2003
Surely the usual socket/connect/etc...?
emperor: (Default)
posted by [personal profile] emperor at 08:06am on 25/11/2003
I hope so. I was more thinking about the routing table stuff (yes, I'm thinking secnet here)
 
posted by [identity profile] senji.livejournal.com at 08:11am on 25/11/2003
*eww* *ick* *blech*
ext_8103: (Default)
posted by [identity profile] ewx.livejournal.com at 03:50pm on 25/11/2003
I've no idea how you'd plumb an external device in like secnet needs. I'd have thought ordinary interface and route manipulation would be SIOCGIFCONF and friends though.
 
posted by [identity profile] antinomy.livejournal.com at 08:13am on 25/11/2003
Have you had a play with Xcode? You might even find you get on with it, and it might make your life easier...
emperor: (Default)
posted by [personal profile] emperor at 09:29am on 25/11/2003
For a start, I can't get it to import existing CVS-stored code, which is somewhat sucky to say the least.
 
posted by [identity profile] arnhem.livejournal.com at 11:17am on 25/11/2003
I think that avgtool may be a useful keyword to search with. Try
"avgtool help" in a terminal window.

[ this advice should come with a free pinch of salt ]
 
posted by [identity profile] senji.livejournal.com at 03:21pm on 25/11/2003
[ this advice should come with a free pinch of salt ]

More advice should, IMNSHO.
emperor: (Default)
posted by [personal profile] emperor at 03:22am on 28/11/2003
that produces error messages, and googling hasn't enlightened me...
ext_243: (Default)
posted by [identity profile] xlerb.livejournal.com at 11:05am on 25/11/2003

a) how to build a macos-app

If you mean an actual .app bundle, one that you can double-click on and that will show up in the dock and use a GUI, you'll pretty much need Xcode, I believe. But see the xcodebuild(1) man page.

A command-line tool, however, can be built in the usual way, and can use frameworks with the -framework linker flag.

b) where the CDROM headers are/ what the interface is like[1]

I don't know too much about this... what are you trying to do with the CDROM? I'll note here the existence of the DiskArbitration framework, and of cddafs.

Observation, and note to self: cddafs uses the CDDB track titles that iTunes downloads. Yow.

c) how to do network programming for OSX

The same as for BSD, pretty much. I should also note the existence of the SystemConfiguration framework, which is built on the BSD interfaces and used by the GUI network configurator.

emperor: (Default)
posted by [personal profile] emperor at 02:39pm on 25/11/2003
thanks.

what are you trying to do with the CDROM?
Play audio, which on BSD and Linux is CDROMFOO ioctls.

October

SunMonTueWedThuFriSat
      1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
26
 
27
 
28
 
29
 
30
 
31