[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: vpi compile mingw



|Are you somehow mixing Cygwin and Mingw libraries in the link?
|That's my best guess.

Before I configure and run make, I have done PATH=/cygdrive/c/MinGW/bin:$PATH
There is no cygwin in the LDFLAGS or CPPFLAGS.
Should the gnuwin32 be before the mingw in the above flags? That is what your instruction in mingw.txt currently indicates.

Other than the changes I mentioned yesterday in fseeko, ftello, I had to
stub out isatty()
add -liberty to the link step (this c:/mingw/lib/libiberty.h was not picked up automatically without this).

Cordially, CN


On Thu, 07 Jul 2005 18:40:21 -0700, Stephen Williams wrote:

CN wrote:
| I got most of the modules built; the synthesis portion appears to be working. However
vpi fails make check. I had to supply c:/cygwin/lib/libc.a to the link step for the vpi
build to complete; otherwise I get undefined references to `fseeko' and `ftello'. I do
not know if that is the correct libc, but that is the only one I have under the cygwin,
mingw, mingw-packages, and gnuwin32 trees here.
|
| make[1]: Entering directory `/cygdrive/c/ivl_ag/v81b/vvp'
| ./vvp -M../vpi ./examples/hello.vvp | grep 'Hello, World.'
| 3 [main] ? 4080 cygheap_fixup_in_child: Couldn't reserve 9891792 bytes of
| space for cygwin's heap (0x61820000 <0xE30000>) in child, Win32 error 487
| c:\ivl_ag\v81b\vvp\vvp.exe (4080): *** m.AllocationBase 0x0, m.BaseAddress 0x618
| 20000, m.RegionSize 0x3E0000, m.State 0x10000
|
| Sometimes, the make check will leave my cygwin environment trashed, I have to reboot!

Are you somehow mixing Cygwin and Mingw libraries in the link?
That's my best guess.

Gosh Mac's are so much easier then Windows machines:-)

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."