ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/02/19/00:01:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: errors using C++ libraries
Organization: Systematic Software
Message-ID: <92opp41r2tu8ifdli02ta0339q4p0p28gf@4ax.com>
References: <6cbd46b4-0b3e-4361-aabc-82d22598458d AT o40g2000yqb DOT googlegroups DOT com> <65f3fabf-e6b6-4fa0-8bd0-8a4e3f6414d0 AT p2g2000prn DOT googlegroups DOT com> <200901090631 DOT n096VpHO022485 AT envy DOT delorie DOT com> <eb42d8cc-2537-43ed-ad41-bc9a60a160c4 AT r10g2000prf DOT googlegroups DOT com> <fk3dn4hbcskv1jdlmpptv8ke178lm8cupo AT 4ax DOT com> <7705c9030901202209o6c411db4x40f8eb88d65b9c2e AT mail DOT gmail DOT com> <e21fccd1-14bf-4a10-b92e-f4aa2a5e2212 AT k36g2000pri DOT googlegroups DOT com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 57
NNTP-Posting-Host: 68.147.114.135
X-Complaints-To: internet DOT abuse AT sjrb DOT ca
X-Trace: newsfe10.iad 1235018963 68.147.114.135 (Thu, 19 Feb 2009 04:49:23 UTC)
NNTP-Posting-Date: Thu, 19 Feb 2009 04:49:23 UTC
Date: Wed, 18 Feb 2009 21:49:23 -0700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 14 Feb 2009 21:43:57 -0800 (PST) in comp.os.msdos.djgpp, Jim
Michaels <jmichae3 AT yahoo DOT com> wrote:

>On Jan 20, 10:09 pm, Blair Campbell <blaird DOT  DOT  DOT  AT gmail DOT com> wrote:
>> > Everything including the compiler directories have to be under the same
>> > DJGPP tree: C:/DJGPP/* if that is your current DJDIR.
>>
>> > Nothing should be under f:\djc if you want it to work.
>>
>> Well actually f:\djc COULD be the djgpp root directory, if DJDIR pointed there.
>> But I think what's happened is that he unzipped each zip into its own
>> directory (e.g. gccxx.zip\* ended up in f:\djc\gccxx\* instead of
>> f:\djc\* where it should have been.
>>
>>
>>
>> > It is a Unix like environment rooted at your DJGPP directory which can
>> > be anything anywhere.
>>
>> > Your source code and data can be anywhere else you want but all the
>> > binaries and other distribution files MUST be under that single root.
>>
>> > The compiler executables MUST be in .../bin/ and other files under
>> > .../lib/gcc/djgpp/4.32/, .../include/, etc NOT f:/djc/!

>I am just extracting everything from f:\djc as they come out like I
>was told by DJ Delorie.
>as it is, the following executeables come out somewhere other than the
>bin directory:
>F:\djc\LIBEXEC\GCC\DJGPP\4.32\CC1.EXE
>F:\djc\LIBEXEC\GCC\DJGPP\4.32\CC1OBJ.EXE
>F:\djc\LIBEXEC\GCC\DJGPP\4.32\CC1OBJPL.EXE
>F:\djc\LIBEXEC\GCC\DJGPP\4.32\CC1PLUS.EXE
>F:\djc\LIBEXEC\GCC\DJGPP\4.32\COLLECT2.EXE
>F:\djc\LIBEXEC\GCC\DJGPP\4.32\INSTALL-\FIXINCL.EXE
>so I decided to add
>         F:\djc\LIBEXEC\GCC\DJGPP\4.32\;F:\djc\LIBEXEC\GCC\DJGPP
>\4.32\install-
>to the path.  this makes no difference.

SET PATH=f:\djc\bin;%PATH% ONLY. 
This allows you to run any DJGPP user executables like gcc or gxx once
the following steps are complete. 

Use unzip32 from f:\djc on your downloads of
ftp://ftp.delorie.com/pub/djgpp/{current,beta}/v2/djdev20[34].zip
and
ftp://ftp.delorie.com/pub/djgpp/{current,beta}/v2gnu/bnu219b.zip
depending on which build {current,beta} of gcc you downloaded. 

SET DJGPP=f:\djc\djgpp.env: other paths are found relative to this path.

-- 
Thanks. Take care, Brian Inglis 	Calgary, Alberta, Canada

Brian DOT Inglis AT CSi DOT com 	(Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
    fake address		use address above to reply

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019