Einzelnen Beitrag anzeigen

Benutzerbild von JamesTKirk
JamesTKirk

Registriert seit: 9. Sep 2004
Ort: München
604 Beiträge
 
FreePascal / Lazarus
 
#18

AW: Programm bei Systemstart ausführen wie chkdsk?

  Alt 8. Aug 2012, 09:55
Was ich rausgefunden habe ist, dass bei folgenden Befehl:
Code:
make all OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=%DEIN_INSTALL_DIR%
vermutlich so besser funktioniert:
Code:
make all install OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=%DEIN_INSTALL_DIR%
Oh, stimmt. Sorry. Das kommt davon wenn man noch zehntausend mal rumeditiert

Doch bei dem nächsten Befehl (bei mir ist %DEIN_INSTALL_DIR%=c:\fpc\trunkbuild):
Code:
make all OS_TARGET=nativent CPU_TARGET=i386 FPC=c:\fpc\trunkbuild\bin\i386-win32\ppc386.exe
bekomme ich zum Schluß folgende Fehlermeldung:
Code:
...
[ 96%] Skipped package x11 which has been disabled for target i386-nativent
[ 97%] Skipped package xforms which has been disabled for target i386-nativent
[ 98%] Skipped package zlib which has been disabled for target i386-nativent
[ 99%] Skipped package zorba which has been disabled for target i386-nativent
make[2]: Leaving directory `C:/FPC/trunk/packages'
make[1]: Leaving directory `C:/FPC/trunk'
make utils_all FPC=C:/FPC/trunk/compiler/ppcross386.exe RELEASE=1
make[1]: Entering directory `C:/FPC/trunk'
make -C utils all
make[2]: Entering directory `C:/FPC/trunk/utils'
C:/FPC/trunk/compiler/ppcross386.exe -Tnativent -XPi386-nativent- -Xr -Ur -Xs -O
2 -n -FuC:/FPC/trunk/rtl/units/i386-nativent -FuC:/FPC/trunk/packages/paszlib -F
uC:/FPC/trunk/packages/fcl-process/units/i386-nativent -FuC:/FPC/trunk/packages/
hash/units/i386-nativent -FuC:/FPC/trunk/packages/fpmkunit -FuC:/FPC/trunk/packa
ges/fcl-base/units/i386-nativent -FE. -FUunits/i386-nativent -di386 -dRELEASE p
pdep.pp
ppdep.pp(18,6) Fatal: Can't find unit Dos used by ppdep
Fatal: Compilation aborted
make[2]: *** [ppdep.exe] Error 1
make[2]: Leaving directory `C:/FPC/trunk/utils'
make[1]: *** [utils_all] Error 2
make[1]: Leaving directory `C:/FPC/trunk'
make: *** [build-stamp.i386-nativent] Error 2

C:\FPC\trunk>_
Ich hatte das doch behoben!? Ach ne... des sind ja die Utils... ich muss echt schauen, dass ich diese verdammte Unit Dos implementiere... hmmm... Probier mal bitte das Folgende innerhalb deines 2.7.1 Source Verzeichnisses:
Code:
cd rtl
make clean all install OS_TARGET=nativent CPU_TARGET=i386 FPC=%DEIN_INSTALL_DIR%\i386-win32\fpc.exe INSTALL_PREFIX=%DEIN_INSTALL_DIR%
cd ..\packages
make clean all install OS_TARGET=nativent CPU_TARGET=i386 FPC=%DEIN_INSTALL_DIR%\i386-win32\fpc.exe INSTALL_PREFIX=%DEIN_INSTALL_DIR%
Falls das "install" im RTL Verzeichnis scheitert, dann führe bitte das Folgende dort aus (notfalls per Explorer ):
Code:
mkdir %DEIN_INSTALL_DIR%\units\i386-nativent
mkdir %DEIN_INSTALL_DIR%\units\i386-nativent\rtl
copy units\i386-nativent\* %DEIN_INSTALL_DIR%\units\i386-nativent
Wie gesagt: Der Native NT Port ist noch experimentell, das trifft auch noch auf die Buildsequenz zu, auch wenn sie bereits um einiges besser ist, als in 2.6.0

Gruß,
Sven
Sven
[Free Pascal Compiler Entwickler]
this post is printed on 100% recycled electrons
  Mit Zitat antworten Zitat