[fpc-devel] Re: Can't compile at revision: 17417

Marcos Douglas md at delfire.net
Tue May 10 16:11:22 CEST 2011

On Mon, May 9, 2011 at 5:38 PM, Joerg Schuelke <joerg.schuelke at gmx.de> wrote:
> Am Mon, 9 May 2011 17:23:30 -0300
> schrieb Marcos Douglas <md at delfire.net>:
>> > I use /fixes_2_4 but I could not to compile (error in first mail).
>> > So, I took a look in sources from /trunk. I compared this files
>> > (odbcsql) and saw this difference between them (the patch).
>> Did you understand?
> I think there are two possibilities:
> 1)      During shutdown (shut off) something in your file system went
>        wrong. You should 'svn up' again.
>        Maybe svn can correct the error, or gives you a hint.
> 2)      It is windows related. For me all works fine. But i´m using
>        linux.

In WinXP, with TortoiseSVN I did:
- Deleted directory packages\odbc
- Clean UP
- Updated

I use /fixes_2_4...

To compile I use a BAT (always worked):
@echo on
set myroot=W:\dev\freepascal
set myFPC=%myroot%\compiler\2.4.3
set mybinutils=%myroot%\binutils
set PATH=%mybinutils%\i386-win32;%myFPC%\bin\i386-win32;%PATH%

cd %myFPC%
rd /s /q  %myfpc%\examples

make clean all install INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe

Now works!

Thanks Joerg.

Marcos Douglas

PS: BTW, what the difference (at least on Win) to use option "install"
in 'make'?

More information about the fpc-devel mailing list