quarta-feira, 19 de janeiro de 2011

gnustep-base instalado


// Hello.m
#import

@interface HelloWorld : NSObject {
// no instance variables
}
// methods
- (void)sayHello;
@end

@implementation HelloWorld
- (void)sayHello
{
NSLog(@"Hello, world, at %@", [NSCalendarDate calendarDate]);
}
@end

int main() {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

// my stuff
HelloWorld *hw = [[HelloWorld alloc] init];
[hw autorelease];

[hw sayHello];

[pool release];
return 0;
}

// GNUmakefile
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = Hello
Hello_OBJC_FILES = Hello.m
include $(GNUSTEP_MAKEFILES)/tool.make

moia:bzero:~/objc> gmake
This is gnustep-make 2.0.8. Type 'make print-gnustep-make-help' for help.
Making all for tool Hello...
Compiling file Hello.m ...
Linking tool Hello ...

terça-feira, 18 de janeiro de 2011

fixlib

fixlib
======

fixlib provides a Pythonic interface to build FIX engines. FIX messages
(currently, only version 4.2 of the protocol is supported) are converted
to very readable Python dictionaries. An abstract store interface is used
to store messages and thereby provide the resend facilities required by the
protocol. An example store based on CouchDB and couchdb-python is provided.
fixlib uses the asyncore module from the standard library to efficiently
handle network communication.


sábado, 15 de janeiro de 2011

console mail

moia:bzero:~> cd /usr/pkgsrc/mail/ && make install
=> Registering installation for mutt-1.4.2.3nb3

segunda-feira, 10 de janeiro de 2011

netbsd STABLE

===> Summary of results:
build.sh command: ./build.sh -U distribution
build.sh started: Sun Jan 9 15:22:14 AMT 2011
NetBSD version: 4.0.1_PATCH
MACHINE: i386
MACHINE_ARCH: i386
Build platform: NetBSD 5.0.2 i386
HOST_SH: /bin/sh
No nonexistent/bin/nbmake, needs building.
Bootstrapping nbmake
TOOLDIR path: /usr/src/obj/tooldir.NetBSD-5.0.2-i386
DESTDIR path: /usr/src/obj/destdir.i386
RELEASEDIR path: /usr/src/obj/releasedir
Created /usr/src/obj/tooldir.NetBSD-5.0.2-i386/bin/nbmake
makewrapper: /usr/src/obj/tooldir.NetBSD-5.0.2-i386/bin/nbmake-i386
Updated /usr/src/obj/tooldir.NetBSD-5.0.2-i386/bin/nbmake-i386
Successful make distribution
build.sh ended: Sun Jan 9 17:45:37 AMT 2011