Update build instructions for static building

RESOLVED FIXED

Status

--
minor
RESOLVED FIXED
17 years ago
17 years ago

People

(Reporter: resistor, Assigned: saari)

Tracking

({verifyme})

Details

(URL)

(Reporter)

Description

17 years ago
I have as yet been unable to make a static build.  I get this error:

/usr/bin/ld: ../intl/unicharutil/src/libunicharutil.dylib is input for the
dynamic link editor, is not relocatable by the static link editor again
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in
errors or different symbols being used
symbol _libVersionPoint used from dynamic library
../dist/bin/libplc4.dylib(plvrsion.o) not from earlier dynamic library
@executable_path/libplds4.dylib(plvrsion.o)
I'll try to get this added to the build instructions today... you'll want to add
the following options to your mozconfig file:

ac_add_options --enable-static
ac_add_options --disable-shared

Then when you build Chimera, make sure to build the NavigatorStatic target
instead of the Navigator target, i.e.

pbxbuild -target NavigatorStatic -buildstyle Deployment install

Note that debug static builds are untested and probably won't work.
Build instructions have been updated (should appear on www.mozilla.org in 1-2
hours).
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Updated

17 years ago
Keywords: verifyme

Comment 3

17 years ago
Verified that the two ac_add_options options now appear at the URL. I don't see
the line about pbxbuild, but it looks like that stuff has been subsequently
edited further.
You need to log in before you can comment on or make changes to this bug.