Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-17 Thread Adriaan van Os
Daniël Mantione wrote: Then simply compile your program: fpc -Fu/path/to/fpc/rtl/units/i386-win32 -Twin32 myprogram.pas Happy crosscompiling! This is how far I got with the crosscompiler: [p17:~/fpc/svn/lazarus] adriaan% make OS_TARGET=win32 Free Pascal Compiler version 2.3.1

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-17 Thread Daniël Mantione
Op Tue, 17 Jul 2007, schreef Adriaan van Os: lazarus.pp(118,1) Error: resource compiler not found, switching to external mode Can you try -vt to see if and in what directories the compiler tries to search windres? It could very well be that the compiler searches for windres.exe, this

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-17 Thread Adriaan van Os
Daniël Mantione wrote: Op Tue, 17 Jul 2007, schreef Adriaan van Os: lazarus.pp(118,1) Error: resource compiler not found, switching to external mode Can you try -vt to see if and in what directories the compiler tries to search windres? It could very well be that the compiler searches

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-17 Thread Adriaan van Os
Daniël Mantione wrote: Op Mon, 16 Jul 2007, schreef Adriaan van Os: and hello.exe actually runs at the other side of the fence. Note that you can install Wine (I'm not sure though how the Darwin port hasprogressed) to do testing. With Wine you can do the full development without a Windows

[fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac ? Is this supported ? First I built and mingw binutils and then I tried [p17:~/fpc-win32/fpc] adriaan% make all OS_TARGET=win32 CROSSBINDIR=/usr/bin BINUTILSPREFIX=i686-ming32- INSTALL_PREFIX=/usr/local make

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Daniël Mantione
Op Mon, 16 Jul 2007, schreef Adriaan van Os: Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac ? Is this supported ? Yes, you don't need a cross-compiler to cross-compile to different operating systems. With FPC 2.1.4+ you don't need binutils either to

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Daniël Mantione wrote: Op Mon, 16 Jul 2007, schreef Adriaan van Os: Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac ? Is this supported ? Yes, you don't need a cross-compiler to cross-compile to different operating systems. With FPC 2.1.4+ you don't need

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Daniël Mantione wrote: Op Mon, 16 Jul 2007, schreef Adriaan van Os: /usr/local/lib/fpc/2.3.1/units/i386-win32/rtl install: ../../rtl/units/i386-win32/rtlconsts.ppu: No such file or directory make: *** [fpc_install] Error 71 Most of the win32 rtl is built by a build unit called buildrtl.pp

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Daniël Mantione
Op Mon, 16 Jul 2007, schreef Adriaan van Os: and hello.exe actually runs at the other side of the fence. Note that you can install Wine (I'm not sure though how the Darwin port hasprogressed) to do testing. With Wine you can do the full development without a Windows computer and you only

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Vincent Snijders
Daniël Mantione schreef: Op Mon, 16 Jul 2007, schreef Adriaan van Os: and hello.exe actually runs at the other side of the fence. Note that you can install Wine (I'm not sure though how the Darwin port hasprogressed) to do testing. With Wine you can do the full development without a

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Daniël Mantione
Op Mon, 16 Jul 2007, schreef Vincent Snijders: Daniël Mantione schreef: Op Mon, 16 Jul 2007, schreef Adriaan van Os: and hello.exe actually runs at the other side of the fence. Note that you can install Wine (I'm not sure though how the Darwin port hasprogressed) to do

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Felipe Monteiro de Carvalho
Since we are on the topic, I've been using Parallels Desktop for Mac with a lot of success. It's pretty cheap, and you have 2 weeks to see if you want to buy it. They have some bugs when running Linux, but their Windows support is incredible. Windows seams to actually work better and faster then

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Felipe Monteiro de Carvalho wrote: Since we are on the topic, I've been using Parallels Desktop for Mac with a lot of success. It's pretty cheap, and you have 2 weeks to see if you want to buy it. They have some bugs when running Linux, but their Windows support is incredible. Windows seams to