<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">ok, now i can compile some binaries,
but they dont run on my target system, i get this error:<br>
<br>
helloWorld4MIPS: line 1: syntax error: unexpected "("<br>
<br>
so i'm not sure about the right "toolchain"? i get a binary thats
starts with "ELF", what does it mean this "ELF" ? by the way, i
have switch to "mipsel".<br>
<br>
maybe, should i change to a debian system for cross-compile?<br>
<br>
greez & thx,<br>
sky...<br>
<br>
Am 26.10.2012 23:24, schrieb Sven Barth:<br>
</div>
<blockquote
cite="mid:CAFMUeB9N25FHqwT_HUQtCKBXzF5yXWo6FChDGYXduGe8Fsbf4A@mail.gmail.com"
type="cite">
<p>Am 26.10.2012 18:59 schrieb "SkyDiablo" <<a
moz-do-not-send="true" href="mailto:skydiablo@gmx.net">skydiablo@gmx.net</a>>:<br>
><br>
> ok, i play around with this stuff, but now i get this error
at compiling:<br>
><br>
> project1.lpr(0,0) Fatal: Can not find unit system used by
Project1.<br>
><br>
> i cant fix it :(</p>
<p>There are three things you can try:<br>
1. Ensure that your project settings ate correctly set to
mips-linux and that the correct compiler is used. You can check
this by doing a compile in Lazarus and when it reports the error
you right click on the message window and select "copy all
messages including hidden" (or so) and paste them somewhere you
can read them (e.g. after the final "end." of your project) and
check whether the compiler version is correct, the compiler date
(your compilation date) and that the target is set correctly</p>
<p>2. Maybe your search path is wrong. Take a look at your 2.7.1
fpc.cfg and search for a -Fu option with "rtl" at the end and
verify that this is the correct path and that a "system.ppu" and
"system.o" is located there.</p>
<p>3. Add the option "-vut" to the "other settings" memo in the
compiler options, copy the output as in 1. and check whether the
compiler indeed searches in the correct directory for
"system.ppu"</p>
<p>Regards,<br>
Sven</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>