discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUStep on Darwin!


From: Phillip Tamulonis
Subject: Re: GNUStep on Darwin!
Date: Mon, 24 Nov 2003 10:15:33 -0500

Hi.

I got everything to build on Darwin a few weeks ago, using GNU's gcc, ffcall, and the GNUstep runtime. I believe the tests compiled and ran; however, gui apps like Gorm always dump core.

--pt

From: address@hidden
Reply-To: address@hidden
To: address@hidden
Subject: Discuss-gnustep Digest, Vol 12, Issue 29
Date: Mon, 24 Nov 2003 10:46:18 -0500
MIME-Version: 1.0
Received: from monty-python.gnu.org ([199.232.76.173]) by mc6-f15.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 24 Nov 2003 06:45:46 -0800 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)by monty-python.gnu.org with esmtp (Exim 4.24)id 1AOIuo-00011F-SNfor address@hidden; Mon, 24 Nov 2003 10:46:18 -0500
X-Message-Info: JGTYoYF78jH0ej7bxH/XFvf8xGMrOWUc
X-BeenThere: address@hidden
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Discussion list for the GNUstep programming environment<discuss-gnustep.gnu.org> List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/discuss-gnustep>,<mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/discuss-gnustep>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/discuss-gnustep>,<mailto:address@hidden>
Sender: address@hidden
Errors-To: address@hidden
Message-Id: <address@hidden>
Return-Path: address@hidden
X-OriginalArrivalTime: 24 Nov 2003 14:45:49.0297 (UTC) FILETIME=[A6B29E10:01C3B299]

Send Discuss-gnustep mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnu.org/mailman/listinfo/discuss-gnustep
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Discuss-gnustep digest..."


Today's Topics:

   1. Re: GNUStep on Darwin! (John Davidorff Pell)
   2. Re: GNUstep on Darwin! (John Davidorff Pell)
   3. Re: GNUstep on Darwin! (Andrew Pinski)
   4. String encoding question (Bj?rn Giesler)
   5. Re: String encoding question (Bj?rn Giesler)
   6. ANN: StepTalk 0.8.1 (Stefan Urbanek)
   7. Re: new gui bug (focus? gorm?) (Riccardo Mottola)
   8. Re: GNUstep on Darwin! (Nicola Pero)


----------------------------------------------------------------------

Message: 1
Date: Mon, 24 Nov 2003 00:02:53 -0800
From: John Davidorff Pell <address@hidden>
Subject: Re: GNUStep on Darwin!
To: address@hidden
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

> 1.  To state the obvious:
> At static link time ld has found these symbols in specified dylibs.  At
> run time the library in question is either missing from the default and
> explicit DYLD_LIBRARY_PATH or another library with the same name not
> containing the symbols is ahead of it in DYLD_LIBRARY_PATH.

Actually, the build line says -flat_namespace and -undefined warn. The
symbols were *not* found at static link time, I checked. :-( If it had,
then I would be a happy camper. :-)

Well, there are many warnings about those two symbols, actually, most
something like:
ld: warning shared_obj/NSUser.o has external relocation entries in
non-writable section (__TEXT,__text) for symbols:
rest_world
save_world

I'm assuming that these are not talking about defined symbols, but
external symbols (that should be defined somewhere else), though I
admin I don't actually understand what its telling me...

JP





--
God is dead, now the war shall never end.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2426 bytes
Desc: not available
Url : http://mail.gnu.org/pipermail/discuss-gnustep/attachments/20031124/1a40d7ca/smime.bin

------------------------------

Message: 2
Date: Mon, 24 Nov 2003 00:06:10 -0800
From: John Davidorff Pell <address@hidden>
Subject: Re: GNUstep on Darwin!
To: address@hidden
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

> I can't help but I am curious (can't help it either)
>
> Like which version of gcc are you using and on
> which Darwin version ... I did not get lucky
> at building gcc with gnu-objc
>
> gcc-3.2.2 stopped somewhere because of some constant macro expression
> and Apple's gcc-3.3 did not build libobjc even though I passed
> --enable-libojc and patched config/darwin.h
>

You will never get gcc to build its own libobjc on darwin, some MOTHER
FUCKER at Apple patched the FSF sources (in FSF cvs, not Apple CVS) so
that it would never build on darwin. If you look in the archives for
the gcc mailing list you might find it, i remember reading about it.

I am using Apple's gcc, Panther edition. (3.3)

JP

P.S. Pardon my french, I'm still a little peeved...




--
Every time you share on a P2P network, God kills a kitten.
Please think of the kittens.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2426 bytes
Desc: not available
Url : http://mail.gnu.org/pipermail/discuss-gnustep/attachments/20031124/a5e14c4a/smime.bin

------------------------------

Message: 3
Date: Mon, 24 Nov 2003 00:28:49 -0800
From: Andrew Pinski <address@hidden>
Subject: Re: GNUstep on Darwin!
To: John Davidorff Pell <address@hidden>
Cc: address@hidden, address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Nov 24, 2003, at 00:06, John Davidorff Pell wrote:

>> I can't help but I am curious (can't help it either)
>>
>> Like which version of gcc are you using and on
>> which Darwin version ... I did not get lucky
>> at building gcc with gnu-objc
>>
>> gcc-3.2.2 stopped somewhere because of some constant macro expression
>> and Apple's gcc-3.3 did not build libobjc even though I passed
>> --enable-libojc and patched config/darwin.h
>>
>
> You will never get gcc to build its own libobjc on darwin, some MOTHER
> FUCKER at Apple patched the FSF sources (in FSF cvs, not Apple CVS) so
> that it would never build on darwin. If you look in the archives for
> the gcc mailing list you might find it, i remember reading about it.
>
> I am using Apple's gcc, Panther edition. (3.3)
>
> JP
>
> P.S. Pardon my french, I'm still a little peeved...



You better be because that person is a global maintainer on GCC and
he thought he was doing right, I have asked to take over maintainer
of libobjc in GCC and everyone has been supported but no action has
come out of it.

The first thing, I will do is make sure that GNU's libobjc is able to
run on
Darwin and reable it as an option and able to say -fgnu-runtime and
also get
the GNU runtime.

Thanks,
Andrew Pinski




------------------------------

Message: 4
Date: Mon, 24 Nov 2003 10:21:46 +0100
From: Bj?rn Giesler <address@hidden>
Subject: String encoding question
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm trying to read vcard files (example attached) exported from Apple's Address Book application. I have to use [NSString initWithData:encoding:] on the file contents, because that's what Apple's interface specifies.

I've got no idea which encoding these things are in... they look like unicode, because there are two bytes for each character, but when I use NSUnicodeStringEncoding, the result is garbage (when dumped with NSLog()). When I use NSAsciiStringEncoding, NSLog() prints the contents just fine, but the resulting string keeps the extra bytes ([str length] returns 22 for "BEGIN:VCARD"), so I can't parse the file properly.

Any ideas? I'm thoroughly lost with this encoding stuff.

Thanks in advance,
Björn




------------------------------

Message: 5
Date: Mon, 24 Nov 2003 10:23:25 +0100
From: Bj?rn Giesler <address@hidden>
Subject: Re: String encoding question
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

Err. Here's the promised example vcard file.

<HeinzSchenk.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HeinzSchenk.vcf
Type: text/x-vcard
Size: 191 bytes
Desc: not available
Url : http://mail.gnu.org/pipermail/discuss-gnustep/attachments/20031124/6b023b49/HeinzSchenk.vcf

------------------------------

Message: 6
Date: Mon, 24 Nov 2003 11:22:33 +0100
From: Stefan Urbanek <address@hidden>
Subject: ANN: StepTalk 0.8.1
To: address@hidden, address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"; format="flowed"

Hi all,

Because of GNUstep core releases, I have decided to create a small StepTalk 0.8.1 release too.

Please note, that the StepTalk homepage has been changed to steptalk.agentfarms.net.

What is StepTalk?

GNUstep scripting framework. See http://steptalk.agentfarms.net

NEWS in 0.8.1

- Added STConversation object. Basically, it's a conversation with objects in an environment using a scripting language. The reason for creating this clas was to open a path for easier remote scripting where you can 'talk in a conversation' with a remote DO server or application. However, this remote part is just going to be implemented. See GNUstep Wiki pages for more information. - Added ReadlineTranscript (Idea by Alexander Diemand + patch from David Ayers) - Renamed, added and deprecated some STEnvironment methods. Methods were not removed, NSLog warnings were added.

Get it here: http://steptalk.agentfarms.net/download.html

THANKS

Thanks to Alexander Diemand for his testing and comments.

FUTURE

I hope to solve the speed issue. In this release there is nothing new that is related to the Smalltalk engine, however, work is being done (well, slowly).

Enjoy,

Stefan Urbanek
--
http://stefan.agentfarms.net

First they ignore you, then they laugh at you, then they fight you, then you win.
- Mahatma Gandhi





------------------------------

Message: 7
Date: Mon, 24 Nov 2003 12:16:04 +0100
From: Riccardo Mottola <address@hidden>
Subject: Re: new gui bug (focus? gorm?)
To: Gregory John Casamento <address@hidden>,      gnustep
        <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="US-ASCII"

on 11/24/03 3:10 AM, Gregory John Casamento at address@hidden
wrote:

> I have tried this on my box and I don't see the same issue, please see
> attached
> .png for proof.

I believe you. But here it is broken. To be scrupuolous I tested it on the
other PowerMac I have that runs MkLinux. On that computer, which I use
mostly as a testbed for new MkLinux packages and similar, I have gnustep
"release" built from the tarballs adam publishes and not from CVS. I also
built Gorm "release" that is found on the gnustep site: 0.3.1

I repeat the procedure and woah... the spings come!
But the joy was to come to an abrupt end: I stimulated clicking the springs
a bit and at one point everything freezes as usual. NO click, focus,
nothing. I kill from another console gorm but X11/wmaker remain confused,
mouse clicking doesn't work correctly and the keyboard typing does random
stuff! Restarting X11 solved that.

I repeat the scenario a second time. What it seems that clicking several
times on the springs inside the window works, as soon as aI click two times
or so on an external one: freeze.

On the "CVS" version of everything I get a freeze at the first attempt to
click (the spring doesn't even change state).

The two computers have the same os, dev tools and such isntalled (from the
same cd).

If I leave gorm running with everything freezed, the application continues
to increase its memory consumption.

This is a similar behavior that I found with the infamous button alignment
but, if you rememer. ANd I think it was never solved :-(
There must be something that runs in an allocation loop or so?

bye
    Ric




------------------------------

Message: 8
Date: Mon, 24 Nov 2003 14:49:07 +0000 (GMT)
From: Nicola Pero <address@hidden>
Subject: Re: GNUstep on Darwin!
To: Andrew Pinski <address@hidden>
Cc: address@hidden, address@hidden,     John Davidorff Pell
        <address@hidden>
Message-ID:
        <address@hidden>
Content-Type: TEXT/PLAIN; charset=US-ASCII


> The first thing, I will do is make sure that GNU's libobjc is able to run on > Darwin and reable it as an option and able to say -fgnu-runtime and also get
> the GNU runtime.

That would be cool. :-)




------------------------------

_______________________________________________
Discuss-gnustep mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/discuss-gnustep


End of Discuss-gnustep Digest, Vol 12, Issue 29
***********************************************

_________________________________________________________________
Set yourself up for fun at home! Get tips on home entertainment equipment, video game reviews, and more here. http://special.msn.com/home/homeent.armx





reply via email to

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