« Return to Thread: environment hosed during upgrade

Re: environment hosed during upgrade

by Sisyphus :: Rate this Message:

| View in Thread


----- Original Message -----
From: "Danny Smith" <dannysmith@...>
.
.
>
> Attached. This will only work with gcc-3.4.5. Install in same place as
> gcc.exe, e.g. /mingw/bin.
>

I gather I was supposed to place the file in the same place as gcc.exe (no
problem with that), then 'gzip -d xgcc-3.4.5.exe.gz', then run 'xgcc-3.4.5'
instead of 'gcc'.

Here's what I got:

C:\C>xgcc-3.4.5 -o try.exe try.c
collect2: cannot find `ld'

C:\C>gcc -v
Using built-in specs.
Configured with:
../gcc-3.4.5/configure --with-gcc --with-gnu-ld --with-gnu-as -
-host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
 --
enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shar
ed --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --ena
ble-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-sync
hronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.5 (mingw special)

C:\C>type try.c
#include <stdio.h>

int main() {

    printf("Hello from C\n");
    return 0;
}


Cheers,

Rob




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

 « Return to Thread: environment hosed during upgrade