Closed Bug 151358 Opened 23 years ago Closed 23 years ago

Update build instructions for static building

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: resistor, Assigned: saari)

References

()

Details

(Keywords: verifyme)

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
Closed: 23 years ago
Resolution: --- → FIXED
Keywords: verifyme
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.