[Lazarus] ubuntu 8.04 - fpc and lazarus svn - crosscompile: ubuntu -> win32

Osvaldo TCF arquivostcf at gmail.com
Thu Jul 3 20:28:55 CEST 2008


The tree of directories is:

--|~
  |--|freepascal
     |--|install (fpc install)
     |--|binutils (uncompressed binutils source)
     |--|download (nothing to download)
     |--|fpc (fpc from svn export)

in ~/pascal-src/subversion/export/teste/tools/install/cross_unix
$: /subversion/export/teste/tools/install/cross_unix ./create_linux_cross_win32_deb.sh buildcrossfpc buildcrosswin32deb

...
+ cat buildcrosssnaphot
+ sed -e 's#^CROSSTOOLSROOT=.*
$#CROSSTOOLSROOT=/home/eu/freepascal/binutils/cross/#' -e 's#^FPCSVN=.*
$#FPCSVN=/home/eu/freepascal/fpc#' -e 's#^FPCCVS=.*
$#FPCCVS=/home/eu/freepascal/fpc#' -e 's#^TARGETS_OS=.*
$#TARGETS_OS=win32#' -e 's#^TARGETS_CPU=.*$#TARGETS_CPU=i386#' -e
's#^MOS=cygwin$#MOS=mingw32#'
+ echo 'building cross fpc for target i386-win32
in /home/eu/freepascal/bintuils/cross/destination/'
building cross fpc for target i386-win32
in /home/eu/freepascal/bintuils/cross/destination/
+ echo 'see logs in /home/eu/freepascal/bintuils/cross/logs/'
see logs in /home/eu/freepascal/bintuils/cross/logs/
+ sh buildcrosssnapshot.sh
HOST platform is unknown-linux
Building i386-win32
cant find binutils-i686-win32 for FPC-i386-win32
...

where is it: binutils-i686-win32 

...
+ mkdir -p /tmp/fpc_build/usr/bin/
+ MyIntel=i686
+ for Target in '$Targets'
++ echo i386-win32
++ sed -e 's#^\(.*\)-.*$#\1#'
+ TargetCPU=i386
++ echo i386-win32
++ sed -e 's#^.*-\(.*\)$#\1#'
+ TargetOS=win32
+ BinUtilsCPU=i386
+ BinUtilsOS=win32
+ '[' win32 = win32 ']'
+ BinUtilsOS=mingw32
+ BinUtilsCPU=i686
+ BinUtilsDir=/home/eu/freepascal/binutils/cross/bin/
+ BinUtilsPrefix=i686-mingw32-
+ cd /home/eu/freepascal/binutils/cross/bin/
./create_linux_cross_win32_deb.sh: line 160: cd: /home/eu/freepascal/binutils/cross/bin/: file or directory not found


   




More information about the Lazarus mailing list