Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Object Pascal: кроссплатформенные технологии > How do I create an executible file using the command line directive in Linux with Kylix?


Автор: Pakshin A. S. 6.11.2004, 18:50
How do I create an executable file, i.e. foo.exe, using dcc in Kylix? 

Create the project file, i.e. foo.dpr, using VI, Pico or some other text writing tool. Next, at the command line type: dcc foo. You can pass in flags like -BE: dcc -BE foo, the will build and execute the file. There are a number of different flags you can pass in, look at the help for dcc for a full listing and description. 

Код

program foo 

uses 
  SysUtils; 

begin 
  writeln('Hello World'); 
  readln; 
end. 

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)