Win7btc environment
Publish: 2021-05-12 13:32:44
1. The client of bitcoin wallet is a very small file. Bitcoin is just a string
it doesn't need any configuration. A computer can open 386, just like opening a text file
it doesn't need any configuration. A computer can open 386, just like opening a text file
2.
1. After the network download is completed, the file is an ISO compressed file. It's better not to open it with virtual CD-ROM software such as daemon tools. Use winrar to unzip directly
2. After decompression, open the folder and run setup.exe. Select "yes" in the pop-up compatibility prompt dialog box
3. Installation
after searching the Internet, there are a lot of information about this. The essential thing is GNUstep developer tools. You can refer to this link Windows Installer. The installation is very simple. You can install GNUstep system, GNUstep core and GNUstep developer in order, but the process is not described
after the installation, we can use "program - & gt; GNUstep -> Shell "to start a simulated UNIX console, under which you can complete the development, compilation, execution and other work
development
first of all, let's write a HelloWorld. For simplicity, we create a HelloWorld. M file in the root directory of Disk C and save it. The code is as follows:
? Import & lt; Foundation/Foundation.h>< br />
int main (int argc, const char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];< br />NSLog(@" Hello World!& quot;);< br />[pool drain];< br />
return 0;
}
note: as for what tools to use to write code, since I'm also the first time to use it, I don't recommend any good tools. I use UltraEdit myself
compile
because HelloWorld. M is in the root directory of Disk C, we first switch the path to the root directory of Disk C:
$CD C: 92
note: CD is also suitable for switching to any drive or any subdirectory. The organizational structure of the path is no different from that of windows, and it is not case sensitive
compile to object code
GCC - fconstant string class = nsconstantstring - C HelloWorld. M - I / GNUstep / system / library / headers
after executing the above command, the console will not have any output, which is correct, otherwise you need to check the reason. At the same time, a HelloWorld. O target file will be generated in the root directory of disk C. in the next step, we will use it to compile it into an executable file<
compile into executable file
GCC - O HelloWorld HelloWorld. O - L / GNUstep / system / library / libraries / - lobjc - lgnustep base
helloworld.exe will be generated in the root directory of Disk C
execute
we can directly execute helloworld.exe under the windows console, It can also be executed in the shell window:
input in the shell window:
. / helloworld.exe
output as follows:
2011-09-23 13:22:42.828 HelloWorld [5484] HelloWorld
about the working path
when we do development, the project can not be placed in the root directory of Disk C, which is generally organized. So how to compile such files? In fact, the method is very simple. Use the CD command to enter the. M directory, and then compile
make
the above compilation process is very cumbersome. A slight carelessness may result in input errors and compilation failure. In fact, there is a simpler way to create a make file. For GNUstep, the name of the make file must be "GNU makefile", which contains the following contents:
include $(GNUstep)_ MAKEFILES)/common.make
TOOL_ NAME=HelloWorld< strong>< br /></ strong> HelloWorld_ OBJC_ FILES=HelloWorld.m
include $(GNUSTEP_ Makefiles) / tool. Make
HelloWorld keyword can be replaced with actual content. GNU makefile should be in the same directory as. M file
the implementation of make is very simple. Enter the directory where "GNU makefile" is located and execute "make" in the shell window. This will generate an obj directory in the directory where "GNU makefile" is located. Obj contains executable files and object files
postscript
it's simple, basically there are no twists and turns, but the problem of working path bothers me, because some people say that there will be a "C: 92" in the GNUstep installation directory; GNUstep\ home\ "User name" directory, but I did not install similar things, maybe the version is inconsistent or some other reason, this is not a problem
note: the above problem is like this. Later, I found that this home still exists. After starting the shell, enter the PWD command to get the current working path as / home / username, and the actual location is "D: 92; GNUstep\ msys\ 1.0\ home\ username”
after searching the Internet, there are a lot of information about this. The essential thing is GNUstep developer tools. You can refer to this link Windows Installer. The installation is very simple. You can install GNUstep system, GNUstep core and GNUstep developer in order, but the process is not described
after the installation, we can use "program - & gt; GNUstep -> Shell "to start a simulated UNIX console, under which you can complete the development, compilation, execution and other work
development
first of all, let's write a HelloWorld. For simplicity, we create a HelloWorld. M file in the root directory of Disk C and save it. The code is as follows:
? Import & lt; Foundation/Foundation.h>< br />
int main (int argc, const char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];< br />NSLog(@" Hello World!& quot;);< br />[pool drain];< br />
return 0;
}
note: as for what tools to use to write code, since I'm also the first time to use it, I don't recommend any good tools. I use UltraEdit myself
compile
because HelloWorld. M is in the root directory of Disk C, we first switch the path to the root directory of Disk C:
$CD C: 92
note: CD is also suitable for switching to any drive or any subdirectory. The organizational structure of the path is no different from that of windows, and it is not case sensitive
compile to object code
GCC - fconstant string class = nsconstantstring - C HelloWorld. M - I / GNUstep / system / library / headers
after executing the above command, the console will not have any output, which is correct, otherwise you need to check the reason. At the same time, a HelloWorld. O target file will be generated in the root directory of disk C. in the next step, we will use it to compile it into an executable file<
compile into executable file
GCC - O HelloWorld HelloWorld. O - L / GNUstep / system / library / libraries / - lobjc - lgnustep base
helloworld.exe will be generated in the root directory of Disk C
execute
we can directly execute helloworld.exe under the windows console, It can also be executed in the shell window:
input in the shell window:
. / helloworld.exe
output as follows:
2011-09-23 13:22:42.828 HelloWorld [5484] HelloWorld
about the working path
when we do development, the project can not be placed in the root directory of Disk C, which is generally organized. So how to compile such files? In fact, the method is very simple. Use the CD command to enter the. M directory, and then compile
make
the above compilation process is very cumbersome. A slight carelessness may result in input errors and compilation failure. In fact, there is a simpler way to create a make file. For GNUstep, the name of the make file must be "GNU makefile", which contains the following contents:
include $(GNUstep)_ MAKEFILES)/common.make
TOOL_ NAME=HelloWorld< strong>< br /></ strong> HelloWorld_ OBJC_ FILES=HelloWorld.m
include $(GNUSTEP_ Makefiles) / tool. Make
HelloWorld keyword can be replaced with actual content. GNU makefile should be in the same directory as. M file
the implementation of make is very simple. Enter the directory where "GNU makefile" is located and execute "make" in the shell window. This will generate an obj directory in the directory where "GNU makefile" is located. Obj contains executable files and object files
postscript
it's simple, basically there are no twists and turns, but the problem of working path bothers me, because some people say that there will be a "C: 92" in the GNUstep installation directory; GNUstep\ home\ "User name" directory, but I did not install similar things, maybe the version is inconsistent or some other reason, this is not a problem
note: the above problem is like this. Later, I found that this home still exists. After starting the shell, enter the PWD command to get the current working path as / home / username, and the actual location is "D: 92; GNUstep\ msys\ 1.0\ home\ username”
4. I recommend you to use win-tc, you can see many better than the early DOS C language program.
download address:
http://dl.pconline.com.cn/html_ 2 / 1 / 79 / id = 9878 & PN = 0 & linkpage = 1. HTML
win-tc is a TC2 windows platform development tool, which makes you more comfortable and powerful in the programming process
3M more things.
download address:
http://dl.pconline.com.cn/html_ 2 / 1 / 79 / id = 9878 & PN = 0 & linkpage = 1. HTML
win-tc is a TC2 windows platform development tool, which makes you more comfortable and powerful in the programming process
3M more things.
5. The value of win7 64 bit default path variable is% systemroot% & # 92; system32;% SystemRoot%;% SystemRoot%\ System32\ Wbem;% SYSTEMROOT%\ System32\ WindowsPowerShell\ v1.0\< The steps to view and modify are as follows:
1. Click start, click Run, enter sysdm.cpl, and click OK
2. Click the Advanced tab and click the environment variable button
3. Find the path item in the list below and click the Edit button
4. Open the dialog box to view and modify.
1. Click start, click Run, enter sysdm.cpl, and click OK
2. Click the Advanced tab and click the environment variable button
3. Find the path item in the list below and click the Edit button
4. Open the dialog box to view and modify.
6. Basic configuration requirements
· 64 bit processor above 1 GHz
· 1 GB memory (based on 32 bits) or 2 GB memory (based on 64 bits)
· 16 GB available hard disk space (based on 32 bits) or 20 GB available hard disk space (based on 64 bits)
· DirectX 9 graphics device with WDDM 1.0 or higher driver
. 64 bits can support 4G memory
· 64 bit processor above 1 GHz
· 1 GB memory (based on 32 bits) or 2 GB memory (based on 64 bits)
· 16 GB available hard disk space (based on 32 bits) or 20 GB available hard disk space (based on 64 bits)
· DirectX 9 graphics device with WDDM 1.0 or higher driver
. 64 bits can support 4G memory
7. Double click the desktop icon & quot; Computer;, Enter the interface as shown in the figure
click the left mouse button to open the drop-down menu, click the attribute option
after entering the interface, click the advanced system setting option on the left
to open the interface as shown in the figure below, click the environment variable option at the bottom of the page
to open the interface as shown in the figure, and then click the new option above to open a blank dialog box, Enter the variable name and value in the dialog box
6
finally, click OK to complete the new variable
click the left mouse button to open the drop-down menu, click the attribute option
after entering the interface, click the advanced system setting option on the left
to open the interface as shown in the figure below, click the environment variable option at the bottom of the page
to open the interface as shown in the figure, and then click the new option above to open a blank dialog box, Enter the variable name and value in the dialog box
6
finally, click OK to complete the new variable
8. This is the shutdown when the crash, if not often, just press the shutdown button to shut down. If it happens frequently, you can test whether the temperature of the CPU is too high, and if it is too high, you can check the gray. Generally playing games or operating time is too long, there will be shutdown crash, if so, press the shutdown button to shut down. In addition, what software, plug-ins, drivers and patches have been downloaded before the failure? If so, try to uninstall them all. If there is any problem, close all open programs before shutting down, or if it doesn't work, download the win cleanup assistant to check and kill the Trojan horse, restore the system or reload (in addition, whether the hardware has been upgraded or whether there is a problem with the hardware, some people will install 360 guard, and then uninstall it to recover)<
how to use the system restore included in the system:
system restore included in the system: start / program / attachment / system tools / system restore, click recover my computer to an earlier time, and press next, you will see that there is a dark date on the date page, which is the restore point, Click Next restore (win7 restore system, in the control panel, then device and security sub options, then backup and restore options)
if the problem of shutting down can not be solved temporarily, shut down the machine in this way. Right click the taskbar to select / task manager, hold down the CTRL key, and click "shut down" or "shut down" on the task manager page. At this time, release the hand pressing the CTRL key to wait for the shutdown.
how to use the system restore included in the system:
system restore included in the system: start / program / attachment / system tools / system restore, click recover my computer to an earlier time, and press next, you will see that there is a dark date on the date page, which is the restore point, Click Next restore (win7 restore system, in the control panel, then device and security sub options, then backup and restore options)
if the problem of shutting down can not be solved temporarily, shut down the machine in this way. Right click the taskbar to select / task manager, hold down the CTRL key, and click "shut down" or "shut down" on the task manager page. At this time, release the hand pressing the CTRL key to wait for the shutdown.
9. Using Notepad + + and GCC to build C language environment in win7
10. The value of win7 64 bit default path variable is% systemroot% & # 92; system32;% SystemRoot%;% SystemRoot%\ System32\ Wbem;% SYSTEMROOT%\ System32\ WindowsPowerShell\ v1.0\< The steps to view and modify are as follows:
1. Click start, click Run, enter sysdm.cpl, and click OK
2. Click the Advanced tab and click the environment variable button
3. Find the path item in the list below and click the Edit button
4. Open the dialog box to view and modify.
1. Click start, click Run, enter sysdm.cpl, and click OK
2. Click the Advanced tab and click the environment variable button
3. Find the path item in the list below and click the Edit button
4. Open the dialog box to view and modify.
Hot content