Dear list,

I'm experiencing a nasty problem with cross-compiler. I'm using 64-bit
Mac OS X 10.6.6 with macports and

> i386-mingw32-g++ --version
i386-mingw32-g++ (GCC) 3.4.5 (mingw-vista special r2)
> i386-mingw32-ld --version
GNU ld (GNU Binutils) 2.19.1

(but I'm experiencing similar problems on another linux machine that I
have tried).

When I try to run
    i386-mingw32-g++ picoscope.cpp main.cpp -o main.exe -lps4000 -L.
it crashes with
    collect2: ld terminated with signal 11 [Segmentation fault]

However it works with MiwGW
    g++ picoscope.cpp main.cpp -o main -lps4000 -L.
under Windows (7).

I have put the files and make-osx.sh/make-win.bat to a temporary location
    http://ol.ijs.si/~mojca/osciloskop/linker.zip
(The file is 374K and I wasn't sure if it was OK to put attach it.)

I know that the version of linker on my computer might be old, but:
- I don't know how to compile & install the latest one
- I am curious to know whether the same problem happens on your
machines when you run the latest versions of linkers.

Thank you very much for your help,
    Mojca

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to