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 > > > > /usr/lib/gcc/x86_64-p

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 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../

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

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 `cur

[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 xerc