From amigappc-dev-owner@amiga.com.pl  Sat Aug  1 14:07:18 1998
Received: from ns.oneonline.it (root@ns.oneonline.it [194.184.178.34]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id NAA07815 for <amigappc-dev@amiga.com.pl>; Sat, 1 Aug 1998 13:51:48 +0200 (CEST)
Received: from a (p09.oneonline.it [194.184.178.49]) by ns.oneonline.it (8.6.11/8.6.9) with SMTP id NAA28246 for <amigappc-dev@amiga.com.pl>; Sat, 1 Aug 1998 13:47:56 +0200
Message-ID: <000201bdbd42$3ecdae40$31b2b8c2@a>
From: "Antonio Cervo" <acervo@oneonline.it>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: GCC
Date: Sat, 1 Aug 1998 11:20:29 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

Hi, anyone can tell me how to use gcc for make a ppc program in elf format?
Please?

Sorry for my english :-(

-------------------------------------------------------
Antonio Cervo - Ref. Amiga Group Italia sezione Salerno
pOS Developer - PLUTO AMIGA - EMAIL:acervo@oneonline.it
A1200 - 040/25 PPC603e/200     nick AntCer on #amigaita
-------------------------------------------------------


From amigappc-dev-owner@amiga.com.pl  Tue Aug 11 21:48:09 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id VAA02968 for <amigappc-dev@amiga.com.pl>; Tue, 11 Aug 1998 21:37:19 +0200 (CEST)
Received: from mail2.cityweb.de ([193.189.224.210]) by server.fiber.net.pl
          (Netscape Messaging Server 3.52)  with ESMTP id AAA3BFD
          for <amigappc-dev@amiga.com.pl>; Tue, 11 Aug 1998 21:34:59 +0200
Received: from dsd8-m99-204.pool.cww.de (dsd8-m99-204.pool.cww.de [195.71.99.204])
	by mail2.cityweb.de (8.9.1/8.9.1/powered by Telemedia) with SMTP id VAA18431
	for <amigappc-dev@amiga.com.pl>; Tue, 11 Aug 1998 21:27:04 +0200 (MET DST)
Date: 11 Aug 98 21:25:18 +0100
From: "Markus Adamski" <markus.adamski@cww.de>
Subject: Compiling pgp 2.6.3in...
To: "AmigaPPC-Dev Mailing List" <amigappc-dev@amiga.com.pl>
Message-ID: <458.527T935T12854171@cityweb.de>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

Has anybody tried to compile pgp 2.6.3 for PowerUP ?
There are a number of undefined symbols but it's not too hard to get rid =
of
them, I believe, except this:

Symbol =AB__sF=BB Reloc Type 0x00000006 not found

is what I get when I try to run it. This "__sF" is not part of the source=
 as
far as I can see.

Any ideas ?

--Markus


A4000T/060@50/604@150/OS3.1/2+96MB RAM/4.1GB HD/CV64-3D
Using THOR 2.5a

--

Love is the triumph of imagination over intelligence.


From amigappc-dev-owner@amiga.com.pl  Thu Aug 13 02:08:26 1998
Received: from topaz.auran.com ([203.29.190.2]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id CAA09144 for <amigappc-dev@amiga.com.pl>; Thu, 13 Aug 1998 02:01:13 +0200 (CEST)
Received: from CWARD by topaz.auran.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1458.49)
	id P77TNVR5; Thu, 13 Aug 1998 09:44:29 +1000
Message-ID: <35D22721.5E5433F1@auran.com>
Date: Thu, 13 Aug 1998 09:37:05 +1000
From: Colin Ward <cward@auran.com>
MIME-Version: 1.0
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: Compiling pgp 2.6.3in...
References: <458.527T935T12854171@cityweb.de>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

Markus Adamski wrote:
> 
> Has anybody tried to compile pgp 2.6.3 for PowerUP ?
> There are a number of undefined symbols but it's not too hard to get rid of
> them, I believe, except this:
> 
> Symbol Ğ__sFğ Reloc Type 0x00000006 not found
> 
> is what I get when I try to run it. This "__sF" is not part of the source as
> far as I can see.
> 
> Any ideas ?

  I can't help you specifically, but a step in the right direction might
be to think about what libraries you are linking with.  This could be
some symbol that is required for runtime libraries or something - I
experienced errors like this myself once.

  On a similar subject, I have always linked with the SAS/C runtime
libraries for the PPC, even when compiling with GCC.  What are the GCC
libraries that you should use, if you don't want to link with the SAS/C
ones?

/--------------------------------------------------------------\
[Hitman/Code HQ - 6502/68000/604e coder - Long live the Amiga! ]
[VZ-200/Vic-20/c64*6/+4/c128/c128D*2/Amiga CD32/500/2000/1200*2]
[3000UX/A4000/CV64-3D/060-50/604e-200/66 Meg. 6581 rulez!      ]
[After three days without coding, life becomes meaningless.    ]
\--------------------------------------------------------------/

From amigappc-dev-owner@amiga.com.pl  Thu Aug 13 11:08:02 1998
Received: from home.plukwa.pdi.net (qmailr@home.plukwa.pdi.net [195.116.162.6]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id LAA12084 for <amigappc-dev@amiga.com.pl>; Thu, 13 Aug 1998 11:05:59 +0200 (CEST)
Received: (qmail 32098 invoked by uid 1000); 13 Aug 1998 09:05:22 -0000
Message-ID: <19980813110521.C31614@plukwa.pdi.net>
Date: Thu, 13 Aug 1998 11:05:21 +0200
From: Robert Ramiega <robert-ppcdev@plukwa.pdi.net>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: Compiling pgp 2.6.3in...
References: <458.527T935T12854171@cityweb.de> <35D22721.5E5433F1@auran.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 8bit
In-Reply-To: <35D22721.5E5433F1@auran.com>; from Colin Ward on Thu, Aug 13, 1998 at 09:37:05AM +1000
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On Thu, Aug 13, 1998 at 09:37:05AM +1000, Colin Ward wrote:
> Markus Adamski wrote:
> > 
> > Has anybody tried to compile pgp 2.6.3 for PowerUP ?
> > There are a number of undefined symbols but it's not too hard to get rid of
> > them, I believe, except this:
> > 
> > Symbol Ğ__sFğ Reloc Type 0x00000006 not found
> > 
> > is what I get when I try to run it. This "__sF" is not part of the source as
> > far as I can see.
> > 
> > Any ideas ?
 I tried to compile it some months ago and i actually succeeded (i was using
SAS/C beta with HUNKOBJ) Actually it didn't show any improvement (although it
was rather quick and dirty way; i just wanted to test compiler)
> 
>   On a similar subject, I have always linked with the SAS/C runtime
> libraries for the PPC, even when compiling with GCC.  What are the GCC
> libraries that you should use, if you don't want to link with the SAS/C
> ones?
 libRILc springs to mind (it's on Rask Ingemann Lambertsen page; long and ugly
URL which i could never remeber and always end up looking for some posts of
Rask) and ixemul/libc made by ummm... this time i forgot the name this oone is
on http://heureka.home.pages.de

-- 
 Robert Ramiega     | robert@pdi.net  IRC: _Jedi_ | Don't underestimate 
 Plukwa Zone Owner  | http://plukwa.pdi.net/      | the power of Source

From amigappc-dev-owner@amiga.com.pl  Thu Aug 13 23:08:51 1998
Received: from mail1.cityweb.de (mail1.cityweb.de [193.189.224.217]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id WAA14372 for <amigappc-dev@amiga.com.pl>; Thu, 13 Aug 1998 22:51:23 +0200 (CEST)
Received: from essn-m104-161.pool.cww.de (essn-m104-161.pool.cww.de [195.71.104.161])
	by mail1.cityweb.de (8.9.1/8.9.1/powered by Telemedia) with SMTP id WAA19799
	for <amigappc-dev@amiga.com.pl>; Thu, 13 Aug 1998 22:45:52 +0200 (MET DST)
Date: 13 Aug 98 22:40:43 +0100
From: "Markus Adamski" <markus.adamski@cww.de>
Subject: Re: Compiling pgp 2.6.3in...
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <19980813110521.C31614@plukwa.pdi.net>
Message-ID: <733.529T2173T13605485@cityweb.de>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On 13-Aug-98  10:05:21 Robert Ramiega wrote about "Re: Compiling pgp
2.6.3in...":
> I tried to compile it some months ago and i actually succeeded (i was using
>SAS/C beta with HUNKOBJ) Actually it didn't show any improvement (although it
>was rather quick and dirty way; i just wanted to test compiler)
You mean generating a 8192 bit key did take hours to finish, too ?
(Well, I quit after 3 hours, so don't know how long it really takes.)
BTW, compiling with ixemul.library support on the 68K appears to be just fine.
A couple of minor changes to the source were necessary though.

--Markus


A4000T/060@50/604@150/OS3.1/2+96MB RAM/4.1GB HD/CV64-3D
Using THOR 2.5a

--

Today is the last day of your life so far.


From amigappc-dev-owner@amiga.com.pl  Thu Aug 13 23:08:55 1998
Received: from mail1.cityweb.de (mail1.cityweb.de [193.189.224.217]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id WAA14373 for <amigappc-dev@amiga.com.pl>; Thu, 13 Aug 1998 22:51:24 +0200 (CEST)
Received: from essn-m104-161.pool.cww.de (essn-m104-161.pool.cww.de [195.71.104.161])
	by mail1.cityweb.de (8.9.1/8.9.1/powered by Telemedia) with SMTP id WAA19792
	for <amigappc-dev@amiga.com.pl>; Thu, 13 Aug 1998 22:45:50 +0200 (MET DST)
Date: 13 Aug 98 22:36:57 +0100
From: "Markus Adamski" <markus.adamski@cww.de>
Subject: Re: Compiling pgp 2.6.3in...
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <35D22721.5E5433F1@auran.com>
Message-ID: <978.529T2889T13566157@cityweb.de>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On 13-Aug-98  00:37:05 Colin Ward wrote about "Re: Compiling pgp 2.6.3in...":

>  I can't help you specifically, but a step in the right direction might
>be to think about what libraries you are linking with.  This could be
That symbol already appears in the generated asm files before any linking
takes place. That is the point I don't quiet understand. 
>some symbol that is required for runtime libraries or something - I
Sure, but from what could a symbol __sF be derived ?
>experienced errors like this myself once.

>  On a similar subject, I have always linked with the SAS/C runtime
>libraries for the PPC, even when compiling with GCC.  What are the GCC
>libraries that you should use, if you don't want to link with the SAS/C
>ones?
libRILc =.26 from Rask ... (sorry, can't memorize the name).



--Markus


A4000T/060@50/604@150/OS3.1/2+96MB RAM/4.1GB HD/CV64-3D
Using THOR 2.5a

--

The impossible is only something that hasn't happend to you yet.


From amigappc-dev-owner@amiga.com.pl  Fri Aug 14 00:48:05 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id AAA14717 for <amigappc-dev@amiga.com.pl>; Fri, 14 Aug 1998 00:41:59 +0200 (CEST)
Received: from biff.stud.ntnu.no ([129.241.56.18]) by server.fiber.net.pl
          (Netscape Messaging Server 3.52)  with ESMTP id AAA7082
          for <amigappc-dev@amiga.com.pl>; Fri, 14 Aug 1998 00:39:23 +0200
Received: from triumph.no (s9133a.steinan.ntnu.no [129.241.29.83])
	by biff.stud.ntnu.no (8.8.8/8.8.8) with SMTP id AAA25639
	for <amigappc-dev@amiga.com.pl>; Fri, 14 Aug 1998 00:31:24 +0200 (MET DST)
From: Mats Eirik Hansen <mats.hansen@triumph.no>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Fri, 14 Aug 1998 00:25:52 +0100
Message-ID: <yam7530.2618.139555592@mail.stud.ntnu.no>
In-Reply-To: <978.529T2889T13566157@cityweb.de>
Subject: Re: Compiling pgp 2.6.3in...
MIME-Version: 1.0
Content-Type: text/plain
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On 13-Aug-98, Markus Adamski wrote:
> On 13-Aug-98  00:37:05 Colin Ward wrote about "Re: Compiling pgp
2.6.3in...":
> 
>>  I can't help you specifically, but a step in the right direction might
>> be to think about what libraries you are linking with.  This could be
> That symbol already appears in the generated asm files before any linking
> takes place. That is the point I don't quiet understand. 
>> some symbol that is required for runtime libraries or something - I
> Sure, but from what could a symbol __sF be derived ?
>> experienced errors like this myself once.

__sF[0] is stdin, __sF[1] is stdout and __sF[2] is stderr.

Look in __stdio.c in the libnix source.
-- 
Mats Eirik Hansen
mats.hansen@triumph.no
http://www.stud.ntnu.no/~matsha


From amigappc-dev-owner@amiga.com.pl  Fri Aug 14 11:28:25 1998
Received: from home.plukwa.pdi.net (qmailr@home.plukwa.pdi.net [195.116.162.6]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id LAA17843 for <amigappc-dev@amiga.com.pl>; Fri, 14 Aug 1998 11:27:20 +0200 (CEST)
Received: (qmail 12340 invoked by uid 1000); 14 Aug 1998 09:26:39 -0000
Message-ID: <19980814112638.D11586@plukwa.pdi.net>
Date: Fri, 14 Aug 1998 11:26:38 +0200
From: Robert Ramiega <robert-ppcdev@plukwa.pdi.net>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: Compiling pgp 2.6.3in...
References: <19980813110521.C31614@plukwa.pdi.net> <733.529T2173T13605485@cityweb.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <733.529T2173T13605485@cityweb.de>; from Markus Adamski on Thu, Aug 13, 1998 at 10:40:43PM +0100
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On Thu, Aug 13, 1998 at 10:40:43PM +0100, Markus Adamski wrote:
> On 13-Aug-98  10:05:21 Robert Ramiega wrote about "Re: Compiling pgp
> 2.6.3in...":
> > I tried to compile it some months ago and i actually succeeded (i was using
> >SAS/C beta with HUNKOBJ) Actually it didn't show any improvement (although it
> >was rather quick and dirty way; i just wanted to test compiler)
> You mean generating a 8192 bit key did take hours to finish, too ?
 Ermm.. I didn't thought about such a test (i have 1024 PGP key made looong
time ago with PGP2.6.2). I checked times of encrypting/decrypting some big
files and it appeared to be almost identical. hmm... i;ll try to dig out that
exec from some backup and will try test this.
> (Well, I quit after 3 hours, so don't know how long it really takes.)
 Gosh! You have the patience! =o)
> BTW, compiling with ixemul.library support on the 68K appears to be just fine.
> A couple of minor changes to the source were necessary though.
 I for sure disabled asm optimisations and tweaked in some amiga specific
parts (don't remeber thou where)
 Recently i don't have any spare time for any developement so i'm not that
great help (i already have zilions of started projects which probably will
never see and end; most of them are unix ports)

-- 
 Robert Ramiega     | robert@pdi.net  IRC: _Jedi_ | Don't underestimate 
 Plukwa Zone Owner  | http://plukwa.pdi.net/      | the power of Source

From amigappc-dev-owner@amiga.com.pl  Fri Aug 14 21:48:34 1998
Received: from mb05.swip.net (mb05.swip.net [193.12.122.209]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id VAA19564 for <amigappc-dev@amiga.com.pl>; Fri, 14 Aug 1998 21:38:16 +0200 (CEST)
Received: from hehe.com (dialup176-1-54.swipnet.se [130.244.176.54]) 
          by mb05.swip.net (8.8.8/8.8.8) with SMTP 
          id VAA15492 for <amigappc-dev@amiga.com.pl>; 
          Fri, 14 Aug 1998 21:31:58 +0200 (MET DST)
From: Linus McCabe <sparkle@hehe.com>
To: amigappc-dev@amiga.com.pl
Date: Fri, 14 Aug 1998 09:06:39 +0200
Message-ID: <yam7530.1954.145991384@smtpserver.swip.net>
Subject: ppc filessize
MIME-Version: 1.0
Content-Type: text/plain
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 


A piece of code a compile for the 68k turns out to be ~70k, while the same
code compiled for PPC turns out as ~170k. Is it normal that PPC files becomes
this much bigger?

/Linus

-- 
Linus McCabe * Sparkle@hehe.com              
             * Sparkle, #Snoopy, DalNet
             * http://come.to/Sparkle    

You'd be pretty cute if your face wasnt fucking it up...



From amigappc-dev-owner@amiga.com.pl  Sat Aug 15 00:48:41 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id AAA20130 for <amigappc-dev@amiga.com.pl>; Sat, 15 Aug 1998 00:40:32 +0200 (CEST)
Received: from mail3.cityweb.de ([193.189.224.211]) by server.fiber.net.pl
          (Netscape Messaging Server 3.52)  with ESMTP id AAA1539
          for <amigappc-dev@amiga.com.pl>; Sat, 15 Aug 1998 00:37:47 +0200
Received: from dsd8-m100-92.pool.cww.de (dsd8-m100-92.pool.cww.de [195.71.100.92])
	by mail3.cityweb.de (8.9.1/8.9.1/powered by Telemedia) with SMTP id AAA28215
	for <amigappc-dev@amiga.com.pl>; Sat, 15 Aug 1998 00:29:49 +0200 (MET DST)
Date: 14 Aug 98 22:38:29 +0100
From: "Markus Adamski" <markus.adamski@cww.de>
Subject: Re: Compiling pgp 2.6.3in...
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <19980814112638.D11586@plukwa.pdi.net>
Message-ID: <858.530T1498T13584286@cityweb.de>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On 14-Aug-98  10:26:38 Robert Ramiega wrote about "Re: Compiling pgp
2.6.3in...":
>> You mean generating a 8192 bit key did take hours to finish, too ?
> Ermm.. I didn't thought about such a test (i have 1024 PGP key made looong
>time ago with PGP2.6.2). I checked times of encrypting/decrypting some big
>files and it appeared to be almost identical. hmm... i;ll try to dig out that
>exec from some backup and will try test this.
Yeah, file i/o is still on the 68k. Mhhh...implies adding some 'intelligent'
buffering.
>> (Well, I quit after 3 hours, so don't know how long it really takes.)
> Gosh! You have the patience! =o)
Not really. Checking out news/email sometimes take that long.


--Markus


A4000T/060@50/604@150/OS3.1/2+96MB RAM/4.1GB HD/CV64-3D
Using THOR 2.5a

--

Who is General Failure, and why is he reading my hard drive?


From amigappc-dev-owner@amiga.com.pl  Sat Aug 15 03:28:06 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id DAA22552 for <amigappc-dev@amiga.com.pl>; Sat, 15 Aug 1998 03:21:08 +0200 (CEST)
Received: from mailhub2.ncal.verio.com ([204.247.247.54])
          by server.fiber.net.pl (Netscape Messaging Server 3.52)
           with ESMTP id AAA17DB for <amigappc-dev@amiga.com.pl>;
          Sat, 15 Aug 1998 03:18:22 +0200
Received: from paix-alg-gw1-36.ncal.verio.com (fw@paix-alg-gw1-36.ncal.verio.com [207.21.130.227])
	by mailhub2.ncal.verio.com (8.8.7/8.8.7) with SMTP id SAA08977
	for <amigappc-dev@amiga.com.pl>; Fri, 14 Aug 1998 18:10:27 -0700 (PDT)
Date: Fri, 14 Aug 1998 18:10:49 -0700 (PDT)
From: Fred Wright <fw@well.com>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: ppc filessize
In-Reply-To: <yam7530.1954.145991384@smtpserver.swip.net>
Message-ID: <Pine.AMI.3.96.980814180849.142271672J-100000@paix-alg-gw1-53.ncal.verio.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 


On Fri, 14 Aug 1998, Linus McCabe wrote:

> A piece of code a compile for the 68k turns out to be ~70k, while the same
> code compiled for PPC turns out as ~170k. Is it normal that PPC files becomes
> this much bigger?

The usual rule of thumb on the Mac is that PPC binaries are about twice
the size of 68K binaries, so this is in the ballpark.  It also means that
keeping 68K support in a PPC program makes it at most ~50% bigger. :-) 

					Fred Wright



From amigappc-dev-owner@amiga.com.pl  Sat Aug 15 13:28:23 1998
Received: from eising.k-net.dk (eising.k-net.dtu.dk [130.225.71.227]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id NAA23419 for <amigappc-dev@amiga.com.pl>; Sat, 15 Aug 1998 13:17:11 +0200 (CEST)
Received: (qmail 9355 invoked from network); 15 Aug 1998 11:11:59 -0000
Received: from carlsberg.kampsax.dtu.dk (qmailr@192.38.212.2)
  by eising.k-net.dk with SMTP; 15 Aug 1998 11:11:59 -0000
Received: (qmail 7776 invoked from network); 15 Aug 1998 11:11:30 -0000
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by carlsberg.kampsax.dtu.dk with SMTP; 15 Aug 1998 11:11:30 -0000
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 15 Aug 1998 11:10:28 -0000
Date: 15 Aug 98 13:10:17 +0200
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Help needed to optimise load/store operations
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
Message-ID: <1198.531T867T7903987@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

   Hi.

   I have some computationally intensive code that, due to lack of registers,
needs load and store some data (32-bit integers) from/to memory. The code
keeps both single cycle integer units busy all the time, and now I need to
insert lwz/stw instructions, with as little impact on execution speed as
possible. I am programming in assembler and trying to optimise for a 604e.

   Each lwz seems to cost half a cycle, and if I'm reading the 604 manual
right, this is because there are only two integer write back ports.

   Each stw seems to cost anywhere from half a cycle to one cycle. If I'm
reading the 604 manual right, stw should be free. I'm basicly clueless about
this one.

   All the accessed memory is in level 1 cache.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.k-net.dk  |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 775 kkeys/s (RC5-64)    | "ThrustMe" on XPilot, ARCnet and IRC  |
| Never underestimate the bandwidth of a CD-ROM flying through the lab.  |


From amigappc-dev-owner@amiga.com.pl  Sat Aug 15 22:48:30 1998
Received: from ikp.ikp.pl (ikp.ikp.pl [157.25.5.3]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id WAA24812 for <amigappc-dev@amiga.com.pl>; Sat, 15 Aug 1998 22:34:23 +0200 (CEST)
Received: from union.org.pl (ppp-cst19.warszawa.tpnet.pl [194.204.131.19])
	by ikp.ikp.pl (8.8.6/8.8.6) with SMTP id WAA10641
	for <amigappc-dev@amiga.com.pl>; Sat, 15 Aug 1998 22:35:54 +0200 (CEST)
From: Artur Muszynski <amst@union.org.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Sat, 15 Aug 1998 19:59:22 +0100
Message-ID: <yam7531.1123.139978672@mail.atm.com.pl>
In-Reply-To: <1198.531T867T7903987@kampsax.k-net.dk>
Subject: Re: Help needed to optimise load/store operations
MIME-Version: 1.0
Content-Type: text/plain
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

>    Each lwz seems to cost half a cycle, and if I'm reading the 604 manual
> right, this is because there are only two integer write back ports.
>    Each stw seems to cost anywhere from half a cycle to one cycle. If I'm
> reading the 604 manual right, stw should be free. I'm basicly clueless
about
> this one.

Load/store operations have 2 clocks latency and LSU is has 2 stages. It
means that it reads/writes to memory every cycle. Practicaly it's not
possible due to slow memory if your data is not in cache. You can hide loads
and stores if you mix them with arithmetic operations. Good idea is to use
PPC timer and test how long code run with lwz/stw, then comment those and
run code again. And try to understand PPC pipeline better :-)

Regards

-- 

   // Artur Muszynski (AMST/UNION) A4000/040/EGS
 \//  e-mail: amst@union.org.pl


From amigappc-dev-owner@amiga.com.pl  Fri Aug 21 01:48:51 1998
Received: from promix.shiny.it (promix.shiny.it [194.20.245.130]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id BAA28379 for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 01:44:44 +0200 (CEST)
Received: from iol-mail (asy14.recco.shiny.it [194.20.245.23] (may be forged))
	by promix.shiny.it (8.8.7/8.8.7) with SMTP id BAA05991
	for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 01:37:47 +0200
Received: by iol-mail.iol.it (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Fri, 21 Aug 98 01:32:50 
From: ggreco@iol.it (Gabriele Greco)
Message-ID: <D27B998B@iol.it>
Subject: _CXC55 with SCPPC
Date: 20 Aug 98 12:07:09 CET
To: amigappc-dev@amiga.com.pl
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

I get the following error linking a SAS/C hunkobj project, how can I get rid of
this problem?

Undefined symbols        First Referenced
__CXC55                  File 'trans/TRANS-FX.o', Module 'TRANS-FX.c'

The program works correctly if I use SAS/C 68k.

I think the problem is some math conversion function (float->double or
float->integer) not implemented in scppc.lib, it's this possible?

Ciao,
 Gabry (gabry@promix.it)



From amigappc-dev-owner@amiga.com.pl  Fri Aug 21 13:28:58 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id NAA02016 for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 13:19:57 +0200 (CEST)
Received: from mb06.swip.net ([193.12.122.210]) by server.fiber.net.pl
          (Netscape Messaging Server 3.52)  with ESMTP id AAA2D1C
          for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 13:16:15 +0200
Received: from get2net.dk (p207-34.ppp.get2net.dk [195.82.223.34]) 
          by mb06.swip.net (8.8.8/8.8.8) with SMTP 
          id NAA06506 for <amigappc-dev@amiga.com.pl>; 
          Fri, 21 Aug 1998 13:06:01 +0200 (MET DST)
From: Thomas Jensen <thomas.kirsten@get2net.dk>
To: amigappc-dev@amiga.com.pl
Date: Wed, 19 Aug 1998 22:20:56 +0100
Message-ID: <yam7535.2825.140684368@bohr.get2net.dk>
Subject: C++ programming on PPC (GCC)
MIME-Version: 1.0
Content-Type: text/plain
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

Hi

Recently I have quite often found myself wishing I could program C++ for the
PPC (PowerUP).
For the last couple of months I have replaced GCC with VBCC for most of my
development because i grew tired of not beeing able to use std. IO funcs.,
etc. when using GCC.

Because of my growing urge for using C++ I have been experimenting with the
GCC C++ compiler that came on the PowerUP CD (ppc-amigaos-c++).

The problem is that, not even can I not use the IO funcs. of C++, when i try
to use the IO functions of PowerUP, a "__Fv" is added to all the symbols, ie.
PPCOpen becomes PPCOpen__Fv. Is there a way around this?

Does anyone know if there's an alternative C++ compiler for PowerUP?


Regards

Thomas
thomas.kirsten@get2net.dk


From amigappc-dev-owner@amiga.com.pl  Fri Aug 21 16:48:50 1998
Received: from pasanda.cygnus.co.uk (dns.cygnus.co.uk [194.130.39.3]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id QAA02923 for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 16:40:11 +0200 (CEST)
Received: (qmail 324 invoked by alias); 21 Aug 1998 14:33:29 -0000
Received: (qmail 320 invoked from network); 21 Aug 1998 14:33:28 -0000
Received: from lassi.cygnus.co.uk (jskov@194.130.39.9)
  by dns.cygnus.co.uk with SMTP; 21 Aug 1998 14:33:28 -0000
Received: by lassi.cygnus.co.uk (UUNET PIPEX simple 1.30)
	id PAA04269; Fri, 21 Aug 1998 15:33:28 +0100
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: C++ programming on PPC (GCC)
References: <yam7535.2825.140684368@bohr.get2net.dk>
From: Jesper Skov <jskov@cygnus.co.uk>
Date: 21 Aug 1998 15:33:28 +0100
In-Reply-To: Thomas Jensen's message of Wed, 19 Aug 1998 22:20:56 +0100
Message-ID: <oozpcye75e.fsf@lassi.cygnus.co.uk>
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

Thomas Jensen <thomas.kirsten@get2net.dk> writes:

> The problem is that, not even can I not use the IO funcs. of C++, when i try
> to use the IO functions of PowerUP, a "__Fv" is added to all the symbols, ie.
> PPCOpen becomes PPCOpen__Fv. Is there a way around this?

What do you mean by the use of IO functions? STL is working fine with
g++, so maybe the problem is that Phase5 haven't included libg++ or
something like that. It could also be a porting problem; some stuff
not being properly supported by ixemul.


The second problem is simple; you just need to export the c++
functions for C.


Jesper


From amigappc-dev-owner@amiga.com.pl  Fri Aug 21 18:08:51 1998
Received: from samantha.lysator.liu.se (root@samantha.lysator.liu.se [130.236.254.202]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id RAA03155 for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 17:49:03 +0200 (CEST)
Received: from sara.lysator.liu.se (johane@sara.lysator.liu.se [130.236.254.204])
	by samantha.lysator.liu.se (8.8.7/8.8.7) with ESMTP id RAA05150
	for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 17:42:07 +0200 (MET DST)
Received: from localhost (johane@localhost)
	by sara.lysator.liu.se (8.8.8/8.8.7) with SMTP id RAA18005
	for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 17:41:58 +0200 (MET DST)
Date: Fri, 21 Aug 1998 17:41:57 +0200 (MET DST)
From: Johan Eriksson <johane@lysator.liu.se>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: C++ programming on PPC (GCC)
In-Reply-To: <yam7535.2825.140684368@bohr.get2net.dk>
Message-ID: <Pine.GSO.4.02.9808211739330.17982-100000@sara.lysator.liu.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On Wed, 19 Aug 1998, Thomas Jensen wrote:

> Hi
> 
> Recently I have quite often found myself wishing I could program C++ for the
> PPC (PowerUP).
> For the last couple of months I have replaced GCC with VBCC for most of my
> development because i grew tired of not beeing able to use std. IO funcs.,
> etc. when using GCC.

You want standard ANSI C functions for the PPC? Take a look at libRILc by
Rask Ingemann Lambertsen. DISCLAIMER: Spelling might be wrong.

/Johan Eriksson, johane@lysator.liu.se


From amigappc-dev-owner@amiga.com.pl  Fri Aug 21 21:28:39 1998
Received: from mail1.cityweb.de (mail1.cityweb.de [193.189.224.217]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id VAA03737 for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 21:13:04 +0200 (CEST)
Received: from dsd8-m100-71.pool.cww.de (dsd8-m100-71.pool.cww.de [195.71.100.71])
	by mail1.cityweb.de (8.9.1/8.9.1/powered by Telemedia) with SMTP id VAA21562
	for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 21:06:22 +0200 (MET DST)
Date: 21 Aug 98 20:14:37 +0100
From: "Markus Adamski" <markus.adamski@cww.de>
Subject: Exec semaphores on ppc ?
To: "AmigaPPC-Dev Mailing List" <amigappc-dev@amiga.com.pl>
Message-ID: <505.537T1864T12145288@cityweb.de>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

I do this in a ppc task:

if (SigSem = GetMemPooled(sizeof(*SigSem)))
{
    SigSem->ss_Link.ln_Pri  = -127;
    SigSem->ss_Link.ln_Name = "test";
    PPCCacheFlushAll();
    AddSemaphore(SigSem);
    PPCCacheFlushAll();
}

The semaphore shows up in the exec list of public semaphores as it should,
but it has *no name* (displayed by SCOUT).
What's the problem ?


--Markus


A4000T/060@50/604@150/OS3.1/2+96MB RAM/4.1GB HD/CV64-3D
Using THOR 2.5a

--
Love is the triumph of imagination over intelligence.


From amigappc-dev-owner@amiga.com.pl  Fri Aug 21 23:49:08 1998
Received: from mail1.cityweb.de (mail1.cityweb.de [193.189.224.217]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id XAA04200 for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 23:31:29 +0200 (CEST)
Received: from dsd8-m100-91.pool.cww.de (dsd8-m100-91.pool.cww.de [195.71.100.91])
	by mail1.cityweb.de (8.9.1/8.9.1/powered by Telemedia) with SMTP id XAA20767
	for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 23:24:50 +0200 (MET DST)
Date: 21 Aug 98 23:22:01 +0100
From: "Markus Adamski" <markus.adamski@cww.de>
Subject: Re: Exec semaphores on ppc ?
To: "Markus Adamski" <amigappc-dev@amiga.com.pl>
In-Reply-To: <505.537T1864T12145288@cityweb.de>
Message-ID: <293.537T96T14022672@cityweb.de>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

On 21-Aug-98  20:14:37 Markus Adamski wrote about "Exec semaphores on ppc ?":
>I do this in a ppc task:

Forget it, found the problem :)


--Markus


A4000T/060@50/604@150/OS3.1/2+96MB RAM/4.1GB HD/CV64-3D
Using THOR 2.5a

--

Committee (noun): A life form with six or more legs and no brain.


From amigappc-dev-owner@amiga.com.pl  Sat Aug 22 00:08:55 1998
Received: from mailhub2.ncal.verio.com (mailhub2.ncal.verio.com [204.247.247.54]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id AAA04326 for <amigappc-dev@amiga.com.pl>; Sat, 22 Aug 1998 00:05:06 +0200 (CEST)
Received: from paix-alg-gw1-58.ncal.verio.com (fw@paix-alg-gw1-58.ncal.verio.com [207.21.130.249])
	by mailhub2.ncal.verio.com (8.8.7/8.8.7) with SMTP id OAA07217
	for <amigappc-dev@amiga.com.pl>; Fri, 21 Aug 1998 14:58:21 -0700 (PDT)
Date: Fri, 21 Aug 1998 14:58:40 -0700 (PDT)
From: Fred Wright <fw@well.com>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: C++ programming on PPC (GCC)
In-Reply-To: <yam7535.2825.140684368@bohr.get2net.dk>
Message-ID: <Pine.AMI.3.96.980821145637.145183096I-100000@paix-alg-gw1-58.ncal.verio.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 


On Wed, 19 Aug 1998, Thomas Jensen wrote:

> Does anyone know if there's an alternative C++ compiler for PowerUP?

The SAS/C PPC update also has C++, although it seems to be based on a
different base than the 68K version.  I haven't actually used it, but from
the docs it looked like it was a work in progress that's no longer in
progress.  You might give it a look, though.

					Fred Wright



From amigappc-dev-owner@amiga.com.pl  Sat Aug 22 02:28:44 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id CAA06608 for <amigappc-dev@amiga.com.pl>; Sat, 22 Aug 1998 02:16:27 +0200 (CEST)
Received: from raleigh7-057.dyn.interpath.net ([207.59.134.57])
          by server.fiber.net.pl (Netscape Messaging Server 3.52)
           with SMTP id AAA3E5A for <amigappc-dev@amiga.com.pl>;
          Sat, 22 Aug 1998 02:12:47 +0200
Received: by raleigh7-057.dyn.interpath.net (Interworks_SMTPpost 8.102 February 12, 1997)
        id AA01; Fri, 21 Aug 1998 20:04:21 
Received: by raleigh7-057.dyn.interpath.net (Interworks_SMTPpost 8.102 February 12, 1997)
        id AA01; Fri, 21 Aug 1998 20:04:08 
From: Jim Cooper <jamie@interpath.com>
MIME-Version: 1.0
In-Reply-To: <D27B998B@iol.it>
Subject: Re: _CXC55 with SCPPC
Date: Fri, 21 Aug 1998 20:04:08 (+0500)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
To: amigappc-dev@amiga.com.pl
Message-ID: <19980821.8376CC8.11BE0@raleigh7-057.dyn.interpath.net>
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

In "_CXC55 with SCPPC", ggreco@iol.it (Gabriele Greco) wrote:
> I get the following error linking a SAS/C hunkobj project, how can I get rid of
> this problem?
> 
> Undefined symbols        First Referenced
> __CXC55                  File 'trans/TRANS-FX.o', Module 'TRANS-FX.c'
> 
> The program works correctly if I use SAS/C 68k.
> 
> I think the problem is some math conversion function (float->double or
> float->integer) not implemented in scppc.lib, it's this possible?

CXC55 is the CX routine for the 68k compiler (when not using the FPU) 
that compares two doubles. It is not needed for the PPC, since that 
compare is a single PPC instruction.

I would guess that TRANS-FX.o is a 68k object, not a PPC object.



From amigappc-dev-owner@amiga.com.pl  Sat Aug 22 14:49:08 1998
Received: from mail-r2.shlink.de (mail-r2.shlink.de [194.64.6.19]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id OAA07814 for <amigappc-dev@amiga.com.pl>; Sat, 22 Aug 1998 14:43:38 +0200 (CEST)
Received: from mail-r1.shlink.de (194.64.6.3) by mail-r2.shlink.de with esmtp
	  id m0zACvV-0000XvC; Sat, 22 Aug 1998 14:37:49 +0200 (MEST)
To: amigappc-dev@amiga.com.pl
Message-ID: <13aMDMD5131aUz1@ark.news.wwbnet.de>
From: ARK@News.wwbnet.de (Andreas R. Kleinert)
Subject: More emulators
Date: Fri, 21 Aug 1998 02:00:00 +0200
Received: by News.wwbnet.de ; Fri, 21 Aug 1998 16:45:20 +0100
Received: by apg.wwbnet.de ; Fri, 21 Aug 1998 19:12:12 +0100
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 


 Anyone likes to port the STonx and Stella emulators to Amiga
 and PPC ?


 StonX is an Atari ST emulator for several platforms, including
 Linux and is quite portable. May be interesting because
 of the included 68k emulation...
 [ ftp.tu-clausthal.de/pub/atari/emulator/STonX/  ]

 Stella is a VCS-2600 emulator, very portable as well,
 and may be interesting for fun reasons...
 [ http://www.classicgaming.com/stella  ]

 Then, there's the very versatile VICE emulator
 (for the VIC's C16, C64, C128 and so on ;)
 [ http://www.tu-chemnitz.de/~fachat/vice/vice.html  ]


 I'd really like to at least do a port of STonX, but I don't
 have the time to rewrite that SVGA and audio stuff (from
 the Linux version) for Amiga/PPC. The project may become
 as time-consuming as e.g. UAE or MAME.

--
Andreas_Kleinert@t-online.de  or via @gmx.de | ARK@News.wwbnet.de
Or try good, old: FidoNet 2:2457/350.18 --- *SuperView* development
PerSuaSiVe SoftWorX - Software Engineering Amiga/Wintel and more
Visit http://wdo.de/ark/ for information, free downloads, registration

-- MicroDot 1.17beta3 registered


From amigappc-dev-owner@amiga.com.pl  Sun Aug 23 03:48:49 1998
Received: from mail-r2.shlink.de (mail-r2.shlink.de [194.64.6.19]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id DAA12263 for <amigappc-dev@amiga.com.pl>; Sun, 23 Aug 1998 03:40:08 +0200 (CEST)
Received: from mail-r1.shlink.de (194.64.6.3) by mail-r2.shlink.de with esmtp
	  id m0zAP2t-0000YNC; Sun, 23 Aug 1998 03:34:15 +0200 (MEST)
To: amigappc-dev@amiga.com.pl
Message-ID: <13zZ8MD5131aez3@ark.news.wwbnet.de>
From: ARK@News.wwbnet.de (Andreas R. Kleinert)
Subject: Re: Exec semaphores on ppc ?
Date: Sat, 22 Aug 1998 02:00:00 +0200
References: <505.537T1864T12145288@cityweb.de>
Received: by News.wwbnet.de ; Sat, 22 Aug 1998 21:28:11 +0100
Received: by apg.wwbnet.de ; Sat, 22 Aug 1998 22:37:00 +0100
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

You wrote at 21.08.1998/22:14:37:

> I do this in a ppc task:
>
> if (SigSem = GetMemPooled(sizeof(*SigSem)))
> {
>     SigSem->ss_Link.ln_Pri  = -127;
>     SigSem->ss_Link.ln_Name = "test";
>     PPCCacheFlushAll();
>     AddSemaphore(SigSem);
>     PPCCacheFlushAll();
> }
>
> The semaphore shows up in the exec list of public semaphores as it should,
> but it has *no name* (displayed by SCOUT).
> What's the problem ?

 Suggestions:

  - don't use PPCCacheFlushAll() but PPCCacheFlush(address, size)
  - apply it separately to SigSem and SigSem->ss_Link.ln_Name
  - no need to apply it twice, since when AddSemaphore() returns,
    the data *still* is out of the PPC cache (however, it *still*
    may be in the 68k cache, so you'd have to call the appropriate
    Exec cacheflushing function before accessing it again - but
    as long as there's no private data in it, you probably don't
    want that)

 BTW, SAS/C must have 68k alignment turned on for accessing OS structures.

--
Andreas_Kleinert@t-online.de  or via @gmx.de | ARK@News.wwbnet.de
Or try good, old: FidoNet 2:2457/350.18 --- *SuperView* development
PerSuaSiVe SoftWorX - Software Engineering Amiga/Wintel and more
Visit http://wdo.de/ark/ for information, free downloads, registration

-- MicroDot 1.17beta3 registered


From amigappc-dev-owner@amiga.com.pl  Wed Aug 26 07:20:02 1998
Received: from smtp1.mailsrvcs.net (smtp1.gte.net [207.115.153.30]) by amiga.com.pl (8.8.8/8.7.3) with ESMTP id HAA11813 for <amigappc-dev@amiga.com.pl>; Wed, 26 Aug 1998 07:05:31 +0200 (CEST)
From: kvbark@gte.net
Received: from 1Cust219.tnt5.long-beach.ca.da.uu.net (1Cust219.tnt5.long-beach.ca.da.uu.net [208.255.166.219])
	by smtp1.mailsrvcs.net  with SMTP id XAA07758
	for <amigappc-dev@amiga.com.pl>; Tue, 25 Aug 1998 23:58:10 -0500 (CDT)
To: amigappc-dev@amiga.com.pl
Subject: CXERR 390296 in scppc
Date: Tue, 25 Aug 98 20:57:52 -0500
MIME-Version: 1.0
Message-ID: <651617872.333228@iris.01246E48>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

Sorry to take so long with this, but I switched providers...

I reported several weeks ago that I had a CXERR 390296.  Steve and Jim were=

kind enough to help me out.

It turns out that I was trying to have the same source for the 68K and the
PPC.  There would be a 68k gui part and a ppc/68k calculation part.  I
tried using the COMMON option so that I could define globals in the 68k
file and the ppc file with no "multiply-defined" errors.

The short of it is that the COMMON option does not work in the PPC compiler=

From amigappc-dev-owner@amiga.com.pl  Fri Aug 28 12:20:45 1998
Received: from mctel.fr ([194.5.73.129]) by amiga.com.pl (8.8.8/8.7.3) with SMTP id MAA00538 for <amigappc-dev@amiga.com.pl>; Fri, 28 Aug 1998 12:06:38 +0200 (CEST)
From: torrelli@tesla.mctel.fr
Received: from tesla.mctel.fr by  mctel.fr (5.x/SMI-SVR4)
	id AA01682; Fri, 28 Aug 1998 10:42:56 +0100
Received: by tesla.mctel.fr (SMI-8.6/SMI-SVR4)
	id LAA12743; Fri, 28 Aug 1998 11:51:54 +0100
Date: Fri, 28 Aug 1998 11:51:54 +0100
Message-Id: <199808281051.LAA12743@tesla.mctel.fr>
To: amigappc-dev@amiga.com.pl
Subject: Help with gcc ppc
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: AmigaPPC developers' mailing list <amigappc-dev@amiga.com.pl>
Sender: amigappc-dev-owner@amiga.com.pl
Precedence: list
Status: O
X-Status: 

Hi you all.

I'm trying to setup gcc so that it lets me compile programs on my powerup board.
I've got the ADE geek gadgets 2 installed with the amiga-powerpc-gcc stuff.
I've got the latest phase 5 dev-archive.

The two things I miss are
 where to put the phase 5 stuff so that I can compile my programs ? 
 do I have to copy the other includes ? and where ? could anyone send 
 me the result of find ade: -print or an equivalent information ? 
 

 where can I find a std c library ? I heard of librilc.a but couldn't manage
 to find it. Anybody has (working) pointer ? 
 
 Thanks and sorry if these questions are lame, but I promise you I tryed many 
things before writing to this list
 
  Philippe Torrelli
   (ptorrell@hol.fr)

