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
f5f28c48
Commit
f5f28c48
authored
Dec 17, 2010
by
kgardas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provide shared libraries support on i386-unknown-solaris2 platform
parent
fb18c563
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
compiler/HsVersions.h
compiler/HsVersions.h
+1
-1
compiler/nativeGen/Platform.hs
compiler/nativeGen/Platform.hs
+1
-0
mk/config.mk.in
mk/config.mk.in
+1
-0
No files found.
compiler/HsVersions.h
View file @
f5f28c48
...
...
@@ -17,7 +17,7 @@ you will screw up the layout where they are used in case expressions!
#include "ghc_boot_platform.h"
/* This macro indicates that the target OS supports ELF-like shared libraries */
#if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS
#if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS
|| solaris2_TARGET_OS
#define elf_OBJ_FORMAT 1
#endif
...
...
compiler/nativeGen/Platform.hs
View file @
f5f28c48
...
...
@@ -58,6 +58,7 @@ osElfTarget :: OS -> Bool
osElfTarget
OSLinux
=
True
osElfTarget
OSFreeBSD
=
True
osElfTarget
OSOpenBSD
=
True
osElfTarget
OSSolaris2
=
True
osElfTarget
_
=
False
-- | This is the target platform as far as the #ifdefs are concerned.
...
...
mk/config.mk.in
View file @
f5f28c48
...
...
@@ -109,6 +109,7 @@ PlatformSupportsSharedLibs = $(if $(filter $(TARGETPLATFORM),\
i386-unknown-freebsd x86_64-unknown-freebsd
\
i386-unknown-openbsd x86_64-unknown-openbsd
\
i386-unknown-mingw32
\
i386-unknown-solaris2
\
i386-apple-darwin powerpc-apple-darwin
)
,YES,NO
)
# Build a compiler that will build *unregisterised* libraries and
...
...
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