<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sven,<br>
<br>
I am more than happy to start all over with windows.<br>
Can give me instructions on how to install the crosstools and binutils
for windows? and maybe add them to the doc as well?<br>
Will I need to install mingw and other c related stuff (like make
command etc) in windows first?<br>
<br>
Hopefully, after that I can just follow your instruction to build cross
compilers in Windows word by word.<br>
 
<blockquote cite="mid:51B34F53.8050106@googlemail.com" type="cite">Ok,
then add the following option: "BINUTILSPREFIX=" (there is no value
after the "=", but ensure that there is a space to the next option if
there is any)
  <br>
  <br>
</blockquote>
<br>
<font color="#3333ff">Sorry, I am really ignorant and don't know where
to add the option? Should I modify the makefile? where should I add
that option?</font><br>
<br>
<blockquote cite="mid:51B34F53.8050106@googlemail.com" type="cite"> <br>
You'll need to change Lazarus' compiler to the newly compiled trunk
compiler. If you also built the normal linux one using "make all
install ..." you can point Lazarus to the directory which you passed in
INSTALL_PREFIX (in the example C:\fpc\2.7.1) and add the remaining path
to the fpc binary (on Windows "bin\i386-win32" on Linux just "bin").
Then you should be able to successfully set "Target CPU" in the
compiler settings to Mips and confirm with OK.
  <br>
  <br>
</blockquote>
I had problem compiling Lazarus, when I "make all install", it said:<br>
lazarus.pp(133,1) Error: Can't call the resource compiler
"/usr/bin/fpcres", switching to external mode<br>
lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping<br>
Fatal: Compilation aborted<br>
So I ended up downloading a debian Lazarus from Lazarus web site. <br>
<br>
So far, I only had experience in compiling using Lazarus. Never used
make or the fpc directly. <br>
Can you tell me the exact command I should use to 'point Lazarus to the
direcdtory which you passed in INSTALL_PREFIX ....' and "add the
remaining path to...'   <br>
<br>
Thanks so much.<br>
<br>
Dennis<br>
<br>
</body>
</html>