You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/manual/cache/CompilerInstalling.wakka
+19-10Lines changed: 19 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,26 @@
1
1
{{fbdoc item="title" value="Installing"}}----
2
2
Installing ""FreeBASIC"", any additionally needed packages, and perhaps a text editor or IDE.
3
3
4
+
//Note: If the user specifies directory names during the installation of the different components, it is recommended in the chosen names to use only alphanumeric ASCII characters without accent and preferably not any space, otherwise some paths might not work as expected.//
5
+
4
6
{{fbdoc item="section" value="Windows 32bit"}}
5
7
6
-
1) Download the latest [[https://sourceforge.net/projects/fbc/files/Binaries%20-%20Windows/|FreeBASIC-x.xx.x-win32.exe]] installer
7
-
1) Run it and click through it. The installer will install ""FreeBASIC"" at ##""C:\%ProgramFiles%\FreeBASIC""##, or if you chose a different installation directory, in your chosen directory. Start Menu shortcuts to the website will be installed as well.
8
+
1) Download the latest [[https://sourceforge.net/projects/fbc/files/Binaries%20-%20Windows/|FreeBASIC-x.xx.x-win32.zip]] package, or the latest [[https://sourceforge.net/projects/fbc/files/Binaries%20-%20Windows/|FreeBASIC-x.xx.x-win32.exe]] installer (not recommended for Windows 7 and later versions).
9
+
1) Depending on the chosen method:
10
+
- Zip package: Extract it where you like, for example at ##""...\FreeBASIC""## (no further installation required to use fbc).
11
+
- Installer (not recommended for Windows 7 and later versions): Run it and click through it. The installer will install ""FreeBASIC"" at ##""C:\%ProgramFiles%\FreeBASIC""##, or if you chose a different installation directory, in your chosen directory. Start Menu shortcuts to the website will be installed as well.
8
12
1) Unless you already have a source code editor or IDE, you should install one too, as ""FreeBASIC"" itself does not include one. An IDE can be used to write and save .bas files and to launch the ""FreeBASIC"" Compiler to compile them. The following IDEs are known to explicitly support ""FreeBASIC"":
9
13
- [[http://fbide.freebasic.net/|FBIDE]]
10
14
- [[http://radasm.cherrytree.at/fbedit/|FBEdit]]
11
-
12
-
To uninstall ""FreeBASIC"", remove it from the system's list of installed software ([[http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/win_addprog_window_component.mspx|Add/remove programs]], [[http://windows.microsoft.com/en-US/windows-vista/Uninstall-or-change-a-program|Uninstall or change a program]]).
15
+
16
+
To uninstall ""FreeBASIC"":
17
+
- If previously installed using zip package: simply deleted the directory where you extracted it.
18
+
- If previously installed using installer: remove it from the system's list of installed software ([[http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/win_addprog_window_component.mspx|Add/remove programs]], [[http://windows.microsoft.com/en-US/windows-vista/Uninstall-or-change-a-program|Uninstall or change a program]]).
13
19
14
-
{{fbdoc item="section" value="Windows x64"}}
20
+
{{fbdoc item="section" value="Windows 64bit"}}
15
21
16
-
1) Download the latest [[https://sourceforge.net/projects/fbc/files/Binaries%20-%20Windows/|FreeBASIC-x.xx.x-win64.zip]] package
17
-
1) Extract it where you like, for example at ##""C:\%ProgramFiles%\FreeBASIC""## (no further installation required to use fbc).
22
+
1) Download the latest [[https://sourceforge.net/projects/fbc/files/Binaries%20-%20Windows/|FreeBASIC-x.xx.x-win64.zip]] package.
23
+
1) Extract it where you like, for example at ##""...\FreeBASIC""## (no further installation required to use fbc).
18
24
1) You may want to install a source code editor or IDE; also see the **Windows 32bit** section.
19
25
20
26
To uninstall ""FreeBASIC"", simply deleted the directory where you extracted it.
@@ -64,7 +70,8 @@ $ sudo ./install.sh -i%%
64
70
- ncurses-devel
65
71
- libffi46-devel
66
72
- xorg-x11-devel
67
-
73
+
74
+
68
75
For 32bit development on a 64bit system:
69
76
- Debian/Ubuntu:
70
77
- gcc-multilib
@@ -80,10 +87,12 @@ $ sudo ./install.sh -i%%
80
87
- xorg-x11-libXrender-devel-32bit
81
88
- xorg-x11-libXpm-devel-32bit
82
89
- libffi46-devel-32bit
83
-
90
+
91
+
84
92
1) Unless you already have a text editor or IDE, you should install one too, as ""FreeBASIC"" itself does not include one. An IDE can be used to write and save .bas files and to launch the ""FreeBASIC"" Compiler to compile them. The following IDEs are known to explicitly support ""FreeBASIC"":
85
93
- [[http://www.geany.org/|Geany]]
86
-
94
+
95
+
87
96
To uninstall ""FreeBASIC"" from ##/usr/local##, you can run the install.sh script again, but with the -u option: ##sudo ./install.sh -u##
Do not read/write compile-time info from/to .o and .a files
3
+
4
+
{{fbdoc item="syntax"}}##
5
+
**-noobjinfo**
6
+
##
7
+
{{fbdoc item="desc"}}
8
+
The ##-noobjinfo## compiler option disables the writing/reading of compile-time library and other linking options from/to .o and .a files. This also disables the use of fbextra.x (the supplemental linker script) for discarding the .fbctinf sections, which is useful when using the gold linker that doesn't support this kind of linker script.
Copy file name to clipboardExpand all lines: doc/manual/cache/CompilerOptprint.wakka
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Print out information
9
9
10
10
Currently, the following -print options are recognized:
11
11
12
-
{{table columns="2" cellpadding="1" cells="option;effect;host;Prints the host system on which fbc is running;target;Prints the target system for which fbc is compiling (can be affected by the -target option);x;Prints the file name of the output executable or library that fbc will or would generate (named after the -x option), depending on other command line options"}}
12
+
{{table columns="2" cellpadding="1" cells="option;effect;fblibdir;Prints the compiler's lib/ path;host;Prints the host system on which fbc is running;target;Prints the target system for which fbc is compiling (can be affected by the -target option);x;Prints the file name of the output executable or library that fbc will or would generate (named after the -x option), depending on other command line options"}}
13
13
14
14
{{fbdoc item="ex"}}
15
15
A [[http://en.wikipedia.org/wiki/Make_(software)|makefile]] could use ##target := $(shell $(FBC) -print target)## to find out the compilation target, which would even work when cross-compiling, with ##FBC## set to something like ##fbc -target foo##.
Copy file name to clipboardExpand all lines: doc/manual/cache/KeyPgAcos.wakka
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,9 @@ Finds the arccosine of an angle
15
15
The arccosine of ##//number//##, in radians, in the range [0..Pi].
16
16
17
17
{{fbdoc item="desc"}}
18
-
##Acos## returns the arccosine of the argument ##//number//## as a ##[[KeyPgDouble|Double]]## within the range of 0 to [[TutMathAngles|Pi]]. The arccosine is the inverse of the ##[[KeyPgCos|Cos]]## function. The returned angle is measured in [[TutMathAngles|radians]] (not [[TutMathAngles|degrees]]).
18
+
##**Acos**## returns the arccosine of the argument ##//number//## as a ##[[KeyPgDouble|Double]]## within the range of 0 to [[TutMathAngles|Pi]]. The arccosine is the inverse of the ##[[KeyPgCos|Cos]]## function. The returned angle is measured in [[TutMathAngles|radians]] (not [[TutMathAngles|degrees]]).
19
+
20
+
##**Acos**## can be overloaded as operator to accept user-defined types.
Copy file name to clipboardExpand all lines: doc/manual/cache/KeyPgAsin.wakka
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ Finds the arcsine of a number
16
16
17
17
{{fbdoc item="desc"}}
18
18
##**Asin**## returns the arcsine of the argument ##//number//## as a ##[[KeyPgDouble|Double]]## within the range of -[[TutMathAngles|Pi]]/2 to [[TutMathAngles|Pi]]/2. The arcsine is the inverse of the ##[[KeyPgSin|Sin]]## function. The returned angle is measured in [[TutMathAngles|radians]] (not [[TutMathAngles|degrees]]).
19
-
19
+
20
+
##**Asin**## can be overloaded as operator to accept user-defined types.
0 commit comments