Jump to page: 1 2
Thread overview
STLSoft 1.9.1 beta 42; Pantheios 1.0.1 beta 22
Jan 15, 2007
Matthew Wilson
Jan 15, 2007
Neal Becker
Jan 15, 2007
Neal Becker
Jan 15, 2007
Matthew Wilson
Jan 15, 2007
Matthew Wilson
Jan 15, 2007
Neal Becker
Jan 15, 2007
Matthew Wilson
Jan 17, 2007
Adi Shavit
Jan 17, 2007
Matthew Wilson
Jan 17, 2007
Adi Shavit
Jan 17, 2007
Matthew Wilson
January 15, 2007
Fixes the 64-bit Linux problems reported in Pantheios, and removes assumptions about atomic integer operations on operating systems other than Mac OS-X and Windows.

Download from
    - http://stlsoft.org/downloads.html#stlsoft_1_9_1b42
    -
http://sourceforge.net/project/showfiles.php?group_id=141831&package_id=155759&release_id=478504

Hopefully this is the last STLSoft beta. What should follow is a couple of release candidates - where issues of docs, examples, help, etc. - are dealt with. And then hopefully in a week or two, we can get this baby off the ground at last. (It's only been a year and a half ... ;-/ )

Cheers

Matthew




January 15, 2007
Matthew Wilson wrote:

> Fixes the 64-bit Linux problems reported in Pantheios, and removes assumptions about atomic integer operations on operating systems other than Mac OS-X and Windows.
> 
> Download from
>     - http://stlsoft.org/downloads.html#stlsoft_1_9_1b42
>     -
>
http://sourceforge.net/project/showfiles.php?group_id=141831&package_id=155759&release_id=478504
> 
> Hopefully this is the last STLSoft beta. What should follow is a couple of release candidates - where issues of docs, examples, help, etc. - are dealt with. And then hopefully in a week or two, we can get this baby off the ground at last. (It's only been a year and a half ... ;-/ )
> 
> Cheers
> 

Note about asm/atomic.h:
This is from Fedora 6 release notes:

The <asm/atomic.h> and <asm/bitops.h> header files have been removed. These were not designed for use in userspace, and would fail to compile on some architectures while silently giving non-atomic behaviour on others. The C compiler provides its own atomic builtin functions that are suitable for use in userspace programs instead.
January 15, 2007
Neal Becker wrote:

> Matthew Wilson wrote:
> 
>> Fixes the 64-bit Linux problems reported in Pantheios, and removes assumptions about atomic integer operations on operating systems other than Mac OS-X and Windows.
>> 
>> Download from
>>     - http://stlsoft.org/downloads.html#stlsoft_1_9_1b42
>>     -
>>
> http://sourceforge.net/project/showfiles.php?group_id=141831&package_id=155759&release_id=478504
>> 
>> Hopefully this is the last STLSoft beta. What should follow is a couple of release candidates - where issues of docs, examples, help, etc. - are dealt with. And then hopefully in a week or two, we can get this baby off the ground at last. (It's only been a year and a half ... ;-/ )
>> 
>> Cheers
>> 
> 
> Note about asm/atomic.h:
> This is from Fedora 6 release notes:
> 
> The <asm/atomic.h> and <asm/bitops.h> header files have been removed. These were not designed for use in userspace, and would fail to compile on some architectures while silently giving non-atomic behaviour on others. The C compiler provides its own atomic builtin functions that are suitable for use in userspace programs instead.
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Atomic-Builtins.html#Atomic-Builtins
January 15, 2007
"Neal Becker" <ndbecker2@gmail.com> wrote in message news:eofp0j$12fe$1@digitaldaemon.com...
> Matthew Wilson wrote:
>
> > Fixes the 64-bit Linux problems reported in Pantheios, and removes assumptions about atomic integer operations on operating systems other than Mac OS-X and Windows.
> >
> > Download from
> >     - http://stlsoft.org/downloads.html#stlsoft_1_9_1b42
> >     -
> >
>
http://sourceforge.net/project/showfiles.php?group_id=141831&package_id=155759&release_id=478504
> >
> > Hopefully this is the last STLSoft beta. What should follow is a couple
of
> > release candidates - where issues of docs, examples, help, etc. - are dealt with. And then hopefully in a week or two, we can get this baby
off
> > the ground at last. (It's only been a year and a half ... ;-/ )
> >
> > Cheers
> >
>
> Note about asm/atomic.h:
> This is from Fedora 6 release notes:
>
> The <asm/atomic.h> and <asm/bitops.h> header files have been removed.
These
> were not designed for use in userspace, and would fail to compile on some architectures while silently giving non-atomic behaviour on others. The C compiler provides its own atomic builtin functions that are suitable for use in userspace programs instead.

Well, they're gone now, so it shouldn't be a problem any more. That being said, if later on it becomes clear how to support for 32/64-bit Linux, that'd be cool.

Now, you haven't said whether you're now building Pantheios on your Linux 64? Is it all ok? Hope so, and then I can leave STLSoft/Pantheios alone for a few days, and finish book 2 (http://extendedstl.com/), and get on with book 3 (http://breakingupthemonolith.com/). ;-)

Matthew


January 15, 2007
> > The <asm/atomic.h> and <asm/bitops.h> header files have been removed. These were not designed for use in userspace, and would fail to compile
on
> > some architectures while silently giving non-atomic behaviour on others. The C compiler provides its own atomic builtin functions that are
suitable
> > for use in userspace programs instead.

>
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Atomic-Builtins.html#Atomic-Builtins

Thanks for that. It could be jolly useful down the track. ;-)

For some reason, I seem to have a mental block when it comes to searching out GCC-related stuff. ;-/

Cheers

Matthew


January 15, 2007
Matthew Wilson wrote:

> 
> "Neal Becker" <ndbecker2@gmail.com> wrote in message news:eofp0j$12fe$1@digitaldaemon.com...
>> Matthew Wilson wrote:
>>
>> > Fixes the 64-bit Linux problems reported in Pantheios, and removes assumptions about atomic integer operations on operating systems other than Mac OS-X and Windows.
>> >
>> > Download from
>> >     - http://stlsoft.org/downloads.html#stlsoft_1_9_1b42
>> >     -
>> >
>>
> http://sourceforge.net/project/showfiles.php?group_id=141831&package_id=155759&release_id=478504
>> >
>> > Hopefully this is the last STLSoft beta. What should follow is a couple
> of
>> > release candidates - where issues of docs, examples, help, etc. - are dealt with. And then hopefully in a week or two, we can get this baby
> off
>> > the ground at last. (It's only been a year and a half ... ;-/ )
>> >
>> > Cheers
>> >
>>

gcc   -c -Wall -pedantic -Wno-long-long -Wno-unused-value -Wundef -Wshadow -Werror  -O1 -D_REENTRANT  -D_DEBUG -UNDEBUG  -Dunix -DPANTHEIOS_NO_AUTO_INIT  -I../../include -I"/usr/local/src/stlsoft/include"    -o fe.N.debug.o ../../src/fe/fe.N.c
cc1: warnings being treated as errors
../../src/fe/fe.N.c: In function ‘pantheios_fe_init’:
../../src/fe/fe.N.c:94: warning: cast to pointer from integer of different size
../../src/fe/fe.N.c: In function ‘pantheios_fe_isSeverityLogged’:
../../src/fe/fe.N.c:123: warning: cast from pointer to integer of different size
make: *** [fe.N.debug.o] Error 1
January 15, 2007
"Neal Becker" <ndbecker2@gmail.com> wrote in message news:eofubk$1a3j$1@digitaldaemon.com...
> Matthew Wilson wrote:
>
> >
> > "Neal Becker" <ndbecker2@gmail.com> wrote in message news:eofp0j$12fe$1@digitaldaemon.com...
> >> Matthew Wilson wrote:
> >>
> >> > Fixes the 64-bit Linux problems reported in Pantheios, and removes assumptions about atomic integer operations on operating systems
other
> >> > than Mac OS-X and Windows.
> >> >
> >> > Download from
> >> >     - http://stlsoft.org/downloads.html#stlsoft_1_9_1b42
> >> >     -
> >> >
> >>
> >
http://sourceforge.net/project/showfiles.php?group_id=141831&package_id=155759&release_id=478504
> >> >
> >> > Hopefully this is the last STLSoft beta. What should follow is a
couple
> > of
> >> > release candidates - where issues of docs, examples, help, etc. - are dealt with. And then hopefully in a week or two, we can get this baby
> > off
> >> > the ground at last. (It's only been a year and a half ... ;-/ )
> >> >
> >> > Cheers
> >> >
> >>
>
>
gcc   -c -Wall -pedantic -Wno-long-long -Wno-unused-value -Wundef -Wshadow -
Werror  -O1 -D_REENTRANT  -D_DEBUG -UNDEBUG  -Dunix -DPANTHEIOS_NO_AUTO_INIT
  -I../../include -I"/usr/local/src/stlsoft/include"    -o fe.N.debug.o
../../src/fe/fe.N.c
> cc1: warnings being treated as errors
> ../../src/fe/fe.N.c: In function 'pantheios_fe_init':
> ../../src/fe/fe.N.c:94: warning: cast to pointer from integer of different
size
> ../../src/fe/fe.N.c: In function 'pantheios_fe_isSeverityLogged': ../../src/fe/fe.N.c:123: warning: cast from pointer to integer of
different size
> make: *** [fe.N.debug.o] Error 1

Oh well, at least we're out of the core, anyway. I've fixed that particular file- zip included.

I've put this onto the Pantheios bugs forum, as it's now nothing to do with STLSoft: http://sourceforge.net/tracker/?group_id=141831&atid=750757. We should probably continue this on the pantheios-users mailing list: http://sourceforge.net/mailarchive/forum.php?forum_id=50485. I'm cc-ing this post to the mailing list.

Obviously I need to get a handle on using the SF compiler farm, but I just haven't had time yet. As a stop-gap, I'm adding the -Wp64 warning to a VC++ 7.1 makefile, and finding all the warnings for the moment. I made a whole lot of non-functional improvements to the Pantheios source base yesterday after the b22 distro was posted, so it won't hurt to do another release soon.

And if someone with 64-bit expertise (and access!) wanted to get their feet
dirty, that'd hardly be unwelcome ... ;-)

Cheers

Matthew



January 17, 2007
Hi,


 I downloaded Pantheios, and tried to used it. The docs say:

   /"... Just open the workspace file pantheios.vc6.dsw, located in the
   root directory (i.e. <PANTHEIOS-install-dir>), and select the
   Build-All option."/

I don't see any such file.

In fact the only dsw files in the distro are in the example and test dirs.


Please advise.


Also, it would be nice if it unpacked into its own dir. as Martin Moene suggested for STLSoft.


Thanks,
Adi

January 17, 2007
[Am fwding this thread to the Pantheios Users mailing list: pantheios-users@lists.sourceforge.net]


>   I downloaded Pantheios, and tried to used it. The docs say:
>
>     /"... Just open the workspace file pantheios.vc6.dsw, located in the
>     root directory (i.e. <PANTHEIOS-install-dir>), and select the
>     Build-All option."/
>
> I don't see any such file.

Eeep!

I'm surprised that it's not there. I'll look into it.

FYI: a better way is the command-line build. That's the way I think most/all users are building it. Me included, which is why, I guess, the loss of the DSW has not been spotted.

As you probably know, the way to go is to open the appropriate DOS box (for WIndows, that is), and do a make, e.g. for VC++ 7.1, you'd open in $PANTHEIOS_ROOT/build/vc71, and type "make" or "make test"

> In fact the only dsw files in the distro are in the example and test dirs.

I do intend to have project files there for the common IDEs: Borland, VS'98, VS.NET, Eclipse, but this is not high on the TODO. I've got to work out a way of automating it, as the last thing I want is to be in a position of manually updating all the sets.

> Please advise.

For the moment, go the command-line route. It works pretty well.

> Also, it would be nice if it unpacked into its own dir. as Martin Moene suggested for STLSoft.

Indeed. Hopefully the next version of both should do that. It's absolutely certain that the final (non-beta) releases will do so. (I've just got to work out how to drive WZUNZIP; my distro mechanism drives WZZIP, so it shouldn't be too hard. <g>)


There're a few changes that I could do with rolling out, so I'll try and do another beta tonight. (I'm just a bit book-busy at the moment, preparing the final draft of Extended STL v1. My simple tast is to try and chop it from 590 pages to ~400 ...)


January 17, 2007
Hi,
> [Am fwding this thread to the Pantheios Users mailing list:
> pantheios-users@lists.sourceforge.net]
>   
Yes, I realized that there was a list only after I posted. Sorry.
> FYI: a better way is the command-line build. That's the way I think most/all
> users are building it. Me included, which is why, I guess, the loss of the
> DSW has not been spotted.
>   
I was just following the instructions O:-) .
> As you probably know, the way to go is to open the appropriate DOS box (for
> WIndows, that is), and do a make, e.g. for VC++ 7.1, you'd open in
> $PANTHEIOS_ROOT/build/vc71, and type "make" or "make test"
>
>   
Works. Thanks.
Adi
« First   ‹ Prev
1 2