Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frédéric Karamé
dynare
Commits
7a02236f
Commit
7a02236f
authored
12 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Fix mexopts.bat files for Cygwin
Quote %LIBLOC% for the case where it contains spaces
parent
1b317f1b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
windows/mexopts-win32.bat
+2
-2
2 additions, 2 deletions
windows/mexopts-win32.bat
windows/mexopts-win64.bat
+2
-2
2 additions, 2 deletions
windows/mexopts-win64.bat
with
4 additions
and
4 deletions
windows/mexopts-win32.bat
+
2
−
2
View file @
7a02236f
...
@@ -16,7 +16,7 @@ rem You will also need the "mingw64-i686-gcc-g++" package.
...
@@ -16,7 +16,7 @@ rem You will also need the "mingw64-i686-gcc-g++" package.
rem
rem
rem Initial version by Michel Juillard, revised by Sebastien Villemot.
rem Initial version by Michel Juillard, revised by Sebastien Villemot.
rem Copyright (C) 2009-201
0
Dynare Team
rem Copyright (C) 2009-201
3
Dynare Team
rem
rem
rem This file is part of Dynare.
rem This file is part of Dynare.
rem
rem
...
@@ -56,7 +56,7 @@ rem ********************************************************************
...
@@ -56,7 +56,7 @@ rem ********************************************************************
set
PRELINK_CMDS1
=
echo
EXPORTS
>
mex
.def
&
echo
mexFunction
>>
mex
.def
set
PRELINK_CMDS1
=
echo
EXPORTS
>
mex
.def
&
echo
mexFunction
>>
mex
.def
set
LIBLOC
=
%MATLAB%
\bin\win32\
set
LIBLOC
=
%MATLAB%
\bin\win32\
set
LINKER
=
i686
-w
64
-mingw
32
-gcc
set
LINKER
=
i686
-w
64
-mingw
32
-gcc
set
LINKFLAGS
=
-static-libgcc -shared
mex
.def
-L
%LIBLOC%
set
LINKFLAGS
=
-static-libgcc -shared
mex
.def
"
-L
%LIBLOC%
"
set
LINKFLAGSPOST
=
-lmex -lmx -lmwlapack -lmwblas
set
LINKFLAGSPOST
=
-lmex -lmx -lmwlapack -lmwblas
set
LINKOPTIMFLAGS
=
-O
3
set
LINKOPTIMFLAGS
=
-O
3
set
LINKDEBUGFLAGS
=
-g -Wall
set
LINKDEBUGFLAGS
=
-g -Wall
...
...
This diff is collapsed.
Click to expand it.
windows/mexopts-win64.bat
+
2
−
2
View file @
7a02236f
...
@@ -16,7 +16,7 @@ rem You will also need the "mingw64-x86_64-gcc-g++" package.
...
@@ -16,7 +16,7 @@ rem You will also need the "mingw64-x86_64-gcc-g++" package.
rem
rem
rem Initial version by Michel Juillard, revised by Sebastien Villemot.
rem Initial version by Michel Juillard, revised by Sebastien Villemot.
rem Copyright (C) 2009-201
0
Dynare Team
rem Copyright (C) 2009-201
3
Dynare Team
rem
rem
rem This file is part of Dynare.
rem This file is part of Dynare.
rem
rem
...
@@ -56,7 +56,7 @@ rem ********************************************************************
...
@@ -56,7 +56,7 @@ rem ********************************************************************
set
PRELINK_CMDS1
=
echo
EXPORTS
>
mex
.def
&
echo
mexFunction
>>
mex
.def
set
PRELINK_CMDS1
=
echo
EXPORTS
>
mex
.def
&
echo
mexFunction
>>
mex
.def
set
LIBLOC
=
%MATLAB%
\bin\win64\
set
LIBLOC
=
%MATLAB%
\bin\win64\
set
LINKER
=
x86_64
-w
64
-mingw
32
-gcc
set
LINKER
=
x86_64
-w
64
-mingw
32
-gcc
set
LINKFLAGS
=
-static-libgcc -shared
mex
.def
-L
%LIBLOC%
set
LINKFLAGS
=
-static-libgcc -shared
mex
.def
"
-L
%LIBLOC%
"
set
LINKFLAGSPOST
=
-lmex -lmx -lmwlapack -lmwblas
set
LINKFLAGSPOST
=
-lmex -lmx -lmwlapack -lmwblas
set
LINKOPTIMFLAGS
=
-O
3
set
LINKOPTIMFLAGS
=
-O
3
set
LINKDEBUGFLAGS
=
-g -Wall
set
LINKDEBUGFLAGS
=
-g -Wall
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment