Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
9898358f
Commit
9898358f
authored
Oct 07, 2008
by
Clemens Fruhwirth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change suffix for dyn. linked executables from _real to .dyn
parent
65d029ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
compiler/main/DriverPipeline.hs
compiler/main/DriverPipeline.hs
+2
-2
rts/dyn-wrapper.c
rts/dyn-wrapper.c
+1
-1
No files found.
compiler/main/DriverPipeline.hs
View file @
9898358f
...
...
@@ -1188,8 +1188,8 @@ runPhase_MoveBinary dflags input_fn dep_packages
Wrapped
wrapmode
->
do
let
(
o_base
,
o_ext
)
=
splitExtension
input_fn
let
wrapped_executable
|
o_ext
==
"exe"
=
(
o_base
++
"
_real
"
)
<.>
o_ext
|
otherwise
=
input_fn
++
"
_real
"
let
wrapped_executable
|
o_ext
==
"exe"
=
(
o_base
++
"
.dyn
"
)
<.>
o_ext
|
otherwise
=
input_fn
++
"
.dyn
"
behaviour
<-
wrapper_behaviour
dflags
wrapmode
dep_packages
-- THINKME isn't this possible to do a bit nicer?
...
...
rts/dyn-wrapper.c
View file @
9898358f
...
...
@@ -16,7 +16,7 @@
/* All defining behavior string */
char
behaviour
[]
=
BEHAVIOUR
;
#define REAL_EXT "
_real
"
#define REAL_EXT "
.dyn
"
#define REAL_EXT_S (sizeof(REAL_EXT)-1)
void
*
smalloc
(
size_t
size
);
...
...
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