This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build gcc under Cygwin


Am Mittwoch, 20. Dezember 2006 05:22 schrieb Guvvy:
> Following Gnu installation instructions, I made a directory "w98c" in
> /usr/local. I first placed the downloaded version of gcc (I've tried 3 now;
> gcc-3.3, gcc-4.0.2 and gcc 4.1.1) in / directory.
>
> I changed "Autoexec.bat" to reflect the PATH to
> C:%PATH%;C:\CYGWIN\GCC-3.3\GCC.
>
> Invoked Cygwin, went to the "w98c" directory and typed in
> "/gcc-3.3/configure". It complained about not finding a valid c compiler -
> please set CC variable in my environment. I did just that in the
> "Autoexec.bat"; "SET CC=TO C:\CYGWIN\GCC-3.3\
>
> Attempted re-configure, same complaint.      What am I doing wrong.

Your questions suggest that you have to learn a lot about how the automake 
tookchain works. If all you want is a newer compiler then I suggest you just 
download one from the GNU-Ada-Project [1]. While Ada is indeed priority, we 
compile all gcc-languages which won't put up a fuss.

Martin

PS: RPM on cygwin - Well, we got the build-specs from the Linux build and we 
just execute then under Cygwin - saves us lot's of time.

[1] http://gnuada.sourceforge.net/pmwiki.php/Install/Cygwin
-- 
Martin Krischik
mailto://krischik@users.sourceforge.net

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]