www.digitalmars.com         C & C++   DMDScript  

c++.announce - STLSoft 1.9.1 beta 42; Pantheios 1.0.1 beta 22

reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
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
Jan 14 2007
next sibling parent reply Neal Becker <ndbecker2 gmail.com> writes:
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.
Jan 15 2007
next sibling parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
"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
Jan 15 2007
parent reply Neal Becker <ndbecker2 gmail.com> writes:
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
Jan 15 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
"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 begin 666 fe.N.zip M0')M4ZGJ1!%F=UY_,SL[IMN"[FO1M]] "T8R%*=0T$)TK(Y/ZWIOFL5KE13; M;+4.Q4I$J9=*%8%:0+H4,/4B_) JT;+ 4^7?P2A647HBH ",*>MLU0UBX:4B MR-6]_RE= NVGZD;$\-]>[P?-,EL'-98?D.5G+\J\^(%8?MQJ,K)TJ>+"[4LO M57$X(I!)&LN;3"/A89Q9(D!&D* L]H5>N9$1N;U0\2IIPT9B*"K6GRI+M9J5 M"N1"^AK.-GBQ +6(5S+%^&$=JWL9X$.Z]%(-]$*%H=K(Z!9\%062A!(MM!+I MZ=:UDSWG$LI3X96O`N3.DA1BD7KH+:GU;M0];17!0Z12Z8LV[LE$:P0(41^I M:I%N*%N1VA7:.O- ,>5V5)R 0P]P(ZBN,#H%>)9P55 )H8,KE0K(D4L3"-#S M>V1;X$8=JZ2T610=)&OA4\6AJ*1:C*G6HKSJDJ2,3JMPQXP#MT?NE>&8 ,]3 MQ_[$AN80SJ]QTX2!/;UVV,78A;$]&9H.!\,:XJKE.NQ\YMJX\,; */DF/["X MU5&(0\8'$X-=FL,.>H&6P?QD6B[PL3&9[$5L7UFF0R'LA'N>*YLPXWQBY 8Q MX"%SS(%+D55/`P02W9RT 4_-`:,'\Q<38S*<ZS;JS?N1;7'S?S-D1 88&I?& M!8;9> $A3-- YIB7Y+H]THKX[)R[S)VY)ES8]E!CSTWG$QN8O \3FVOP9MQL MYYH4$QXZ'VVX&INXCIFWR A=QR!(.*(X<.NL:!=!=6OQ F5>3-B%:0U,VK5) M=,2HL4_V:05OHT:YB.)OIX8U'YDHQ:FVL0+F`Q,KP;K O_8^]Z$'_SF#DO_D MXTWN'POZ\.X=7N/OWI5[S5S][X^E(;QULSB"""T_UH*7T=/(O=#O3 M(7J*RU&U_4KR,7_<KXFG`H]_RT'$<7S;O_#J,$_A2L\8T$K5'8X"F!A(</Z M &A*::QC<4+5F(4TEC>Q^D,JR^T!1MRQ9S*;SP=X3S:P>)J[]2<CF38`J(HI MWE8LL&'AM+(+YC%J0TVTM=9.5H<!X2G<]R"+:!3W/:P-G,MP -TLI;^$C8#Y M7:0V<Z"!R%N(?"+$+\ J.CH*4J7%GY3=UK0V7$MC>4 T&,7Z(V3;0JM N<2; MJVTUFLVM6>Y.Z'J;\]E4CUGSF447<Z,$O>+,.MIUK-IG6D_%7D"/[%FGQ&*G M 'MER>X5A.Y>NS80:JH)C6UK+Z/'`LC9CMCPEUZ<MX76GJE;D4YCY8LD80%. M_WC #IO MH -:'H:RB?TU+=L+]=]VZ>'%TX.SLYT`:;W6;UZQH1'5FMJ>(:*CS8WH4(,C MJC<YHJ(=($"[;8'H*8A%URD;9OXAPD0<0L)>IQ+?2_.?!A+AQ?ZRC2""3.FP M!>(+O;3[2WR+) 89[,:.:%=(P\<S> ]OW^[&V,BKH5FQ?3C;J:U] 6<JH-)Q M`N\_=ZJO!Q).].(P\4>LO3AN$%4P'["/<'.-,&(9J^PV_^'#BV/O`5^'%U1U MXK!8TL[0^&)R2SK &]&?FQSK=!,+[^[ WN/N4NWKD;FS4=J#M ML>] L==_[:E4)___4$L!`A0`% ```` `\SDP-OMRBZ5W!P``T18```8````` ` end
Jan 15 2007
prev sibling parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
 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
Jan 15 2007
prev sibling parent reply Adi Shavit <adish gentech.co.il> writes:
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
Jan 17 2007
parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
[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 ...)
Jan 17 2007
parent reply Adi Shavit <adish gentech.co.il> writes:
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
Jan 17 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
"Adi Shavit" <adish gentech.co.il> wrote in message
news:eom1qr$2ft9$1 digitaldaemon.com...
 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.
No worries. :-)
 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:-) .
Touché!
 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.
Cool. Don't hesitate to post any bugs, feature requests, w/e to the forums (http://sourceforge.net/forum/?group_id=141831) or the mailing list (http://sourceforge.net/mail/?group_id=141831). And if you fancy taking a go at be.loader, that'd be cool. ;-)
Jan 17 2007