Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
dc39ceb3
Commit
dc39ceb3
authored
Dec 22, 2016
by
Luca Boccassi
Committed by
GitHub
Dec 22, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2268 from imkos/master
Mingw32 Compile
parents
fe3756de
43941052
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Makefile.mingw32
builds/mingw32/Makefile.mingw32
+4
-4
platform.hpp
builds/mingw32/platform.hpp
+2
-0
No files found.
builds/mingw32/Makefile.mingw32
View file @
dc39ceb3
CC
=
gcc
CFLAGS
=
-Wall
-Os
-g
-DDLL_EXPORT
-DFD_SETSIZE
=
16384
-DZMQ_USE_SELECT
-I
.
LIBS
=
-lws2_32
-lIphlpapi
LIBS
=
-lws2_32
-lIphlpapi
-lsodium
OBJS
=
ctx.o reaper.o dist.o err.o
\
clock.o metadata.o random.o
\
...
...
@@ -27,7 +27,7 @@ OBJS = ctx.o reaper.o dist.o err.o \
mechanism.o null_mechanism.o plain_client.o plain_server.o
\
socks.o server.o decoder_allocators.o socks_connecter.o
\
socket_poller.o mailbox_safe.o plain_server.o client.o timers.o
\
zmq.o zmq_utils.o
zmq.o zmq_utils.o
gather.o scatter.o dgram.o
%.o
:
../../src/%.cpp
$(CC)
-c
-o
$@
$<
$(CFLAGS)
...
...
@@ -40,10 +40,10 @@ all: libzmq.dll
perf
:
inproc_lat.exe inproc_thr.exe local_lat.exe local_thr.exe remote_lat.exe remote_thr.exe
libzmq.dll
:
$(OBJS)
g++
-shared
-o
$@
$^
-Wl
,--out-implib,
$@
.a
$(LIBS)
g++
-shared
-
static
-O2
-s
-
o
$@
$^
-Wl
,--out-implib,
$@
.a
$(LIBS)
%.exe
:
%.o libzmq.dll
g++
-o
$@
$^
g++
-o
-O2
$@
$^
clean
:
del
*
.o
*
.a
*
.dll
*
.exe
builds/mingw32/platform.hpp
View file @
dc39ceb3
...
...
@@ -38,4 +38,6 @@
#define ZMQ_HAVE_WINDOWS
#define ZMQ_USE_LIBSODIUM
#endif
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