Commit Graph

520 Commits

Author SHA1 Message Date
Vincent Torri
caa25fd878 ICU-20842 Fix library names in pkg-config files on Windows (mingw-w64)
since the move of the DLL to bin/ the library names in .pc files is
wrong. With ICU 65.1, icu-uc.pc contains

Libs: -L${libdir} -licuuc65 -licudt65

the version number should not appear. Indeed, the linker looks for the
libraries in $prefix/lib in the following order (see [1]):

libxxx.dll.a
xxx.dll.a
libxxx.a
cygxxx.dll
libxxx.dll
xxx.dll

As the is only the import library with no versioning (which is normal),
the is a link error when using ICU pc files.

[1] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Using_ld_the_GNU_Linker/win32.html
2020-02-19 14:57:59 -08:00
Jeff Genovy
783ee4c902 ICU-20322 On MinGW, move the DLLs to the "bin" directory.
This change builds on Vincent Torri's changes.

This installs the ICU DLL files in $prefix/bin instead of $prefix/lib.

Note: In order to disable this change in behavior you can edit
the "mh-mingw*" file(s). If you set the variable MINGW_MOVEDLLSTOBINDIR
to NO instead of YES, then it will retain the previous behavior of
installing the DLLs into the bin folder.
2020-02-12 14:19:15 -08:00
Jeff Genovy
c5ad4664f9 ICU-20768 Remove fixed DLL base addresses when building Windows DLLs.
Remove redundant FixedBaseAddress entries from the vcxproj files.
Make the pkgdata -b option a no-op, and output a message to the user.
2019-08-20 15:37:15 -07:00
Jeff Genovy
b2170e4773 ICU-20718 Fix failing MSYS2 build due to current path confusion.
The Azure DevOps VM images that are used in the CI builds recently
updated the version of MSYS that is installed, which is causing the
MSYS builds to fail. It seems that this new version has issues with
using the shell cmd method in the makefiles to obtain the current path.

However, we can avoid this entirely by using the cygpath utility, which
also avoids the overhead of launching a new cmd instance just to get
the path. Unfortunately, it seems that older versions of MSYS don't
have this utility program included by default, though versions of 
MSYS 2 and up do have it included by default.

We can continue using the old approach for the older versions and use
the cygpath approach for new versions.
2019-07-22 17:04:06 -07:00
Steven R. Loomis
1c553b9cf2 ICU-20563 fix macosx rpath breakage in the data build
- in the rpath case, we do NOT want a trailing space in LD_SONAME

regression was introduced in ICU-20526 with
 83a0542b5b (master)
 b76cb6517e (in maint-64)
2019-04-17 11:48:23 -07:00
Steven R. Loomis
83a0542b5b ICU-20526 fix pkgdata where LD_SONAME has a trailing space
- added PKGDATA_TRAILING_SPACE to all of the pkgdataMakefile.in file.
- NOTE: Users who create their own pkgdata.inc / icupkg.inc files may need
   to recreate this PKGDATA_TRAILING_SPACE behavior.

- used the above variable, normally undefined, in mh-* files that need a trailing space

- Also, fixed use of system() in pkgdata.cpp per ICU-20538
This was causing pkgdata to return a zero status even on clang
failure, masking this issue.
2019-04-03 16:43:42 -07:00
Steven R. Loomis
2159e1fb81 ICU-20229 update make dist to use git, not svn
- use git instead of svn for versioning
- update generated file names to match official downloads

Example filenames:
- icu4c-63_1-c5749aaf94-src.tgz (includes git hash or tag)
- icu4c-63_1-src.tgz (hard link to above)
- icu4c-src.tgz (symlink)

- icu4c-63_1-c5749aaf94-src.zip (includes git hash or tag)
- icu4c-63_1-src.zip (hard link to above)
- icu4c-src.zip (symlink)

- icu4c-63_1-c5749aaf94-data.zip (includes git hash or tag)
- icu4c-63_1-data.zip (hard link to above)
- icu4c-data.zip (symlink)

