Difference between revisions of "Compiling ScummVM/Mac OS X Crosscompiling"

Jump to navigation Jump to search
→‎PPC build: fix previous modification that was partially incorrect
(→‎PPC build: update instructions for crosscompiling)
(→‎PPC build: fix previous modification that was partially incorrect)
Line 43: Line 43:
Once you've set up all the dependency libraries, you're ready to build ScummVM itself.
Once you've set up all the dependency libraries, you're ready to build ScummVM itself.


First, there's a couple of minor changes we have to do to the ScummVM <code>config.mk</code> file.
First, there a minor change we have to do to the ScummVM <code>config.mk</code> file.


Find the line that says:
Find the line that says:
Line 51: Line 51:
  STATICLIBPATH=/opt/1028libs
  STATICLIBPATH=/opt/1028libs


Next, find the section that starts with:
Next we also have to modify the <code>ports.mk</code> file.
 
Find the section that starts with:
  scummvm-static: $(OBJS)
  scummvm-static: $(OBJS)
This is the part of <code>ports.mk</code> that compiles our static binary (so we can distribute it to others without them having to have all the libraries installed)
This is the part of <code>ports.mk</code> that compiles our static binary (so we can distribute it to others without them having to have all the libraries installed)
TrustedUser
2,147

edits

Navigation menu