Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
libclfft
Commits
dc050e3a
Commit
dc050e3a
authored
Jul 26, 2012
by
Oliver Bock
Browse files
Ensure static linking of libgcc and libstdc++ (the latter requires GCC 4.5)
parent
227182c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
example/Makefile.mingw
View file @
dc050e3a
...
...
@@ -7,7 +7,7 @@ ARCH ?= 32
TARGET
=
clfft_example.exe
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(NVIDIA_SDK_INSTALL_PATH)
/OpenCL/common/inc
-I
$(AMDAPPSDKROOT)
/include
-I
../include
-D_WIN32_WINDOWS
=
0x0410
-malign-double
LDFLAGS
+=
$(PWD)
/../lib/libclfft.a
-lOpenCL
-L
../lib/amd/win
$(ARCH)
/2.6
LDFLAGS
+=
-static-libgcc
-static-libstdc
++
$(PWD)
/../lib/libclfft.a
-lOpenCL
-L
../lib/amd/win
$(ARCH)
/2.6
$(TARGET)
:
main.cpp Makefile $(PWD)/../lib/libclfft.a
$(CXX)
$(CXXFLAGS)
main.cpp
$(LDFLAGS)
-o
$(TARGET)
...
...
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