source: trunk/doc/ReleaseNotes.os2@ 702

Last change on this file since 702 was 702, checked in by bird, 22 years ago

Beta 2 updates

  • Property cvs2svn:cvs-rev set to 1.7
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 8.5 KB
RevLine 
[330]1
2
3 R e l e a s e N o t e s
4 +------------------------+
[579]5
[702]6
7v3.2.2 Beta 2:
8--------------
9
10 A few bugfixes and a some new features (as usual)
11
12 o Added file locking support to LIBC.
13
14 o Fixed _System and _Optlink bugs and made _Optlink support floating
15 point arguments passing in registers.
16
17 o Header updates related to limits and file locking primarily.
18
19 o Timezone fixes.
20
21 o Fixed some CRT init trouble in regards to getenv and putenv.
22
23 o And some other minor stuff..
24
25
[579]26v3.2.2 Beta 1:
27--------------
[330]28
[579]29 A few bugfixes and a some new features.
[702]30
[579]31 o Locale support in libc.
[702]32
[579]33 o Implmented a different approach to OMF and weak symbols. This new hack
34 does a pre-linking before invoking the OMF linker generating new .def
[702]35 if needed and an extra object file with aliases to resolv the weak
[579]36 symbols correctly.
37 The old approach used when GCC_WEAKSYMS is present in the environment.
[702]38
[579]39 Please note that due to a bug in BFD weak symbols doesn't work 100%
[702]40 correctly. This will be addressed when we now move on to a later
[579]41 version of binutils.
[702]42
[579]43 o A couple of new functions in libc, and a few correction of existing
44 in respect to namespace.
[702]45
[643]46 o Addressed issues with calling conventions. We now detect incompatible
47 calling conventions, emitting warnings and errors where appropritate.
[702]48
49 o _Optlink is much better, but there is still some issues left. Passing
50 prototyped floating point parameters to _Optlink doesn't work. Mixing
[643]51 of parameters which goes into registers (eax,edx,ecx) and parameters
52 which doesn't - void foo(int eax, struct sss s, int edx) - don't work.
[702]53 All these issues are being addressed and is expected to be fixed in
[643]54 the next build.
[702]55
56 o Changed GCC to link with shared libc by default. This means that in
[579]57 order to link with static libc one have to specify -static.
58 It also means that -Zmtd or -Zcrtdll is no longer required for linking
59 with shared libc and can be removed from all makescripts.
[702]60
[579]61 o Changed EMXOMFLD defaults to ilink from Visual Age for C++ v3.6.5 or
62 later (preferably later). The emxomfld usage output will instruct you
[582]63 how how to use older linkers. For VAC308 and VAC365 linkers /dbgpack
64 is specified if debuginfo is to be generated.
[579]65 Emxomf checks for EMXOMFLD_TYPE=link386 when choosing debug info level.
[702]66
[579]67 o Shipping three extra libc dlls:
68 libc02.dbg: Unstripped version of libc02.dll. This is identical
69 except from the presense of debug info.
[702]70 libc02.prf: Linked together from profiled enabled libraries
71 using kProfiler.
72 libc02.elh: Standard libc but linked with an external eletrical
[579]73 fence heap from kLibDbg.
[702]74 These libc02.* dlls can be used instead of libc02.dll. kLibDbg and
[579]75 kProfiler is available in separate zip files at same location as the
[702]76 rest of the Innotek GCC suite. However these external tools are
[643]77 provided as is. (I might actually not find time to put them out yet.)
[702]78
[579]79 o Distribution is splitted into several zips:
[702]80 -core.zip: All you really need.
[579]81 -dbg.zip: Map files, unstripped tools and libs, and libc02.elh.
82 -prf.zip: Profiling libraries and libc02.prf.
83 libc.zip: The runtime libraries. (included in core.)
[643]84 The big zip is everything.
[702]85
[579]86 o I'm sure I've foregotten something this time....
[330]87
[702]88
[399]89v3.2.2 Alpha 3:
90---------------
91
[579]92 Primarily bugfixes.
[702]93
[579]94 o Changed code generator for floating point truncations (double to int
95 casts and such) so PM can freely mess up the fpu status.
[702]96
[579]97 o We were using the wrong float.h in two sense. We're now using the
98 correct one which includes all the PC defines and prototypes.
[702]99
[579]100 o Fixed a few issues with error defines and tcpip.
101 Note that some of the error defines have changed value in the process
102 so we could become compatible with the tcpip stack and FreeBSD.
[702]103
[579]104 o Corrected bugs in a number of headers.
[702]105
[579]106 o Added more OS/2 prototypes and imports. There is still work left on
107 the header part,
[702]108
[579]109 o Optimized emxomf debug info conversion.
[702]110
[579]111 o Wrapped bsdselect for BSD 4.4 header mode to implement bsdselect().
[702]112
[399]113 o .... what did we forget...
114
[702]115
[365]116v3.2.2 Alpha 2:
117---------------
[702]118
[579]119 A few bugfixes and a couple of new features.
[702]120
[579]121 o The TCP/IP headers and libraries scheme have been changed.
122 The default is the current OS/2 tcpip toolkit (BSD 4.4 based).
123 To target the older OS/2 tcpip stack (BSD 4.3 based) you must
124 define TCPV40HDRS before including any TCP/IP headers and make
125 sure usr/lib/tcpipv4 is searched before usr/lib (this is to get
126 the right libsocket). It is recommended to use the -D compiler
127 option for the define and either the LIBRARY_PATH or the -L
128 compiler/linker option for the library.
[365]129
[579]130 o There are a couple of new and updated based on FreeBSD 5.1.
131 sys\stdint.h and inttypes.h (and a few internal once) are new.
132 sys\types.h and unistd.h are the ones most heavily updated.
133 We're working on getting the headers and libc in a better shape
134 standardwise to easy compatability and portability.
[702]135
[579]136 o A infinite loop in emxomf has been fixed.
[702]137
[579]138 o Linker error on sopen() has been corrected.
[702]139
[365]140 o .... what did we forget...
[702]141
142
[330]143v3.2.2 Alpha 1:
144---------------
[702]145
[330]146 This is the first release from Innotek, and it contains the Innotek LIBC.
[579]147 In addition to the new LIBC there is a number of other major changes:
[330]148
149 o Name mangling in OMF mode have changed.
150 Until this release emxomf used to pretty much strip one leading '_'
151 from symbols when converting them to omf. This is now longer done
152 chiefly in order to correctly support mangling calling conventions
153 like __stdcall and __cdecl. This change have the following side
154 effects:
155 - _System and __cdecl no longer produces the same names and hence
156 all OS/2 API which are _System must be declared as _System in
157 order to link.
158 - Assembly code might need an extra underscore to work, or
159 perhaps change the prototypes to _System.
160 - Global variables are prepended and underscore, so mixing VAC and
161 GCC, or accessing globals from asm, take care.
162 (MSC v6.0 does this too, so it's not any uncommon practise.)
163
164 The OS/2 headers which are included are all updated to use _System.
165
166 o TCPIP headers are updated a quite a bit to match the toolkit ones
167 and to reflect the fact that the new libc does not a having common
168 handle space for files and sockets. These changes aren't 100%
169 completed yet, and usage probably will uncover some issues left in
170 there. Also for the programmer there is the following changes in
171 the apis provided:
172 - TCPV40HDRS are supported and should work like with the toolkit
173 headers. It will alias all functions to tcpip40_ editions
174 (using #defines) so we get the right imports thru -llibsocket.
175 - There is no support for sockets in select(). To do select on
176 sockets you will have to use bsdselect() or os2_select().
177 bsdselect() is only available for TCPV40HDRS. For
178 !defined(TCPV40HDRS) fd_set is in the emx/bsd format and not the
179 OS/2 tcpip v5.0 format.
180 - Socket IOCTLs are not supported by the ioctl() libc function
181 because of the separate handle space for sockets. For sockets
182 so_ioctl() and os2_ioctl() are used. os2_ioctl() is not available
183 when TCPV40HDRS is defined. According to the tcpref in v5.0
184 so_ioctl() only supports BSD ioctls.
185 - writev() and readv() also clashes with libc. For socket handles
186 use so_writev() and so_readv().
187
188 o The prefered OMF linker is now ilink. link386 will fail with an odd
189 error message if you tell gcc/g++ to make debug info. Set the
190 EMXOMFLD_LINKER environment variable to value ilink in order to use
191 ilink as OMF linker.
192 It likely that we will change the default OMF linker to ilink in an
193 later version of the GCC suite.
194
195 o .... what did we forget...
Note: See TracBrowser for help on using the repository browser.