Re: [gentoo-dev] g++ problem

2007-05-31 Thread Christian Parpart
On Monday 28 May 2007 18:16:11 Robert Clark wrote: works fine as soon as I add the -static flag for g++  g++ -g -Wall -static  `curl-config --cflags` `curl-config --libs` -l xerces-c Ui.cpp GetDataCurl.cpp GetDataAmazon.cpp XmlParser.cpp Options.cpp

[gentoo-dev] g++ problem

2007-05-28 Thread Didi
Hi I wrote a little c++ program. It works fine if I compile it on my machine. But now I want to statically link everything so I can run the program on other some other arches. Where there might be no xerces-c for example (OpenBSD) g++ -g -Wall `curl-config --cflags` `curl-config --libs` -l

Re: [gentoo-dev] g++ problem

2007-05-28 Thread Robert Clark
On 28/05/07, Didi [EMAIL PROTECTED] wrote: Hi I wrote a little c++ program. It works fine if I compile it on my machine. But now I want to statically link everything so I can run the program on other some other arches. Where there might be no xerces-c for example (OpenBSD) g++ -g -Wall

Re: [gentoo-dev] g++ problem

2007-05-28 Thread Ioannis Aslanidis
You may ask for help on the Gentoo Forums: http://forums.gentoo.org On 5/28/07, Robert Clark [EMAIL PROTECTED] wrote: On 28/05/07, Didi [EMAIL PROTECTED] wrote: Hi I wrote a little c++ program. It works fine if I compile it on my machine. But now I want to statically link everything so I

Re: [gentoo-dev] g++ problem

2007-05-28 Thread Mike Frysinger
On Monday 28 May 2007, Didi wrote: works fine as soon as I add the -static flag for g++ g++ -g -Wall -static `curl-config --cflags` `curl-config --libs` -l xerces-c Ui.cpp GetDataCurl.cpp GetDataAmazon.cpp XmlParser.cpp Options.cpp