gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1179 - GNUnet-docs/WWW


From: durner
Subject: [GNUnet-SVN] r1179 - GNUnet-docs/WWW
Date: Thu, 30 Jun 2005 14:48:45 -0700 (PDT)

Author: durner
Date: 2005-06-30 14:48:41 -0700 (Thu, 30 Jun 2005)
New Revision: 1179

Modified:
   GNUnet-docs/WWW/hacking_win32_build.php3
Log:
update

Modified: GNUnet-docs/WWW/hacking_win32_build.php3
===================================================================
--- GNUnet-docs/WWW/hacking_win32_build.php3    2005-06-30 21:48:28 UTC (rev 
1178)
+++ GNUnet-docs/WWW/hacking_win32_build.php3    2005-06-30 21:48:41 UTC (rev 
1179)
@@ -39,17 +39,13 @@
     <?php BR();
     W("The MinGW project provides the compiler toolchain that is used to build 
GNUnet.");
     BR();
-    W("Get the packages MSYS, MinGW, MSYS Developer Tool Kit, msys-autoconf 
(bin), msys-automake (bin),
-    libiconv and gettext from %s.", 
extlink_("http://www.mingw.org/download.shtml";, "the MinGW project"));
+    W("Get the packages MSYS, MinGW, MSYS Developer Tool Kit, msys-autoconf 
(bin), msys-automake (bin) and
+    libtool (bin) from %s.", extlink_("http://www.mingw.org/download.shtml";, 
"the MinGW project"));
     ?>
     <ol>
        <li><?php W("Install MSYS (to c:\mingw, for example)"); ?></li>
        <li><?php W("Install MinGW to a subdirectory (to c:\mingw\mingw, for 
example)"); ?></li>
        <li><?php W("Install the Development Kit to the MSYS directory 
(c:\mingw)"); ?></li>
-       <li><?php W("Rename (c:\mingw\mingw\)lib\libstdc++.la to avoid 
problems:");
-            BR();PRE("# mv /usr/mingw/lib/libstdc++.la 
/usr/mingw/lib/libstdc++.la.broken");
-            ?>
-        </li>
        <li>
                <?php W("Create a batch file bash.bat in your MSYS directory 
with the content:");BR();
                 PRE("bin\sh.exe --login");
@@ -57,22 +53,15 @@
                W("MinGW's standard shell (msys.bat) is not suitable because it 
opens a separate console window
                for each compilation step."); ?>
        </li>
+       <li><?php W("Start bash.sh and rename (c:\mingw\mingw\)lib\libstdc++.la 
to avoid problems:");
+            BR();PRE("# mv /usr/mingw/lib/libstdc++.la 
/usr/mingw/lib/libstdc++.la.broken");
+            ?>
+        </li>
        <li><?php W("Remove the declaration of DATADIR from 
(c:\mingw\mingw\)include\objidl.h (lines 55-58)"); ?></li>
-       <li><?php W("Unpack autoconf and automake to the MSYS directory 
(c:\mingw)"); ?></li>           
-       <li><?php W("Install libiconv to the MinGW directory 
(c:\mingw\mingw)"); ?></li>        
-       <li><?php W("Install gettext to the MinGW directory (c:\mingw\mingw)"); 
?></li>
+       <li><?php W("Unpack autoconf, automake and libtool to the MSYS 
directory (c:\mingw)"); ?></li>          
     </ol>
   </li>
   <li>
-    <b><?php W("Libtool");?></b>
-    <?php BR();W("GNUnet loads its dynamic modules using Libtool.");BR();
-    W("Get the Libtool source from %s, open the shell (bash.bat) and build 
&amp; install Libtool with:",
-      extlink_("http://www.gnu.org/software/libtool/libtool.html";, "GNU"));
-    BR();
-    PRE("# ./configure --prefix= &amp;&amp; make install");
-    ?>
-  </li>
-  <li>
     <b><?php W("Pthreads"); ?></b>
     <?php BR();
     W("GNUnet uses the portable POSIX thread library for multi-threading.");
@@ -80,11 +69,11 @@
     ?>
     <ol>
        <li><?php W("Save %s as libpthread.a into the lib directory 
(c:\mingw\mingw\lib\libpthread.a)",
-               
extlink_("ftp://sources.redhat.com/pub/pthreads-win32/dll-latest/lib/libpthreadGC.a";,
-                       "libpthreadGC.a")); ?></li>
+               
extlink_("ftp://sources.redhat.com/pub/pthreads-win32/dll-latest/lib/libpthreadGC2.a";,
+                       "libpthreadGC2.a")); ?></li>
        <li><?php W("Save %s into the MinGW bin directory (c:\mingw\mingw\bin)",
-               
extlink_("ftp://sources.redhat.com/pub/pthreads-win32/dll-latest/lib/pthreadGC.dll";,
-                       "pthreadGC.dll")); ?></li>
+               
extlink_("ftp://sources.redhat.com/pub/pthreads-win32/dll-latest/lib/pthreadGC2.dll";,
+                       "pthreadGC2.dll")); ?></li>
        <li><?php W("Download all header files from %s to the include directory 
(c:\mingw\mingw\include)",
                
extlink_("ftp://sources.redhat.com/pub/pthreads-win32/dll-latest/include/";,
                        "include/")); ?></li>
@@ -100,13 +89,24 @@
     ?>
   </li>
   <li>
+    <b><?php W("gettext &amp; iconv"); ?></b>
+    <?php BR();
+    W("GNU gettext and iconv are used to provide national language support.");
+    BR();
+    W("Get the runtime and developer packages from %s and unpack it to the 
MinGW directory (c:\mingw\mingw)",
+       extlink_("http://www.gimp.org/~tml/gimp/win32/downloads.html";, "Tor 
Lillqvist"));
+    BR();
+    W("Do <em>not</em> overwrite gettext files that are already present (use 
the 7-Zip option \"Skip existing files\").");
+    ?>
+  </li>
+  <li>
     <b><?php W("SQLite");?></b>
     <?php BR();W("GNUnet uses the SQLite database to store content.");BR();
     W("Get the source from the %s (version 3, \"complete source code\" 
package) and
       build &amp; install it with:",
       extlink_("http://www.sqlite.org/download.html";, "SQLite project"));
     BR();
-    PRE("CFLAGS='-O2 -no-undefined' ./configure --prefix= &amp;&amp; make 
&amp;&amp; make install");
+    PRE("CFLAGS='-O2 -no-undefined -fomit-frame-pointer -march=pentium' 
./configure --prefix= &amp;&amp; make &amp;&amp; make install");
     ?>
   </li>
   <li>
@@ -126,7 +126,7 @@
                <?php W("Copy the directories include\ and lib\ from the MySQL 
directory to the new directory"); ?>
            </li>
            <li>
-               <?php W("Get the patches from %s and %s and apply them: ",
+               <?php W("Get the patches from %s and %s (the latter is only 
required for MySQL < 4.1.12) and apply them: ",
                                
ARRAY(extlink_("http://bugs.mysql.com/bug.php?id=8906&files=1";, "Bug #8906"),
                        
extlink_("http://bugs.mysql.com/bug.php?id=8872&files=1";, "Bug #8872")));
                BR();
@@ -154,15 +154,9 @@
     <?php BR();
     W("GTK+ is a portable library for GUIs.");
     BR();
-    W("If you want to use gnunet-gtk or libextractor, get the runtime and 
development packages gtk+, glib, pango, atk,
-      iconv, pkgconfig and gettext from the %s and unpack them to the MinGW 
directory (c:\mingw\mingw).",
+    W("If you want to use gnunet-gtk or libextractor, get the runtime and 
development packages of gtk+, glib, pango, atk,
+      and pkgconfig from the %s and unpack them to the MinGW directory 
(c:\mingw\mingw).",
        extlink_("http://www.gimp.org/~tml/gimp/win32/downloads.html";, "GIMP 
project"));
-    BR();
-    W("Do <em>not</em> overwrite gettext files that are already present (use 
the 7-Zip option \"Skip existing files\").");
-    BR();
-    W("The GTK binaries require the Microsoft Visual C 7 runtime library which 
can be obtained from %s (%s).",
-       ARRAY(extlink_("download/win/msvcr70.zip", "here"),
-        extlink_("download/win/msvcr70.zip.asc", "Signature")));
     ?>
   </li>
   <li>
@@ -175,17 +169,6 @@
     ?>
   </li>
   <li>
-    <b><?php W("gettext"); ?></b>
-    <?php BR();
-    W("GNU gettext is used to provide national language support.");
-    BR();
-    W("Get gettext (bin and lib) from %s and unpack it to the MinGW directory 
(c:\mingw\mingw)",
-       extlink_("http://gnuwin32.sourceforge.net/packages/gettext.htm";, 
"GnuWin32"));
-    BR();
-    W("Do <em>not</em> overwrite gettext files that are already present (use 
the 7-Zip option \"Skip existing files\").");
-    ?>
-  </li>
-  <li>
     <b><?php W("Libgcrypt");?></b>
     <?php BR();W("Libgcrypt provides the cryptographic functions used by 
GNUnet");BR();
     W("Get Libgcrypt from %s (%s) and unpack it to the MinGW directory 
(c:\mingw\mingw)",
@@ -203,7 +186,7 @@
 W("By default, all modules that are created in this way contain debug 
information and are quite large.");
 W("To compile release versions (small and fast) set the variable CFLAGS:");
 P();
-PRE("# CFLAGS='-O2' ./configure --prefix=\$HOME --with-extractor=\$HOME");
+PRE("# CFLAGS='-O2 -march=pentium -fomit-frame-pointer' ./configure 
--prefix=\$HOME --with-extractor=\$HOME");
 EP();
 H4("Installer");
 BP();





reply via email to

[Prev in Thread] Current Thread [Next in Thread]