Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
063afe51
Kaydet (Commit)
063afe51
authored
Tem 23, 2012
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Check for the msi* build requirements in configure.in + update README.cross.
Change-Id: I0da3e604ebd0665c5405174957d852677195126b
üst
67e3e8bd
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
7 deletions
+33
-7
README.cross
README.cross
+10
-0
configure.in
configure.in
+18
-2
makefile.mk
setup_native/source/win32/wintools/makecab/makefile.mk
+1
-1
makefile.mk
setup_native/source/win32/wintools/msidb/makefile.mk
+1
-1
makefile.mk
setup_native/source/win32/wintools/msiinfo/makefile.mk
+1
-1
makefile.mk
setup_native/source/win32/wintools/msimsp/makefile.mk
+1
-1
makefile.mk
setup_native/source/win32/wintools/msitran/makefile.mk
+1
-1
No files found.
README.cross
Dosyayı görüntüle @
063afe51
...
...
@@ -93,6 +93,16 @@ zypper in mingw32-cross-gcc mingw32-cross-gcc-c++ mingw32-python-devel \
mingw32-libcppunit-devel mingw32-libredland mingw32-libredland-devel \
mingw32-libmythes mingw32-libmythes-devel
You also need wine, ideally:
zypper ar http://download.opensuse.org/repositories/Emulators:/Wine/<your_os>/Emulators:Wine.repo
zypper in wine wine-devel wine-devel-32bit
And in order to be able to use 'winegcc -m32', also
zypper in glibc-devel-32bit gcc-32bit
There might be more that are missing, please read carefully what autogen.sh
tells you, and either remove one of the --with-system-*, or install the
missing dependency.
...
...
configure.in
Dosyayı görüntüle @
063afe51
...
...
@@ -74,8 +74,6 @@ else
fi
AC_SUBST(CROSS_COMPILING)
AC_PATH_PROG(WINEGCC, winegcc)
AC_PROG_EGREP
# AC_PROG_EGREP doesn't set GREP on all systems as well
AC_PATH_PROG(GREP, grep)
...
...
@@ -2366,6 +2364,24 @@ if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
AC_PROG_CC
fi
dnl We need winegcc when building MinGW build to be able to cross-build msi tools
AC_PATH_PROG(WINEGCC, winegcc)
if test "$WITH_MINGW" = "yes" ; then
if test "$WINEGCC" = ""; then
AC_MSG_ERROR([winegcc was not found, please install wine-devel, or wine-devel-32bit])
fi
CC_save="$CC"
CC="$WINEGCC -m32"
AC_LINK_IFELSE([AC_LANG_PROGRAM([
#include <stdio.h>
],[
printf ("hello world\n");
])],,
[AC_MSG_ERROR([winegcc cannot build 32bit binaries, please install glibc-devel-32bit and gcc-32bit])]
)
CC="$CC_save"
fi
COMPATH=`dirname "$CC"`
if test "$COMPATH" = "."; then
AC_PATH_PROGS(COMPATH, $CC)
...
...
setup_native/source/win32/wintools/makecab/makefile.mk
Dosyayı görüntüle @
063afe51
...
...
@@ -27,7 +27,7 @@ TARGET=sn_makecab
$(BIN)/makecab.exe.so
:
$(BIN)/makecab.exe
$(BIN)/makecab.exe
:
$(WINEGCC)
-o
$(BIN)
/makecab.exe makecab.c parseddf.c
-m
console
-lmsi
$(WINEGCC)
-o
$(BIN)
/makecab.exe makecab.c parseddf.c
-m
32
-mconsole
-lmsi
# --- Targets --------------------------------------------------------------
...
...
setup_native/source/win32/wintools/msidb/makefile.mk
Dosyayı görüntüle @
063afe51
...
...
@@ -27,7 +27,7 @@ TARGET=sn_msidb
$(BIN)/msidb.exe.so
:
$(BIN)/msidb.exe
$(BIN)/msidb.exe
:
$(WINEGCC)
-o
$(BIN)
/msidb.exe msidb.c
-m
unicode
-lmsi
$(WINEGCC)
-o
$(BIN)
/msidb.exe msidb.c
-m
32
-municode
-lmsi
# --- Targets --------------------------------------------------------------
...
...
setup_native/source/win32/wintools/msiinfo/makefile.mk
Dosyayı görüntüle @
063afe51
...
...
@@ -27,7 +27,7 @@ TARGET=sn_msiinfo
$(BIN)/msiinfo.exe.so
:
$(BIN)/msiinfo.exe
$(BIN)/msiinfo.exe
:
$(WINEGCC)
-o
$(BIN)
/msiinfo.exe msiinfo.c
-m
console
-municode
-lmsi
$(WINEGCC)
-o
$(BIN)
/msiinfo.exe msiinfo.c
-m
32
-mconsole
-municode
-lmsi
# --- Targets --------------------------------------------------------------
...
...
setup_native/source/win32/wintools/msimsp/makefile.mk
Dosyayı görüntüle @
063afe51
...
...
@@ -27,7 +27,7 @@ TARGET=sn_msimsp
$(BIN)/msimsp.exe.so
:
$(BIN)/msimsp.exe
$(BIN)/msimsp.exe
:
$(WINEGCC)
-o
$(BIN)
/msimsp.exe msimsp.c
-m
console
-lmsi
$(WINEGCC)
-o
$(BIN)
/msimsp.exe msimsp.c
-m
32
-mconsole
-lmsi
# --- Targets --------------------------------------------------------------
...
...
setup_native/source/win32/wintools/msitran/makefile.mk
Dosyayı görüntüle @
063afe51
...
...
@@ -27,7 +27,7 @@ TARGET=sn_msitran
$(BIN)/msitran.exe.so
:
$(BIN)/msitran.exe
$(BIN)/msitran.exe
:
$(WINEGCC)
-o
$(BIN)
/msitran.exe msitran.c
-m
console
-lmsi
$(WINEGCC)
-o
$(BIN)
/msitran.exe msitran.c
-m
32
-mconsole
-lmsi
# --- Targets --------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment