Recent

Author Topic: Building WinCE cross compiler from sources  (Read 8411 times)

magi6162

  • New Member
  • *
  • Posts: 42
Building WinCE cross compiler from sources
« on: January 15, 2008, 01:18:19 pm »
I installed
Lazarus-0.9.25-fpc-2.2.1-20080115-win32.exe
I want to  Building WinCE cross compiler from sources
I follow the instructions in wiki WINCE port
but when i run the batch file  to step3
error: make: *** No rule to make target `cycle'.  Stop.

why?

tnky for help
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP

yuriy_sydorov

  • Full Member
  • ***
  • Posts: 158
RE: Building WinCE cross compiler from sources
« Reply #1 on: January 15, 2008, 04:43:13 pm »
Read instructions more carefully.
You need to execute make cycle from compiler folder.

windy

  • Full Member
  • ***
  • Posts: 186
RE: Building WinCE cross compiler from sources
« Reply #2 on: January 17, 2008, 12:02:35 am »
often the no rule to make target error occurs though if the files to be created already exist (i.e delete those files first)
I think

magi6162

  • New Member
  • *
  • Posts: 42
Re: RE: Building WinCE cross compiler from sources
« Reply #3 on: January 18, 2008, 10:04:08 am »
Quote from: "yury_sidorov"
Read instructions more carefully.
You need to execute make cycle from compiler folder.


i download arm-wince-binutils.zip and unzip in c:\lazarus\arm

i make a file .bat: (in c:\lazarus\fpc\2.2.1\bin\i386-win32)

PATH=C:\lazarus\fpc\2.2.1\bin\i386-win32;C:\lazarus\arm
make cycle CPU_TARGET=arm OS_TARGET=wince

but I get the same error

help me please.
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP

Zaher

  • Hero Member
  • *****
  • Posts: 679
    • parmaja.org
RE: Re: RE: Building WinCE cross compiler from sources
« Reply #4 on: January 18, 2008, 09:52:55 pm »
to make fpc
make all OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-wince- pp=ppc386.exe
to make lazarus
make lcl LCL_PLATFORM=wince CPU_TARGET=arm OS_TARGET=wince PP=ppcrossarm.exe OPT=-g

magi6162

  • New Member
  • *
  • Posts: 42
Re: RE: Re: RE: Building WinCE cross compiler from sources
« Reply #5 on: January 21, 2008, 10:07:42 am »
Quote from: "zaher"
to make fpc
make all OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-wince- pp=ppc386.exe
to make lazarus
make lcl LCL_PLATFORM=wince CPU_TARGET=arm OS_TARGET=wince PP=ppcrossarm.exe OPT=-g


same error:
error: make: *** No rule to make target `all'. Stop. or
error: make: *** No rule to make target `lcl'. Stop.

the batch file, i use:
PATH=C:\lazarus\fpc\2.2.1\bin\i386-win32;C:\Lazarus\arm
make lcl LCL_PLATFORM=wince CPU_TARGET=arm OS_TARGET=wince PP=ppcrossarm.exe OPT=-g
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP

Legolas

  • Full Member
  • ***
  • Posts: 117
    • http://itaprogaming.free.fr
Building WinCE cross compiler from sources
« Reply #6 on: January 21, 2008, 12:44:46 pm »
Maybe your path declaration should be
Code: [Select]
set path=...

 

TinyPortal © 2005-2018