-
Notifications
You must be signed in to change notification settings - Fork 15
Portable Runtime For Firefox
License
adonais/libportable
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
HOW TO BUILD libportable source code?
=================
System requirements
------------------
- C compiler
mingw64, msys or msys2
MinGW project on:
http://sourceforge.net/projects/mingw-w64/
msys msys2 project on
https://sourceforge.net/projects/mingw/files/MSYS/
https://sourceforge.net/projects/msys2/
or
Microsoft Visual Studio .
Build!
------------------
mingw64 compiler
32bits or 64bits:
make clean
make
If gcc is a cross-compiler, use the CROSS_COMPILING option:
make clean
64bits:
make CROSS_COMPILING=x86_64-w64-mingw32-
32bits:
make CROSS_COMPILING=x86_64-w64-mingw32- BITS=32
more option:
make CROSS_COMPILING=x86_64-w64-mingw32- LTO=1
--------------------
vc compiler
nmake -f Makefile.msvc clean
nmake -f Makefile.msvc
vs2015 or vs2017 dynamic lininking the CRT:
nmake -f Makefile.msvc clean
nmake -f Makefile.msvc MSVC_CRT=1900
--------------------
clang compiler
make clean
make CC=clang (deault target build)
make CC=clang DFLAGS=--target=i686-pc-windows-gnu (x86 mingw32 target build)
If you have MSVC compiler installed
make clean
make CC=clang DFLAGS=--target=i686-pc-windows-msvc
make CC=clang DFLAGS=--target=x86_64-pc-windows-msvc
About
Portable Runtime For Firefox
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published