This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the EGCS project.
Re: [ANN] gcc-2.95 binaries for x86-win32 targets
- To: "Shiv Shankar Ramakrishnan" <rshivs@hotmail.com>
- Subject: Re: [ANN] gcc-2.95 binaries for x86-win32 targets
- From: Mumit Khan <khan@xraylith.wisc.EDU>
- Date: Sun, 01 Aug 1999 22:38:15 -0500
- cc: gcc@gcc.gnu.org
"Shiv Shankar Ramakrishnan" <rshivs@hotmail.com> writes:
> Hi,
> I seem to be having problems with libstdc++ not being found by
> Mingw32 [gcc-2.95 ver from Mumit Khan's site]. It seems by default
> after unzipping, libstdc++.a is not present in the gccroot\lib dir.
> I had to copy it from gccroot\lib\gcc-lib\i386-mingw32\2.95 dir.
There's no need for (static) libstc++.a to be in the lib directory. It
belongs in the same place where all the other language runtimes are
such as libg2c etc.
The compiler searches the compiler directory first, so there should
be no problem. Lots of others are using it (I counted about 200
downloads by late evening), so unless you send me more info, I can't
help. Please send me the following info (don't bother copying the
list):
$ g++ -v
$ g++ -v -o foo foo.cc
where foo.cc is a just a 'int main () { return 0; }'
> BTW I am not using GCC_EXEC_PREFIX. What am I doing wrong?
what about LIBRARY_PATH?
> Also there are problems with the msvcrtruntime package ... but Mumit
> has already posted that a new fixed one will be available soon so
> thats okay.
Yes. I won't have time until T or so to fix that.
>
> Juts as an aside is it possible to build Mingw32 such that it uses
> msvcrt.dll for itself also as opposed to crtdll.dll? Since after
> configuring Mingw32 for msvcrt, only the .exe's are made to use msvcrt
> and gcc itself uses crtdll. Any pointers to how to make gcc use
> msvcrt? Is it possible in the first place?
Sure, but you need to use a cross-compiler since mingw can't be build
natively using the normal configuration. Just configure it as
i386-mingw32msvc instead of i386-mingw32. You'll probably need a Unix
machine to build the cross and canadian cross compilers. For more
info, check the crossgcc archives (http://www.objsw.com/).
Regards,
Mumit