Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. README file for building the SNFMulti library using Code::Blocks
  2. Copyright (c) 2009 ARM Research Laboratories
  3. This is the README file for the Code::Blocks project for building the
  4. 64-bit SNFMulti DLL using Code::Blocks. These directions are for
  5. building the SNFMulti DLL using the 64-bit MinGW compiler.
  6. This README file should be in the CodeBlocks\SNFMulti directory of the
  7. SNF_CS developer distribution.
  8. To build the library:
  9. 1) Install the 64-bit MinGW as described in the README file in the
  10. above directory.
  11. 2) Ensure that the SNFMulti and CodeDweller source directories are
  12. in the correct location. They should be in ..\..\SNFMulti and
  13. ..\..\CodeDweller (relative to this directory).
  14. 3) Open the SNFMulti Code::Blocks project (SNFMulti.cbp).
  15. 4) Select the Debug or Release targets.
  16. 5) Build the library. The library is created in bin\Debug or
  17. bin\Release relative to this directory.
  18. Creating the SNFMulti project file
  19. ----------------------------------
  20. 1) Create a Code::Blocks DLL project. Create the project file in
  21. this directory, and name it SNFMulti.
  22. 2) Select a 64-bit compiler (MinGW-64; see the README file in the
  23. parent directory for setting up Code::Blocks to use a 64-bit MinGW
  24. compiler).
  25. 3) Select the Debug target (Build->Select target->Debug).
  26. 4) Add the .cpp, .hpp, and .h files in the SNFMulti and CodeDweller
  27. directories in the SNF_CS developer distribution (Right-click on the
  28. SNFMulti project in the projects window, and choose "Add files").
  29. Add the files to both the Debug and Release versions.
  30. 5) Add the link directory contining the libWS2_32.a library (default
  31. directory is c:\MinGW-64\x86_64-pc-mingw32\lib64):
  32. a) Open the Build Options window (Projects->Build Options).
  33. b) Click on SNFMulti (on the left-hand pane) so that the following
  34. applies to both the Debug and Release versions.
  35. c) Choose the Search Directories tab.
  36. d) Select the Linker tab.
  37. e) Add the library directory
  38. "c:\MinGW-64\x86_64-pc-mingw32\lib64".
  39. 6) Add the libWS2_32.a library:
  40. a) Open the Build Options window.
  41. b) Click on SNFMulti.
  42. c) Choose the Linker settings tab.
  43. d) Add the library "libws2_32.a" to the Link libraries window.
  44. 7) Add the compiler options:
  45. a) Open the Build Options window.
  46. b) Click on SNFMulti.
  47. c) Select the Compiler settings tab.
  48. d) Select the Compiler Flags tab.
  49. e) Turn off compiler warnings.
  50. f) Select the Other options tab.
  51. g) Add "-mthreads -O3".