Re: How to define a environment variable to compile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well I thought in advance on this one and did install ALL options.  It just
finished.

Now all my configurations are at their default setting.  How do I compile
GCC or has it already be installed for me?

Thanks,

Clarence K
----- Original Message ----- 
From: "Claudio Bley" <bley@xxxxxxxxxxxxxxxxxxx>
To: "Clarence Klopfstein" <clarence@xxxxxxxxxxxxxx>
Cc: <gcc-help@xxxxxxxxxxx>
Sent: Tuesday, October 14, 2003 2:57 PM
Subject: Re: How to define a environment variable to compile?


> On Tue, Oct 14, 2003 at 12:40:00PM -0400, Clarence Klopfstein wrote:
> > Thought I would send a follow up email.  Here is what I get on my screen
> > trying to compile.
> >
> > After reading a few of the past emails, I tried to delete my .cache
file,
> > but it did not help.
> >
> > CKPC@CLARENCEK ~
> > $ gcc-3.3.1/configure
> > Configuring for a i686-pc-cygwin host.
> > *** This configuration is not supported in the following subdirectories:
> >      target-libffi target-boehm-gc target-zlib target-libjava
> >     (Any other directories should still work fine.)
> > Created "Makefile" in /home/CKPC using "mh-frag"
> > cc: not found
> > *** The command 'cc -o conftest -g   conftest.c' failed.
> > *** You must set the environment variable CC to a working compiler.
>
> You need to have a working compiler under cygwin already installed in
> order to compile GCC. Just fire up the cygwin setup application and
> add the missing compiler and appropriate development files (for sake
> of simplicity just intall *all* packages if unsure or desperate ;)
> ). After installation you should be all set to compile GCC.
>
> If you have GCC installed to an unusual location or changed its name
> somehow or you're using another compiler just set the CC variable to
> indicate which compiler should be used to compile GCC as instructed by
> configure:
>
> export CC="/c/bin/my-own-version-of-gcc"
>
> HTH
> -- 
> Claudio Bley                                 ASCII ribbon campaign (")
> Debian GNU/Linux user                         - against HTML email  X
> http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux