Brendan Oakley | 5 Sep 2008 02:12
Picon

git ?

Hi guys,

No sooner does Andrew have Mercurial ported, than ALSA switches from
Hg to git. (Oh the irony.) I'm not in any particular hurry, just
wondered if anyone else had interest or had looked at it?

Thanks.
Brendan
Dave Yeo | 5 Sep 2008 02:35

Re: git ?

On Thu, 4 Sep 2008 17:12:31 -0700, Brendan Oakley wrote:

>Hi guys,
>
>No sooner does Andrew have Mercurial ported, than ALSA switches from
>Hg to git. (Oh the irony.) I'm not in any particular hurry, just
>wondered if anyone else had interest or had looked at it?
>
>Thanks.
>Brendan

I've looked at it as well as IIRC Paul. Neither of us had much luck
getting it to run. I think one problem is a heavy dependency on Bash.
Things might of improved as the last time I looked there were a lot of
Windows patches going into it.
Mercurial does have some git support which I haven't looked into yet.
Dave
Brendan Oakley | 5 Sep 2008 02:40
Picon

Re: git ?

Hi Dave,

On Thu, Sep 4, 2008 at 5:35 PM, Dave Yeo wrote:
>
> I've looked at it as well as IIRC Paul. Neither of us had much luck
> getting it to run. I think one problem is a heavy dependency on Bash.
> Things might of improved as the last time I looked there were a lot of
> Windows patches going into it.
> Mercurial does have some git support which I haven't looked into yet.
> Dave

Thanks for the useful information. I did not know any of this. Another
reason to look again at Bash I guess.

Brendan
Paul Smedley | 12 Sep 2008 07:59
Picon

GCC 3.4.6 build available

Hi All,

Anyone who also reads the Mozilla OS2 newsgroup may be aware that I've
been exploring GCC 3.4.6 in recent weeks.

Finally, I have something that I feel is ready for public consumption!

The binaries can be downloaded from: 
http://download.smedley.info/gcc-3.4.6-os2-20080912.zip (7,933,439 
bytes)

There is currently no sample gccenv.cmd included in the package, but a
setmozenv.cmd based on the one for GCC 3.3.5 is available from 
http://download.smedley.info/setmozenv_gcc346.cmd

Note that the gcc .zip installs itself in u:\usr\local\bin and won't 
interfere with an existing gcc 3.3.5 install in u:\usr\bin

I've successfully built a bunch of stuff with this, so I'm very 
interested in any feedback!
--

-- 
Cheers,

Paul.
Dave Parsons | 12 Sep 2008 17:58
Picon
Favicon

Re: GCC 3.4.6 build available

On Fri, 12 Sep 2008 05:59:59 +0000 (UTC), Paul Smedley wrote:

> Hi All,
> 
> Anyone who also reads the Mozilla OS2 newsgroup may be aware that I've
> been exploring GCC 3.4.6 in recent weeks.
> 
> Finally, I have something that I feel is ready for public consumption!
> 
> The binaries can be downloaded from: 
> http://download.smedley.info/gcc-3.4.6-os2-20080912.zip (7,933,439 
> bytes)

Hi Paul,

There don't seem to be any of the standard header files such
as stdlib.h etc. in that zip. Was that intentional?

Dave
Peter Weilbacher | 12 Sep 2008 20:11

Re: GCC 3.4.6 build available

On 12.09.08 17:58, Dave Parsons wrote:
> On Fri, 12 Sep 2008 05:59:59 +0000 (UTC), Paul Smedley wrote:
>> The binaries can be downloaded from:
>> http://download.smedley.info/gcc-3.4.6-os2-20080912.zip (7,933,439
>> bytes)
>
> There don't seem to be any of the standard header files such
> as stdlib.h etc. in that zip. Was that intentional?

While downloading I was already wondering why the ZIP is only ~7MB while
Knut's packages were close to 40 MB. There seems to be a lot missing, not
only most files under include/ (where only the c++ subdir is there) but
also many of the executables in bin/ (I tried to copy them over from GCC
3.3.5 I think that should work for most of them), but then many things
from lib/ are missing, too, like lib/bfd2E.dll, lib/libbfd*, and lib/crt0*,
etc.
GCC 3.3.5 had two directories i386-pc-os2-elf and i386-pc-os2-emx. Not
if they were used for OMF stuff at all, I just notice that they are missing
from this package...

Paul, I hope that your build produced most of them and the just didn't
end up in the package?

Do I need to set an extra path to get the compiler to find some of its
sub-programs, like cc1plus?

Finally, comparing the output of gcc -v of Knut's last 3.3.5 build and
yours, I see that Knut set of lot more parameters. Are they not needed
any more? Stuff like --enable-threads=os2 --enable-shared=libgcc,bfd,opcodes
Just curious. :-)
(Continue reading)

Andy Willis | 12 Sep 2008 22:37
Picon

Re: GCC 3.4.6 build available

Peter Weilbacher wrote:
> On 12.09.08 17:58, Dave Parsons wrote:
>> On Fri, 12 Sep 2008 05:59:59 +0000 (UTC), Paul Smedley wrote:
>>> The binaries can be downloaded from:
>>> http://download.smedley.info/gcc-3.4.6-os2-20080912.zip (7,933,439
>>> bytes)
>>
>> There don't seem to be any of the standard header files such
>> as stdlib.h etc. in that zip. Was that intentional?
>
> While downloading I was already wondering why the ZIP is only ~7MB while
> Knut's packages were close to 40 MB. There seems to be a lot missing, not
> only most files under include/ (where only the c++ subdir is there) but
> also many of the executables in bin/ (I tried to copy them over from GCC
> 3.3.5 I think that should work for most of them), but then many things
> from lib/ are missing, too, like lib/bfd2E.dll, lib/libbfd*, and lib/crt0*,
> etc.
> GCC 3.3.5 had two directories i386-pc-os2-elf and i386-pc-os2-emx. Not
> if they were used for OMF stuff at all, I just notice that they are missing
> from this package...
>
> Paul, I hope that your build produced most of them and the just didn't
> end up in the package?
>
> Do I need to set an extra path to get the compiler to find some of its
> sub-programs, like cc1plus?
>
> Finally, comparing the output of gcc -v of Knut's last 3.3.5 build and
> yours, I see that Knut set of lot more parameters. Are they not needed
> any more? Stuff like --enable-threads=os2
(Continue reading)

Paul Smedley | 12 Sep 2008 23:07
Picon

Re: GCC 3.4.6 build available

Hi Guys,

On Fri, 12 Sep 2008 15:58:41 UTC, "Dave Parsons" 
<dwparsons <at> t-online.de> wrote:

> On Fri, 12 Sep 2008 05:59:59 +0000 (UTC), Paul Smedley wrote:
> > Anyone who also reads the Mozilla OS2 newsgroup may be aware that I've
> > been exploring GCC 3.4.6 in recent weeks.
> > 
> > Finally, I have something that I feel is ready for public consumption!
> > 
> > The binaries can be downloaded from: 
> > http://download.smedley.info/gcc-3.4.6-os2-20080912.zip (7,933,439 
> > bytes)
> 
> Hi Paul,
> 
> There don't seem to be any of the standard header files such
> as stdlib.h etc. in that zip. Was that intentional?

Yes....  The headers are part of libc - not gcc.  The way I've 
currently packaged things, this is an addon to an existing GCC setup.

ie if one has ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip 
installed into \usr - gcc 3.4.6 then ges installed into \usr\local

In the setmozenv_gcc346.cmd - the following changes were necessary to 
ensure the newer gcc libs/includes were found first in /usr/local/*, 
then it defaults to the libc stuff in /usr:
-'SET 
(Continue reading)

Peter Weilbacher | 13 Sep 2008 00:13

Re: GCC 3.4.6 build available

On 12.09.08 23:07, Paul Smedley wrote:
> Yes....  The headers are part of libc - not gcc.  The way I've
> currently packaged things, this is an addon to an existing GCC setup.
>
> ie if one has ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip
> installed into \usr - gcc 3.4.6 then ges installed into \usr\local
>
> In the setmozenv_gcc346.cmd - the following changes were necessary to
> ensure the newer gcc libs/includes were found first in /usr/local/*,
> then it defaults to the libc stuff in /usr:
[... snip...]
> Hope this helps...

Oh yes, it does. Thanks for helping us blind people. Now I see that you
also added the libexec\gcc\i386-pc-os2-emx\3.4.6 dir to your PATH to get
the compiler to find its preprocessors.
    Peter.
Paul Smedley | 13 Sep 2008 01:36
Picon

Re: GCC 3.4.6 build available

On Fri, 12 Sep 2008 22:13:03 UTC, Peter Weilbacher 
<newsspam <at> weilbacher.org> wrote:

> On 12.09.08 23:07, Paul Smedley wrote:
> > Yes....  The headers are part of libc - not gcc.  The way I've
> > currently packaged things, this is an addon to an existing GCC setup.
> >
> > ie if one has ftp://ftp.netlabs.org/pub/gcc/GCC-3.3.5-csd3.zip
> > installed into \usr - gcc 3.4.6 then ges installed into \usr\local
> >
> > In the setmozenv_gcc346.cmd - the following changes were necessary to
> > ensure the newer gcc libs/includes were found first in /usr/local/*,
> > then it defaults to the libc stuff in /usr:
> [... snip...]
> > Hope this helps...
> 
> Oh yes, it does. Thanks for helping us blind people. Now I see that you
> also added the libexec\gcc\i386-pc-os2-emx\3.4.6 dir to your PATH to get
> the compiler to find its preprocessors.

Sorry - I guess in the excitement of posting the announcement, I 
wasn't very explict in how to actually get it working.

It also seems that in the process of fixing linking of objects that 
use _System, I broke linking of c++ objects - which is why xul.dll is 
failing when building mozilla.  My c++ testcase Scribus, which was 
working previously is now broken too at the linking stage.

For normal C code, things seem to be working pretty well.

(Continue reading)


Gmane