Results 1 to 10 of 12

Thread: FPC 4 Wii

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    I managed to get to the build_libs.bat step, but there i get:
    D:\fpc4wii\build_libs>build_libs.bat
    Processing Makefile.fpc
    powerpc-wii requires: rtl
    Writing Makefile
    /bin/rm.exe -f units/powerpc-wii/mad.ppu
    /bin/rm.exe -rf units
    /bin/rm.exe -f *.o *.ppu *.rst *.s *.a *.so *.ppl
    /bin/rm.exe -rf *.sl
    /bin/rm.exe -f fpcmade.* Package.fpc ppas.sh script.res link.res
    /bin/rm.exe -f *_ppas.bat
    /d/FPC/2.2.4/bin/i386-Win32/gmkdir.exe -p units/powerpc-wii
    ppcppc.exe -Twii -Ppowerpc -XPpowerpc-eabi- -Xr -Fu../../rtl/units/powerpc-wii -
    Fisrc -FE. -FUunits/powerpc-wii -dpowerpc src/mad.pas
    Fatal: Can't find unit system used by mad
    Fatal: Compilation aborted
    make: *** [mad.ppu] Error 1
    Er bestaat al een submap of bestand D:\fpc4wii\units\powerpc-wii\mad.
    0 bestand(en) gekopieerd
    FPCMake Version 2.0.0 [2011/02/28]
    Processing Makefile.fpc
    Targets: "powerpc-wii"
    Globals:
    FPCDIR = "../.."
    PACKAGESDIR = "$(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages
    /extra $(FPCDIR)/packages"
    UNITSDIR = "$(FPCDIR)/units/$(FULLTARGET)"
    BASEDIR = "D:\FPC_SVN\packages\mad"
    Required packages for wii-powerpc: rtl
    Package "rtl": Looking for Makefile.fpc: "../../rtl/Makefile.fpc ../../packages
    /rtl/Makefile.fpc ../../packages/base/rtl/Makefile.fpc ../../packages/extra/rtl/
    Makefile.fpc ../../packages/rtl/Makefile.fpc "
    Package rtl: ../../rtl/Makefile.fpc
    Required packages for wii-powerpc:
    Required dirs for powerpc-wii: wii
    Subdir: ../../rtl/wii/Makefile.fpc
    Required packages for wii-powerpc:
    Required dirs for powerpc-wii:
    Required dirs for powerpc-wii:
    Writing Package.fpc
    1 bestand(en) gekopieerd.
    Druk op een toets om door te gaan. . .
    Yes i use d instead of c, but i changed the bat files accordingly. A note on the one should edit the .bat files accordingly to the svn folder for fpc could not hurt. Also move in your new ... could be better frased as Go to the new ...

    Looking into the previouse step build_rtl.bat i now noticed the following error message:
    d:/fpc4wii/bin/powerpc-wii/ppcppc.exe -Twii -Ppowerpc -XPpowerpc-eabi- -Xr -Fi..
    /inc -Fi../powerpc -FE. -FU../../rtl/units/powerpc-wii -Twii -CX -XX -O2 -dpower
    pc -Us -Sg system.pp
    thread.inc(411,10) Warning: Function result does not seem to be set
    libc.inc(17,10) Warning: Function result does not seem to be set
    system.pp(144,2) Warning: Variable "execpathstr" read but nowhere assigned
    d:\fpc4wii\bin\powerpc-wii\powerpc-eabi-ar.exe: creating ..\..\rtl\units\powerpc
    -wii\libpsystem.a
    d:\fpc4wii\bin\powerpc-wii\powerpc-eabi-ar.exe: unable to rename '..\..\rtl\unit
    s\powerpc-wii\libpsystem.a'; reason: Permission denied
    system.pp(275) Error: Error while linking
    system.pp(275) Fatal: There were 1 errors compiling module, stopping
    Fatal: Compilation aborted
    make: *** [system.ppu] Error 1
    Bestand niet gevonden - *.*
    0 bestand(en) gekopieerd
    Doing a new build_rtl.bat seems to be going better and not give the previous error. Now on to the build_libs.bat again ....

    Now build_libs.bat gives no errors.

    But when building the examples i get:
    D:\fpc4wii\build_examples\examples>make OS_TARGET=wii CPU_TARGET=powerpc BINUTIL
    SPREFIX=powerpc-eabi- PP=ppcppc.exe
    make -C audio all
    make[1]: Entering directory `/d/fpc4wii/build_examples/examples/audio'
    make -C modplay all
    make[2]: Entering directory `/d/fpc4wii/build_examples/examples/audio/modplay'
    Converting technique.mod file to asm...
    Creating technique.mod.inc include file...
    Assembling technique.mod.s file...
    Done!
    ppcppc.exe -Twii -Ppowerpc -XPpowerpc-eabi- -Xr -g -Xm -FE. -FUunits/powerpc-wii
    -dpowerpc modplay.pp
    Fatal: Can't find unit system used by modplay
    Fatal: Compilation aborted
    make[2]: *** [modplay.dol] Error 1
    make[2]: Leaving directory `/d/fpc4wii/build_examples/examples/audio/modplay'
    make[1]: *** [modplay_all] Error 2
    make[1]: Leaving directory `/d/fpc4wii/build_examples/examples/audio'
    make: *** [audio_all] Error 2
    Last edited by noeska; 28-02-2011 at 06:49 PM.
    http://3das.noeska.com - create adventure games without programming

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •