Recent

Author Topic: Trying to get WinCE cross compiler  (Read 2592 times)

zxsteve

  • Newbie
  • Posts: 2
Trying to get WinCE cross compiler
« on: February 10, 2015, 04:38:15 pm »
Hello all,
I get the following error message when I compile:-
The debugger
"C:\lazarus\mingw\$(TargetCPU)-$(TargetOS)\bin\gdb.e...
does not exist or is not executable.

See Tools -> Option -> Debugger Options.

I have set my compiler options to:-
Target OS:-WinCE
Target CPU:-arm

Checking in the mingw folder there is the following CPU:-
i386-win32

I have installed
Lazarus-1.2.6-FPC-2.6.4-WIN32
Lazarus-1.2.6-FPC-2.6.4-cross-arm-wince-win32

Can anyone help please?

TIA

zxsteve

  • Newbie
  • Posts: 2
Re: Trying to get WinCE cross compiler
« Reply #1 on: February 10, 2015, 04:52:12 pm »
I have re read the instruction and downloaded the GDB for wince, but when I compile it shows an error

Debugger Error

Oooops, the debugger entered the erorr state
Save your work now !

Hit Stop, and hope the best, we're pulling the plug.

The debugger could not set a breakpoint in on the application's entry point.
This may be caused by missing debug info.

The GDB command:
"info address main"
did not return any result.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9791
  • Debugger - SynEdit - and more
    • wiki
Re: Trying to get WinCE cross compiler
« Reply #2 on: February 10, 2015, 05:11:09 pm »
I dont know about wince much, but...

1) Are your settings ok?
http://wiki.lazarus.freepascal.org/Debugger_Setup

2) If yes, (in tools / options / debugger > the options grid) try to change InternalStartBreak  (try ...EntryPoint first)

This changed in 1.4, so if it does not work with 1.2 try trunk, or wait for 1.4

 

TinyPortal © 2005-2018