Article View: uk.comp.os.linux
Article #769Re: Getting a working libg++ on Linux
From: Nick Kew
Date: Thu, 13 Jul 2000 00:00
Date: Thu, 13 Jul 2000 00:00
31 lines
2110 bytes
2110 bytes
In article <ddouj8.l4m.ln@www.bibliotech.net>, rich@no-annexia-spam.org writes: > I was able to get a program which uses the Integer class > working at the weekend by simply copying *.h, *.hP and *.cc > files out of the src/ subdir of the latest libg++ (2.8.1a > I think) and compiling as follows: Following your post and Nix's insights, I've tried another variant on this approach, creating a libmini-g++ with only what I need from libg++, and taking the real libg++ right out. I'm getting promising-looking results (compiles and links cleanly, and appears to run but needs more testing). This works by statically linking libmini-g++.a - at the obvious cost of an extra 150Kb+ on my executable sizes - which are now significantly larger than on FreeBSD (where the S/W has always worked cleanly). > g++ -I. *.cc *.cpp -o my_program I've used a slightly more sophisticated approach to build the mini-lib as standalone. Since parts of my S/W are GPL and LGPL, that'll leave users the option to use mini-g++ or the real thing. Testing over the weekend - round tuits permitting. -- Nick Kew Peninsular Penguin - Linux in the SouthWest http://www.pen-pen.co.uk/
Technical Details
Message-ID:
<kutkk8.s5.ln@sleipnir.webthing.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<b5stj8.h6.ln@sleipnir.webthing.com> <ddouj8.l4m.ln@www.bibliotech.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ba33,3d3c6298d1f80be8 X-Google-Attributes: gid10ba33,public X-Google-Thread: f9b51,3d3c6298d1f80be8 X-Google-Attributes: gidf9b51,public X-Google-Thread: 10d8ad,3d3c6298d1f80be8 X-Google-Attributes: gid10d8ad,public From: nick@webthing.com (Nick Kew) Subject: Re: Getting a working libg++ on Linux Date: 2000/07/13 Message-ID: <kutkk8.s5.ln@sleipnir.webthing.com> X-Deja-AN: 646092388 X-NNTP-Posting-Host: hyperlens.demon.co.uk:212.228.207.125 References: <b5stj8.h6.ln@sleipnir.webthing.com> <ddouj8.l4m.ln@www.bibliotech.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 963527090 nnrp-09:4306 NO-IDENT hyperlens.demon.co.uk:212.228.207.125 Organization: The Holy Book of the Great Bludner Mime-Version: 1.0 Newsgroups: uk.comp.os.linux,comp.os.linux.setup,gnu.g++.help