File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
- personal_ws-1.1 en 3269 utf-8
1
+ personal_ws-1.1 en 3270 utf-8
2
2
AAC
3
3
AAS
4
4
ABI
2992
2992
timeframe
2993
2993
timehead
2994
2994
timername
2995
+ timespec
2995
2996
timestamp
2996
2997
timeticks
2997
2998
timeval
Original file line number Diff line number Diff line change @@ -204,6 +204,24 @@ You can also compile it (where that is still needed) using:
204
204
:; tar xzf "$DLDIR"/pthreads-w32-2-8-0-release.tar.gz
205
205
:; cd pthreads-w32-2-8-0-release/
206
206
:; make -f GNUmakefile "CROSS=$ARCH-" GC-inlined
207
+
208
+ [NOTE]
209
+ ======
210
+ If it complains about
211
+ `pthread.h:307:8: error: redefinition of 'struct timespec'`
212
+ please edit `config.h` to add a `HAVE_STRUCT_TIMESPEC` definition
213
+ and re-run `make` , e.g.:
214
+
215
+ :; echo '#define HAVE_STRUCT_TIMESPEC 1' >> config.h
216
+ :; make -f GNUmakefile "CROSS=$ARCH-" GC-inlined
217
+
218
+ There may also be some warnings from newer compilers about
219
+ `cast to pointer from integer of different size` -- these are
220
+ presumed inconsequential. You can try a not-"inlined" build instead.
221
+ ======
222
+
223
+ Finally, install the resulting files into locations under `PREFIX`:
224
+
207
225
:; sudo cp *.dll ${PREFIX}/pthreads/lib/
208
226
:; sudo cp *.a ${PREFIX}/lib/
209
227
:; sudo cp pthread.h sched.h semaphore.h ${PREFIX}/pthreads/include
You can’t perform that action at this time.
0 commit comments