- icu4c-63_1-c5749aaf94-docs.zip (includes git hash or tag)
- icu4c-63_1-docs.zip (hard link to above)
- icu4c-docs.zip (symlink)
2019-02-21 16:08:46 -08:00
Jeff Genovy
972e31d58d ICU-20364 Cygwin builds need to set WINVER to 0x0601 for Windows 7, similar to MinGW builds. 2019-01-23 17:20:15 -08:00
Jeff Genovy
f76f68aeaa ICU-20221 Add support for building with Cygwin/GCC to the AppVeyor CI builds. 2018-10-30 10:26:07 -07:00
sav-ix
e8e3a5dee4
ICU-13138 MinGW: add 'd' suffix to the names of binary files with Debug config (#28)
For builds using Cygwin and MSVC with Debug configuration, '.dll' and '.lib' binaries has 'd' suffix.

Doing the same for builds using MinGW and MinGW64, based on the code from MSVC toolchain.

Task-number: ICU-13138
2018-09-27 14:27:37 -07:00
Shane Carr
16aedd5e1a ICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals.
X-SVN-Rev: 41263
2018-04-23 21:16:52 +00:00
Steven R. Loomis
cf95e1ec2e ICU-13139 fix EOL in distrelease.ps1, fix dist.mk
.zip and .tgz file is now equivalent

X-SVN-Rev: 40885
2018-02-09 22:32:32 +00:00
Steven R. Loomis
78944eae33 ICU-10452 update make dist to work without svn export
X-SVN-Rev: 40552
2017-10-04 22:26:24 +00:00
Jeff Genovy
ade067638e ICU-13164 Fixes for compilation and test errors when building for Windows/MinGW.
X-SVN-Rev: 40203
2017-06-23 23:28:11 +00:00
Steven R. Loomis
8e4379f9e7 ICU-13092 workaround: leave full data in the .zip file
X-SVN-Rev: 40035
2017-04-11 23:13:09 +00:00
Steven R. Loomis
7d5586210b ICU-13089 actually fix .sed bug
X-SVN-Rev: 39993
2017-04-07 00:00:03 +00:00
Steven R. Loomis
1f441dcfd8 ICU-12766 z and AIX porting: C++11 issue and icu-config issue for escaping
X-SVN-Rev: 39931
2017-03-24 21:34:40 +00:00
Steven R. Loomis
cf3e1e7f40 ICU-12766 turn on escaping for z (mh-os390)
X-SVN-Rev: 39840
2017-03-16 19:52:20 +00:00
Steven R. Loomis
e2c9cd10d5 ICU-12766 update make dist
* don't delete sprep
* properly part of ICU-10452 

X-SVN-Rev: 39836
2017-03-16 15:16:08 +00:00
Steven R. Loomis
ddcaeb9cf4 ICU-12766 solaris: most tests now build. wip
* some greek casing tests fail- need to investigate.

X-SVN-Rev: 39834
2017-03-16 14:51:39 +00:00
Steven R. Loomis
394e842e60 ICU-12766 aix/escaper: WIP.
* work around some c++11 issues
* fix some literals in rbbitst.cpp
* update escaper
* add mh-aix-va for using escaping
* work around nullptr and uchar16 issues
* revert bad icuinfo.cpp checkin

this commit still fails.

X-SVN-Rev: 39812
2017-03-15 04:12:37 +00:00
Steven R. Loomis
4968a203f0 ICU-12766 fix AIX compile opts and uchar include
X-SVN-Rev: 39754
2017-03-10 01:27:11 +00:00
Steven R. Loomis
faaaf5e796 ICU-13009 fix make dist, post reorg
X-SVN-Rev: 39751
2017-03-09 23:45:26 +00:00
Steven R. Loomis
f19978a35e ICU-13016 solaris porting
X-SVN-Rev: 39750
2017-03-09 02:12:45 +00:00
Steven R. Loomis
c8ed8a6048 ICU-12766 z: library and tools build
X-SVN-Rev: 39665
2017-02-11 02:43:09 +00:00
Andy Heninger
b15451322e ICU-12943 More Cygwin build fixes.
X-SVN-Rev: 39602
2017-01-25 06:08:26 +00:00
Andy Heninger
46beebce64 ICU-12943 Cygwin/MSVC Windows build fixes.
X-SVN-Rev: 39598
2017-01-23 00:38:28 +00:00
Steven R. Loomis
5474afe9d9 ICU-11387 improve source tarball packaging (post 58.1)
X-SVN-Rev: 39473
2016-10-20 17:22:15 +00:00
Steven R. Loomis
f334e613c1 ICU-12563 fix cross-compile with mingw
X-SVN-Rev: 39215
2016-09-13 20:29:47 +00:00
Steven R. Loomis
4136a2f257 ICU-12708 bye bye layout engine
X-SVN-Rev: 39176
2016-09-09 21:28:18 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Steven R. Loomis
77cd9e6aa4 ICU-11763 turn icuplugs off by default
add "--enable-plugins" to configure, and also "UCONFIG_ENABLE_PLUGINS".
These are disabled by default.

Also, start splitting out acinclude.m4 content to source/config/m4/..

X-SVN-Rev: 37675
2015-07-16 18:13:02 +00:00
Michael Ow
519c6be02d ICU-11528 Apply patch to fix build issues with AIX and GCC
X-SVN-Rev: 37485
2015-06-01 23:29:27 +00:00
Michael Ow
d29271fcce ICU-9985 Add support for msys msvc build environment
X-SVN-Rev: 36256
2014-08-27 22:42:28 +00:00
Michael Ow
41a76a46ba ICU-10580 Fix solaris gcc build issues
X-SVN-Rev: 36141
2014-08-12 02:11:22 +00:00
Steven R. Loomis
10c819d115 ICU-10580 revert r35955
X-SVN-Rev: 35956
2014-06-26 02:25:49 +00:00
Steven R. Loomis
f1c3fde98b ICU-10580 solaris-gcc fixes
X-SVN-Rev: 35955
2014-06-26 02:15:39 +00:00
Steven R. Loomis
88a77c56cf ICU-10826 don't need FFLAGS (Fortran flags)
X-SVN-Rev: 35953
2014-06-26 01:41:27 +00:00
Michael Ow
7bbd60c374 ICU-10492 Fix library name issue in mingw build
X-SVN-Rev: 35702
2014-05-10 06:59:22 +00:00
Michael Ow
550f0448d6 ICU-10732 Enable Cygwin64 build
X-SVN-Rev: 35672
2014-04-30 21:08:54 +00:00
Michael Ow
fefa024ccc ICU-10711 Update more fixes to zos pds dataset build
X-SVN-Rev: 35251
2014-02-27 19:23:50 +00:00
Michael Ow
6beb32f883 ICU-10548 Use hyphen when setting cl options on Cygwin MSVC builds
X-SVN-Rev: 34821
2013-12-31 20:51:27 +00:00
Steven R. Loomis
be63df401e ICU-6102 do not include system libraries in icu-config --ldflags
X-SVN-Rev: 34745
2013-12-12 00:25:57 +00:00
Michael Ow
1f1a501cd1 ICU-10557 Fix some zOS build errors caused by missing exports and pthread macros
X-SVN-Rev: 34733
2013-12-10 18:10:44 +00:00
Steven R. Loomis
625aaa18c7 ICU-10379 IBM i - make tests run without any special options, update readme
X-SVN-Rev: 34300
2013-09-13 05:48:16 +00:00
Michael Ow
5cf1e499d1 ICU-10290 Update bsd config file
X-SVN-Rev: 34247
2013-09-09 17:58:07 +00:00
Steven R. Loomis
bd7fd3318f ICU-10132 Reverting to options as of r477 - regressed in r32558
X-SVN-Rev: 34220
2013-09-06 06:22:23 +00:00
Steven R. Loomis
97f490833e ICU-10308 add back only the flags which make a difference
X-SVN-Rev: 34157
2013-08-30 22:45:31 +00:00