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
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/../../../../
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
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
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