aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/README
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-14 23:01:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-14 23:01:14 +0000
commitc7d517f6d2fd056e50fa0cb345e22d6cd7917216 (patch)
treeefbb884f3d6fbd12cb061e1de263a4b6e52d7cfa /docs/examples/README
parent183f1531d3104acf453ac710b6dfc69b8bfc99a2 (diff)
re-order the compiler arguments to keep more compiler happy
Diffstat (limited to 'docs/examples/README')
-rw-r--r--docs/examples/README5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/examples/README b/docs/examples/README
index dfc0d5a8c..dd053d8f0 100644
--- a/docs/examples/README
+++ b/docs/examples/README
@@ -14,6 +14,11 @@ Most examples should build fine using a command line like this:
$ `curl-config --cc --cflags --libs` -o example example.c
+Some compilers don't like having the arguments in this order but instead
+want you do reorganize them like:
+
+ $ `curl-config --cc` -o example example.c `curl-config --cflags --libs`
+
*PLEASE* do not use the curl.haxx.se site as a test target for your libcurl
applications/experiments. Even if the examples in this directory use that site
as an example URL at some places, it doesn't mean that the URLs work or that