Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2007.06.17;
Скачать: [xml.tar.bz2];

Вниз

FPC and koldef.inc   Найти похожие ветки 

 
Thaddy   (2006-11-02 15:20) [0]

Vladimir,

Could you add the following to koldef.inc:


{$IFDEF FPC}
{$DEFINE PAS_VERSION}
{$IFDEF VER2}
 {$DEFINE _D3orHigher}
 {$DEFINE _D4orHigher}
 {$DEFINE _D5orHigher}
 {$DEFINE _D6orHigher}
 {$DEFINE _D7}
 {$DEFINE _D7orHigher}
{$ENDIF}
{$ENDIF}


FPC version 2.1.1 is very compatible with Delphi and kol now.
You can simply use the $(DELPHI)\source\rtl\win\*.pas files from Delphi 4/5 instead of the prepared files that were needed for FPC1.X

That is all to have full compatibility.


 
Vladimir Kladov   (2006-11-02 16:18) [1]

OK, in 2.42 it will be added.

2.1.1? I miss something? I downloaded 2.0.4 last week...


 
Thaddy   (2006-11-03 10:25) [2]

2.1.1 is development version for 2.2
2.0.4 is the latest stable release, so you are up to date.

Settings work for both versions.
2.1.1 is not stable yet.


 
Thaddy   (2006-11-03 16:11) [3]

With this addition to koldef.inc, full instructions for using kol + Freepascal 2 are now simply and only:

include [delphi root directory]\source\rtl\win in the -Fu path
include kol directory in the -Fu path
compile with -Mdelphi -XXs -CX -Sg -O2p2 -OoREGVAR switches



Note:
Some delphi versions have missing ";""s in the windows.pas and some other files.
If the compiler complains, simply add them to the end of the previous line that the fpc compiler indicates.



Страницы: 1 вся ветка

Форум: "KOL";
Текущий архив: 2007.06.17;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.055 c
11-1162418974
SKA1997
2006-11-02 01:09
2007.06.17
Оптимальная версия Delphi ?


2-1179820641
RusTim
2007-05-22 11:57
2007.06.17
Как руссифицировать ActionManager


15-1179817899
Rouse_
2007-05-22 11:11
2007.06.17
Производители Spyware подали в суд на Антивирус :)


15-1179732357
ANTPro
2007-05-21 11:25
2007.06.17
Авторизация


15-1179513213
wp2
2007-05-18 22:33
2007.06.17
Помогите! Похоже я спалил два SATA контроллера.





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский