[Lazarus] ubuntu 8.04 - fpc and lazarus svn - crosscompile: ubuntu -> win32
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Jul 4 09:03:08 CEST 2008
On Thu, 03 Jul 2008 15:28:55 -0300
Osvaldo TCF <arquivostcf at gmail.com> wrote:
> 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
Have you executed before:
./create_linux_cross_win32_deb.sh buildbinutils
?
>
> ...
> + 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
Mattias
More information about the Lazarus
mailing list