cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: preparing for another public release

From: James Bursa <bursa_at_users.sourceforge.net>
Date: Fri, 28 Feb 2003 12:58:54 +0000

A patch for cross-compiling for RISC OS is below.

James

Index: docs/INSTALL
===================================================================
RCS file: /cvsroot/curl/curl/docs/INSTALL,v
retrieving revision 1.40
diff -d -u -r1.40 INSTALL
--- docs/INSTALL 14 Feb 2003 09:06:07 -0000 1.40
+++ docs/INSTALL 28 Feb 2003 12:52:43 -0000
@@ -400,6 +400,17 @@
    The '--prefix' parameter specifies where cURL will be installed. If
    'configure' completes successfully, do 'make' and 'make install' as usual.
 
+RISC OS
+=======
+ The library can be cross-compiled using gccsdk as follows:
+
+ CC=riscos-gcc AR=riscos-ar RANLIB='riscos-ar -s' ./configure \
+ --host=arm-riscos-aof --without-random --disable-shared
+ make
+
+ where riscos-gcc and riscos-ar are links to the gccsdk tools.
+ You can then link your program with curl/lib/.libs/libcurl.a
+
 PORTS
 =====
    This is a probably incomplete list of known hardware and operating systems
Index: lib/if2ip.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/if2ip.c,v
retrieving revision 1.23
diff -d -u -r1.23 if2ip.c
--- lib/if2ip.c 29 Jan 2003 10:14:22 -0000 1.23
+++ lib/if2ip.c 28 Feb 2003 12:52:43 -0000
@@ -32,7 +32,7 @@
 #include <unistd.h>
 #endif
 
-#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__)
+#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && !defined(__riscos__)
 
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
Index: lib/if2ip.h
===================================================================
RCS file: /cvsroot/curl/curl/lib/if2ip.h,v
retrieving revision 1.11
diff -d -u -r1.11 if2ip.h
--- lib/if2ip.h 16 Jan 2003 21:08:13 -0000 1.11
+++ lib/if2ip.h 28 Feb 2003 12:52:43 -0000
@@ -24,7 +24,7 @@
  ***************************************************************************/
 #include "setup.h"
 
-#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__)
+#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && !defined(__riscos__)
 extern char *Curl_if2ip(char *interface, char *buf, int buf_size);
 #else
 #define Curl_if2ip(a,b,c) NULL

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-02-28