OSDN Git Service

SourceForge.JP で Mac 旧来の改行コード( CR のみ)の場合に正常に処理されないので、改行コードを変更。
[bacon/BaCon-Japanese.git] / 関数・命令 / PRAGMA.txt
index 083cf49..dd7e0c9 100644 (file)
@@ -1 +1,31 @@
-  PRAGMA\r\r  【1.0 bulid 29 追加】\r   PRAGMA <OPTIONS x> | <LDFLAGS x> | <COMPILER x> | <INCLUDE x>\r\r   Type: statement\r\r   Instead of passing commandline arguments to influence the behavior of\r   the compiler, it is also possible to define these arguments\r   programmatically. Mostly these arguments are used when embedding\r   variables or library dependent structures into BaCon code. Example when\r   SDL code is included in the BaCon program:\r\r   PRAGMA LDFLAGS SDL\r   PRAGMA INCLUDE SDL/SDL.h\r\r   Example when GTK2 code is included in the BaCon program:\r\r   PRAGMA LDFLAGS `pkg-config --cflags --libs gtk+-2.0`\r   PRAGMA INCLUDE gtk-2.0/gtk/gtk.h\r   PRAGMA COMPILER gcc\r\r   Example on passing optimization parameters to the compiler:\r\r   PRAGMA OPTIONS -O2 -s\r\r   Multiple arguments can be passed too:\r\r   PRAGMA LDFLAGS iup cd iupcd im\r   PRAGMA INCLUDE iup.h cd.h cdiup.h im.h im_image.h\r\r
\ No newline at end of file
+  PRAGMA
+
+  【1.0 bulid 29 追加】
+   PRAGMA <OPTIONS x> | <LDFLAGS x> | <COMPILER x> | <INCLUDE x>
+
+   Type: statement
+
+   Instead of passing commandline arguments to influence the behavior of
+   the compiler, it is also possible to define these arguments
+   programmatically. Mostly these arguments are used when embedding
+   variables or library dependent structures into BaCon code. Example when
+   SDL code is included in the BaCon program:
+
+   PRAGMA LDFLAGS SDL
+   PRAGMA INCLUDE SDL/SDL.h
+
+   Example when GTK2 code is included in the BaCon program:
+
+   PRAGMA LDFLAGS `pkg-config --cflags --libs gtk+-2.0`
+   PRAGMA INCLUDE gtk-2.0/gtk/gtk.h
+   PRAGMA COMPILER gcc
+
+   Example on passing optimization parameters to the compiler:
+
+   PRAGMA OPTIONS -O2 -s
+
+   Multiple arguments can be passed too:
+
+   PRAGMA LDFLAGS iup cd iupcd im
+   PRAGMA INCLUDE iup.h cd.h cdiup.h im.h im_image.h
+