summaryrefslogtreecommitdiff
path: root/libc/README
diff options
context:
space:
mode:
authorSuchang Woo <suchang.woo@samsung.com>2015-12-02 18:52:27 +0900
committerSuchang Woo <suchang.woo@samsung.com>2015-12-02 18:52:27 +0900
commit40d523a658c1a2e2311f0d588a96cbfb7eded09f (patch)
tree5a0b6e0d46634f5c89eaa79bb8cce3c23c767ea0 /libc/README
downloadlibidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.tar.gz
libidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.tar.bz2
libidn-40d523a658c1a2e2311f0d588a96cbfb7eded09f.zip
Imported Upstream version 1.15upstream/1.15
Diffstat (limited to 'libc/README')
-rw-r--r--libc/README31
1 files changed, 31 insertions, 0 deletions
diff --git a/libc/README b/libc/README
new file mode 100644
index 0000000..d57412e
--- /dev/null
+++ b/libc/README
@@ -0,0 +1,31 @@
+Libidn libc/README -- Instructions for building as a GNU Libc add-on.
+Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson
+See the end for copying conditions.
+
+GNU Libidn is now part of GNU Libc, so the stand-alone patch and
+instructions that were distributed here before has been removed.
+
+See getaddrinfo-idn.txt for the write-up of the API that is used in
+Libc.
+
+Simply build Libc as you would normally, but specify "libidn" as an
+add-on, as in --enable-add-ons=libidn to configure.
+
+Once installed, you may build and run the sample still distributed in
+this directory, perhaps as follows:
+
+$ gcc -o example example.c -L/usr/local/glibc/lib -Wl,-rpath,/usr/local/glibc/lib -nostdinc -I/usr/local/glibc/include -I/usr/include -I/usr/lib/gcc-lib/i386-linux/2.95.4/include
+$ CHARSET=iso-8859-1 ./example
+locale charset `iso-8859-1'
+gettaddrinfo(räksmörgås.josefsson.org):
+address `217.13.230.178'
+canonical name `178.230.13.217.in-addr.dgcsystems.net'
+$
+
+Internally the domain name xn--rksmrgs-5wao1o.josefsson.org is looked
+up in DNS.
+
+----------------------------------------------------------------------
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.