[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-user: iverilog main.cc undefined reference using --host=mingw32
Hi, Brendan,
I sent a followup to Stephen's reply. Basically, the root problem which caused
me to even try host=mingw32 is that the automatically compiled software crashes
by violating an assertion (its buried in an earlier posting). That might mean that
the autodetected host doesn't correspond to mingw32, which is quite possible
because I'm running everything from a cygwin command line. But I do have mingw's
bin ahead of cygwin's bin, and the compilation messages confirm that it is mingw's
make program in action. It fails if was the other way around (which was an even
earlier problem I had). I've been burning up lots of mailing list bandwidth, but
also plenty of midnight oil. (Midnight is early!)
The insidious thing is that I can't duplicate the assertion violation on smaller
nonproprietary designs. I guess that isn't the most hopeful circumstance (in
hoping for a solution, that is).
Fred
--
--------------------------------------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada K1S 5B6
fma@doe.carleton.ca
==========================================================================
Brendan J Simon wrote:
> Stephen Williams wrote:
>
> >>Who knows, maybe using "config --host=mingw32" isn't even the right
> >>way to go about this
> >>
> >
> >It is not. Follow the mingw.txt instructions, there is no need for
> >the --host=anything flag. Also, try the latest snapshot, or at least
> >hand edit the generated Makefile to pass -liberty to the linker.
> >
> I can't see why the --host=mingw32 shouldn't work. I would think that
> if you are building on the host you intend to run the app on then the
> configure script will autodetect a mingw32 system and implicitly use a
> --host=mingw32. If you wanted to build on a Linux machine so that the
> resultant executables will run on a mingw32 machine then the
> --host=mingw32 would be mandatory.
>
> Brendan Simon.