Модератор: Модераторы
alex@desktop:~> fpc -h
Free Pascal Compiler version 2.2.2 [2008/10/27] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
/usr/local/bin/ppc386 [options] <inputfile> [options]
Put + after a boolean switch option to enable it, - to disable it
-a The compiler doesn't delete the generated assembler file
-al List sourcecode lines in assembler file
-an List node info in assembler file
-ap Use pipes instead of creating temporary assembler files
-ar List register allocation/release info in assembler file
-at List temp allocation/release info in assembler file
-A<x> Output format:
-Adefault Use default assembler
-Aas Assemble using GNU AS
-Anasmcoff COFF (Go32v2) file using Nasm
-Anasmelf ELF32 (Linux) file using Nasm
-Anasmwin32 Win32 object file using Nasm
-Anasmwdosx Win32/WDOSX object file using Nasm
-Awasm Obj file using Wasm (Watcom)
-Anasmobj Obj file using Nasm
-Amasm Obj file using Masm (Microsoft)
-Atasm Obj file using Tasm (Borland)
-Aelf ELF (Linux) using internal writer
-Acoff COFF (Go32v2) using internal writer
-Apecoff PE-COFF (Win32) using internal writer
.....
program test1;
uses adba;
var
i:integer;
b:real;
d:double;
begin
i := 1;
b := 3.3e-10;
d := i / b;
hello_kitty();
writeln(d);
readln;
end.
C:\FPC\2.4.0\bin\i386-win32>fpc.exe -Atasm -s -o3 test1.pas
Free Pascal Compiler version 2.4.0 [2009/12/18] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling test1.pas
test1.pas(14,14) Error: Identifier not found "hello_kitty"
test1.pas(22) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: ppc386.exe returned an error exitcode (normal if you did not specify a so
urce file to be compiled)
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 15