Summary: | Solaris build needs work | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Norm Jacobs <Norm.Jacobs> |
Component: | Build Process | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | Sun | ||
OS: | SunOS | ||
Customer: | Word Size: | --- | |
Attachments: |
build changes for Sun Workshop compilers
Updated build patch for workshop compilers |
Description
Norm Jacobs
2007-09-30 23:04:20 UTC
Created attachment 3429 [details]
build changes for Sun Workshop compilers
This patch updates the build to work with either gcc or the Sun Workshop
compilers on Solaris. I built the so version using both gcc and workshop with
these changes.
While building this patch, I noticed some places in the build where platform
checks could be improved as well.
Created attachment 3430 [details]
Updated build patch for workshop compilers
This update fixes the build of shared objects in devs.mak to build on Solaris
as well as all fixes in the previous patch attached.
I've committed the grep fix. The rest needs work to not break other platforms. Is -KPIC really the appropriate choice for non-gcc compilers? Grabbing a Ralph's bugs. Between Alex's commits 11976 and 11984, and my commit 12035, the shared library builds on Sparc Solaris should now work correctly with both gcc and Sun cc. NOTE: the "so" target still requires GNU make. |