DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38195>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38195
Summary: Build system not respecting -static-libgcc flag
Product: Apache httpd-2
Version: 2.0.55
Platform: Other
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P2
Component: Build
AssignedTo: bugs@httpd.apache.org
ReportedBy: marko.asplund@kronodoc.com
I'm trying to build Apache with gcc but with the configuration I'm using Apache gets dynamically
linked
with libgcc by default. This is a big problem since I'm building Apache on one machine and
delivering it
to systems that don't have gcc (and thus libgcc installed). For this reason I need to be able
to build
Apache without the dynamic libgcc linkage.
I tried configuring Apache with the '-static-libgcc' gcc flag but this doesn't seem to have
any effect on
the resulting binary. I added the flag to both CFLAGS and LDFLAGS during configure.
Here's the build procedure I'm using:
export PATH=/opt/local/gcc/4.0/bin:$PATH:/usr/ccs/bin:/opt/sfw/bin
CC=gcc CFLAGS="-mcpu=v9 -m64 -static-libgcc" LDFLAGS="-static-libgcc" \
./configure --prefix=/home/aspa/tmp/h4 \
--enable-ssl --with-ssl=/opt/openssl/kb3404 \
--enable-proxy=shared --enable-proxy-http=shared \
--enable-cache=shared --enable-disk-cache=shared \
--enable-usertrack=shared --enable-rewrite
gmake
gmake install top_dir=/home/aspa/tmp/h4
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
|