Oxygen Basic
Programming => Problems & Solutions => Topic started by: chrisc on February 25, 2018, 05:53:44 AM
-
Hello all
i just downloaded O2, then i use the command prompt
> gxo2 -c arithmetic.o2bas
to get arithmetic.exe
run it
> arithmetic
when i use the taskmanager , i found that arithmetic.exe is a 32bit process
How do i compile it to 64 bits?
thanxx and appreciate any help
-
chris,
put
use rtl64
as the first line of the source.
James
-
Thanxx James
but got an error see attachment
also how to post image directly into this forum? the (http://) did not work
[attachment deleted by admin]
-
chris,
try uses instead of use.
I always use the latest OxygenBasic available.
https://github.com/Charles-Pegge/OxygenBasic/blob/master/oxygenBasicProgress.zip
James
-
The latest o2 will understand use uses using
uses rtl64
print "helo"
Console Compiler :)
uses rtl64
uses console
print "helo"
wait
-
Thankxx James and Charles
i must download from https://github.com/Charles-Pegge/OxygenBasic/blob/master/oxygenBasicProgress.zip (https://github.com/Charles-Pegge/OxygenBasic/blob/master/oxygenBasicProgress.zip)
in future !
this is my first 64bit exe !
-
OxygenBasicProgress.zip contains the full package, OxygenProgress.zip contains Oxygen.dll only, which is usually okay for core language updates; I will indicate which.
-
Thanxx Charles
Talking about Oxygen.dll file , do we need to deploy this file whenever we deploy the compile exe file?
is it a dependency file or references file like in c#?
-
The binaries produced by o2 are independent when RTL32 or RTL64 is used. You can also produce 32bit oxygen-dependent binaries by specifying something like #file "mylibrary.dll" instead of use RTL32.
Dependent binaries have the advantage of being a bit smaller, and being able to tap into the o2 compiling facilities.
-
hello Charles
the latest progress link
https://github.com/Charles-Pegge/OxygenBasic/blob/master/oxygenBasicProgress.zip
is no longer operational ? i got 404 error ?
https://github.com/Charles-Pegge/OxygenBasic/blob/master/oxygenBasicProgress.zip
(https://github.com/Charles-Pegge/OxygenBasic/blob/master/oxygenBasicProgress.zip)
-
Same error here.
-
oxygen needs to be capitalized, https://github.com/Charles-Pegge/OxygenBasic/blob/master/OxygenBasicProgress.zip
-
Thanxx Jack
-
I've just uploaded, with Corewin.inc, and Msvcrt.inc
https://github.com/Charles-Pegge/OxygenBasic/blob/master/OxygenBasicProgress.zip
-
Charles,
Windows Defender does not like the download!
James
-
Damn, that's becoming ridiculous! False alarms on an entirely open-source project! >:(
Try zipping it as tar.gz for a change and see what happens... Arachnids Linuxoids are advancing from everywhere! ;D
-
No problem with Mcafee scanner?
-
I don't remember Defender flagging any downloads on this machine to the point I don't know how to override so I can use it. Or that could be my failing memory :)
James
-
Here is the reason.
James
-
The Evangelists introduced hell and Windows introduced anti-virus vendors.
-
Thanks James,
I have removed the offending file, and swept out all other small exe demos.
https://github.com/Charles-Pegge/OxygenBasic/blob/master/OxygenBasicProgress.zip
-
Do you remember the infamous Rich signature the VC compiler leaves in any PE executable it generates? Tell you what guys, there are many more of them, albeit less obvious, spread all around the file. AV SW uses them as a means to identify the compiler and eliminate the unwanted competitors. That's how VB6 came to the point of being flagged as malware regardless of manifests, version info, or PE header compliance... :-\