Displaying 6 results from an estimated 6 matches for "cocotron".
2008 Dec 22
6
MacOS X cocoa and carbon for Linux?
Do you know about such implementation of the Mac OS API for Linux ?
I was thinking would this be hard to be done ? Having in mind that the MacOS and Linux OSes have much more in common than Linux and Windows. The benefits of such projects will be great , as there is great diversity of applications for MacOS ,and if they can be used native in Linux there will be great advantage for all Linux users.
2015 Apr 09
2
[LLVMdev] __sync_add_and_fetch in objc block for global variable on ARM
...]
0x00008f20 <+296>: bl 0x8aa0 <pthread_self>
>
> In what way is "count" corrupted, and how do you observe it? What
> assembly is actually produced for the block?
The assembly for whole block is huge even for minimal test case. I attached source code.
I used cocotron derived framework, but due canaries was alive I don't think it's due runtime.
If you undef REPRODUCE_CASE in example, it will not reproduce, I think it's because of introducing
additional time interval.
The output of sample is following (when it reproduced):
after -1316199408 count addr...
2016 Sep 26
4
objc object file generated for gnustep runtime for ELF target is too big
Dear community,
I'm using gnustep runtime -fobjc-runtime=gnustep with gnustep-libobjc2 (https://github.com/gnustep/libobjc2) and
Cocotron/Chameleon.
For following source file
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
int main(void)
{
NSString *str = [NSString stringWithCString:"TEST"];
NSLog(@"test object %@", str);
...
2012 Nov 30
0
[LLVMdev] Error while using -fblocks with clang and mingw
Hello,
i try to compile a small test programm with clang and the command line
option -fblocks.
clang -m32 -march=i686 -D__COCOTRON__ -DWINDOWS -D_GNU_SOURCE
-D__LITTLE_ENDIAN__ -D_FORTIFY_SOURCE=1 -x objective-c -fobjc-exceptions
-fconstant-string-class=NSConstantString -O2 -Wno-unknown-pragmas
-fmessage-length=0 --std=c99 -pipe
-Ic:/devel/tools/mingw64/lib/gcc/x86_64-w64-mingw32/4.7.1/include
-I../Cocotron/headers -fblocks -c...
2008 May 09
3
[LLVMdev] llvm-gcc debug info on mingw32msvc?
...c has nothing.
Is this simply not implemented? I don't see anything in the code
generated by --emit-llvm, so this seems to be a problem in llvm-gcc,
right? Would it be feasible to add this?
Also, totally unrelated, should the current trunk build again? I'm
getting a lot of
/Developer/Cocotron/1.0/Source/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGISel.cpp:3229: error: ‘atomic_lss’ is not a member of
‘llvm::Intrinsic’
as of r50895.
Cheers,
Johannes Fortmann
2015 Apr 08
2
[LLVMdev] __sync_add_and_fetch in objc block for global variable on ARM
Hello community,
I faced with bug in multithread environment in objective C code which using dispatch_async and block,
__sync_add_and_fetch increments global variable. But in case of many..many threads> 5, after every
__sync_add_and_fetch got damaged
...
int32_t count = 0;
...
int
main(int argc, char *argv[])
{
for (i = 1; i < 32; ++i) {
...
char* name;