Re: Segmentation fault whew cross-compiling with included dll-s

2011-01-25 Thread Mojca Miklavec
On Sun, Jan 23, 2011 at 23:43, Alan Modra wrote: > On Sun, Jan 23, 2011 at 05:30:50PM +0100, Mojca Miklavec wrote: >> Do you want to say that the latest version of ld doesn't crash > > Yes. I just wanted to confirm that after I figured out how to compile the version 2.21 it works without segfaulti

Re: Segmentation fault whew cross-compiling with included dll-s

2011-01-23 Thread Alan Modra
On Sun, Jan 23, 2011 at 05:30:50PM +0100, Mojca Miklavec wrote: > Do you want to say that the latest version of ld doesn't crash Yes. > and > generates a valid binary main.exe? That I don't know. I don't have a mingw system to run it on. > If yes - may I ask for some link to instructions how t

Re: Segmentation fault whew cross-compiling with included dll-s

2011-01-23 Thread Mojca Miklavec
On Sun, Jan 23, 2011 at 14:58, Alan Modra wrote: > On Sun, Jan 23, 2011 at 10:55:49AM +0100, Mojca Miklavec wrote: >>     http://ol.ijs.si/~mojca/osciloskop/linker-with-libs.tar.gz > > $ ~/build/gas/i586-mingw32/ld/ld-new -Bdynamic -o main.exe crt2.o crtbegin.o > -L. ccDm0qY9.o cc0NneNj.o -lps4000

Re: Segmentation fault whew cross-compiling with included dll-s

2011-01-23 Thread Alan Modra
On Sun, Jan 23, 2011 at 10:55:49AM +0100, Mojca Miklavec wrote: > http://ol.ijs.si/~mojca/osciloskop/linker-with-libs.tar.gz $ ~/build/gas/i586-mingw32/ld/ld-new -Bdynamic -o main.exe crt2.o crtbegin.o -L. ccDm0qY9.o cc0NneNj.o -lps4000 -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt

Re: Segmentation fault whew cross-compiling with included dll-s

2011-01-23 Thread Mojca Miklavec
On Sun, Jan 23, 2011 at 04:38, Alan Modra wrote: > On Fri, Jan 21, 2011 at 05:56:09PM +0100, Mojca Miklavec wrote: >> I have put the files and make-osx.sh/make-win.bat to a temporary location >>     http://ol.ijs.si/~mojca/osciloskop/linker.zip > > You would probably be better off asking these ques

Re: Segmentation fault whew cross-compiling with included dll-s

2011-01-22 Thread Alan Modra
On Fri, Jan 21, 2011 at 05:56:09PM +0100, Mojca Miklavec wrote: > I have put the files and make-osx.sh/make-win.bat to a temporary location > http://ol.ijs.si/~mojca/osciloskop/linker.zip You would probably be better off asking these questions on a mingw support list. I suspect not many peopl

Segmentation fault whew cross-compiling with included dll-s

2011-01-21 Thread Mojca Miklavec
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 o