Commit bd8c51fb authored by Martin Schreiber's avatar Martin Schreiber

* Crossarm template without "uses xlib".

* README.TXT.
parent 69b0949c
......@@ -342,11 +342,15 @@ REMOTEIP <the IP of the remote target>
REMOTEPORT <the remote port, ex: 2345>
REMOTEUSER pi
- 'Project'-'New'-'From Template', select "crossarmdefault.prj".
- 'Project'-'New'-'From Template', select "crossarmdefault.prj" or
"crossarmconsole.prj".
- Create the new project.
- 'Project'-'Options'-'Macros', set the TARGETPROJECTDIR value to the project
path in remote target, ex: "/home/pi/proj/testcase".
- Check the TARGETENV macro.
- If your application needs additional libraries copy them form Raspberry Pi
/lib/arm-linux-gnueabihf or /network/rpissh/usr/lib/arm-linux-gnueabihf to
<your crossfpc directory>/eabihf/lib
Press F9 and hope the best. ;-)
......
......@@ -3,7 +3,6 @@ program ${%PROJECTNAME%};
{$ifdef mswindows}{$apptype console}{$endif}
uses
{$ifdef FPC}{$ifdef unix}cthreads,cwstring,{$endif}{$endif}
sysutils,xlib;
//xlib necessary in order to avoid linking error, probably FPC bug
sysutils;
begin
end.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment