bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnustep-base-1.5.2 on darwin


From: Carl Eugen Hoyos
Subject: gnustep-base-1.5.2 on darwin
Date: Thu, 13 Mar 2003 21:35:03 +0100 (CET)

I installed gnustep-*-1.5.2 on a powerpc-darwin, and here are the changes
I had to make:

In target.make, I had to add
-read_only_relocs warning
to the shared_lib_link_cmd for gnu-compiler. I don't think two darwin
sections in target.make and HOW_TO are necessary, both darwin5 and
darwin6 should have identical instructions (to the user and the Computer ;-)
The recommended compiler should be gcc-3.2.2, because gcc-3.2.1 did not
build out of the box.
It should be mentioned in the HOW_TO that you need to
configure --with-library-combo=gnu-gnu-gnu
if you want the whole library on darwin.

I had to change a variable definition in NSInvocation.h to work with
GSFFICallInvocation.m, but I guess that's already changed in cvs.

I couldn't compile gnustep-guile, so no gnustep-tests on darwin!

In the Testing subdirectory, the following programs produce problems:
nsarray crashes immediately
nsbundle doesn't load the bundle

nsinvocation crashes with this output:
Starting
Calling proxy
Expect: 99, invoke: 99 forward: 99
Expect: 12345, invoke: 12345 forward: 12345
Expect: 123456, invoke: 123456 forward: 123456
Expect: 123456, invoke: 123456 forward: 123456
Expect: 123.456, invoke: 123.456 forward: 123.456
Expect: 123.456, invoke: 123.456 forward: 123.456
Expect: 130ee8, invoke: 130ee8 forward: 13aa68
Expect: 'string', invoke: 'string' forward: 'string'
Expect: {11,22}, invoke: {11,22} forward: {-65,-1073745668}
Expect: {99,large,99.99}, invoke: {99,large,99.99} forward:
{99,large,99.99}
Expect: 1, invoke: 1 forward: 1
Expect: 2, invoke: 2 forward: 2
Expect: 3, invoke: 3 forward: 3
Expect: 4, invoke: 4 forward: 4
Expect: 5.0, invoke: 5.0 forward: 5.0
Expect: 6.0, invoke: 6.0 forward: 6.0
Expect: 6.0, forward: 6.0
Expect: 1288b8, invoke: 1288b8 forward: 15fc28
Expect: 'Hello', invoke: 'Hello' forward: 'Hello'
zsh: 13233 segmentation fault  obj/nsinvocation

nsconnection_client crashes while nsconnection_server works perfectly and
receives/sends structs to ix86-linux and sparc-solaris2.7:
...
String:
  sending (My String 1) got (Ny String 1)
  sending ptr to (My String 3) got (Ny String 3)
Small Struct:
  sending ptr to c got 3b
Struct:
zsh: 13238 bus error  obj/nsconnection_client server

Thanks for everybodys work!
Carl Eugen Hoyos





reply via email to

[Prev in Thread] Current Thread [Next in Thread]