Commit Graph

19 Commits

Author SHA1 Message Date
407db3d915 Restore abandoned lines in bridges/Library_cpp_uno.mk
Fixes build error:
    bridges/Module_bridges.mk:29: *** no bridge selected for build: bailing out. Stop.

Change-Id: I1d173e75ade45878e53ed07758783bdb5a7370c8
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-24 12:33:41 +01:00
72bbd83c03 Intermediate work in progress commit on the arm64 C++/UNO bridge
Note that the arm64 code is not even close to "working" yet.

Change-Id: I261d09f7e797cded26396ed0d4b8b3021f712ebf
2013-12-08 14:16:16 +02:00
eca3dec204 fdo#42783: remove CPU variable from environment
Replace uses with CPUNAME instead, and get rid of the horrible
postgresql patch that worked around environment leakage.

Change-Id: I38ccabfc438360524a272901bb9332ea708e274c
2013-11-07 01:34:43 +01:00
5905dfeaff gbuild: refactor LinkTarget representation
If the link targets are not in workdir then 2 different aspects are
needed: the previously used location relative to workdir's LinkTarget
dir (for all the misc. related targets), and the full target file.

Adding an additional parameter to all LinkTarget functions would be
quite annoying, especially since it would need passing through all the
gb_LinkTarget__use functions in RepositoryExternal.mk; instead encode
both into the linktarget itself, and modify the functions
gb_LinkTarget_get_target to return the target and all others to return
the workdir linktargetname.

- replace gb_Library_get_linktargetname with either:
  * gb_Library__get_workdir_linktargetname
  * gb_Library__get_linktarget_target
  * gb_Library_get_linktarget
- similar for gb_Executable_get_linktargetname
- similar for gb_StaticLibrary_get_linktargetname
- similar for gb_CppunitTest__get_linktargetname
- add calls to gb_LinkTarget__get_workdir_linktargetname where needed

Change-Id: I917ad7957fee50ec2517a9f9cc9ff452c8d97d1b
2013-09-22 11:08:29 +02:00
211544a5f2 Compiling but not working mingw_x86-64 bridges
Change-Id: I5ea6edf367dd18e60a86d12c523b7732a8ac44d4
2013-06-04 15:15:21 +02:00
5bf53717ec Some configury and non-working stubs to start to compiler for Win64 with MinGW
Change-Id: I907c3ea083e8d7f9e48fc62dd6d5b783639438cb
2013-06-04 14:22:03 +02:00
e1823ea132 compile callvirtualmethod with -fnon-call-exceptions
Change-Id: Ibcf70dd5626474bb2a023ce43d7ac661401fd1cb
2013-05-29 12:58:46 +01:00
3d8acc0cd8 bridge_lib_name is $(gb_CPPU_ENV)_uno
Also fix gb_CPPU_ENV := msc6 in WNT_X86_64_MSC.mk
to be consistent with the name we register in Repository.mk.

Change-Id: I1520d78c378f8c48d65defb22c4c77277bd061f7
2013-04-15 14:00:39 +02:00
1155f02484 The OS X x86_64 callvirtualmethod.cxx doesn't work if optimized
Change-Id: Ib7a5cfa3f547364ba04e09d4829b7f3a477c731f
2013-04-09 00:54:30 +03:00
9e6afcf162 Pre-cache type_info for com::sun::ucb::InteractiveAugmentedIOException
It seems to be the type_info most commonly looked up dynamically, even
the only one in an initial test. I think it is a good idea to avoid
dlsym() if possible.

Change-Id: I0379c534e10efefafdd253ee651f6c74e4aa47d5
2013-04-07 01:13:36 +03:00
7aa6f1b014 Remove Mac OS X for PowerPC support
Change-Id: I10b15141e6a5f93365e1cfa6fbc0c7cc3ea49b15
2013-04-03 21:13:17 +03:00
d72b4106e2 make bridges work with clang on x64 linux
Change-Id: Idf5c7586e375f0321c765d165f9698403b7a7daf
2013-03-24 10:21:32 -04:00
452d7b60c4 Fix typo in previous commit.
Change-Id: I3b4a23dff3c2db14146351513e9fa1ea5ab3e256
2013-03-21 12:50:07 +01:00
7e1053381f Fix -mno-avx calls by removing weird OS check.
Change-Id: Icecceda1b36110757754bcdbcecaae307d015fc9
2013-03-21 12:48:01 +01:00
90a2d46ecb Add the call.s source for the MinGW case
Another blind fix attempt.

Change-Id: I5ec2ba5e595a382c53e6975b8dc65644fc8e7409
2013-03-19 14:57:53 +02:00
c70aa412ed No -ldl for MinGW either
Change-Id: I7e74559d2edd1adc9225a935735ba4f6fd7eea24
2013-03-19 11:07:59 +02:00
f98c6043fc Move the WNTGCC case under the case for CPU=I
Otherwise no case matched for the MinGW build.

Change-Id: Ia57c7cf09dbd450c91c4e595c7070ce82b484797
2013-03-19 10:08:49 +02:00
3e15692344 Insert empty lines for clarity
Now the outermost if..else if..endif chain should stand out more clearly.

Change-Id: I62573aea02d0d0f721e00129d0e40f1b11864527
2013-03-19 10:08:49 +02:00
a1fbebff26 Cleanup bridges module
Reduce excessive copy-pasting
Remove bridges for C50 and C52 compilers which aren't in configure any
more
Prevent LTO from being used in the bridges module because it causes
crashes

Change-Id: I7ff85c2e8d6ff89c5acd48aea415e0960b3ef812
Reviewed-on: https://gerrit.libreoffice.org/2765
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-18 07:53:21 +00:00