[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cross compiling (mingw32)



On Fri, 22 Jun 2001, Joel Mayes wrote:

> G'day All,
> 
> I'm trying to cross compile a the display-dhammpada program for
> a friend who runs a win95 box, I've installed the mingw32 package
> and the target using '-b i586-mingw32msvc'.
> I'm getting an error mesage which reads
> 
> gcc: installation problem, cannot exec `cpp0': No such file or directory
> gcc: file path prefix `/usr/lib/gcc-lib/i586-mingw32msvc/2.95.4/' never used
> make: *** [display-dhammapada] Error 1
> 
> Any advice would be very welcome
> 

You could try instad of using the -b option, using the
i586-mingw32msvc-* tools

eg to complie win stuff I just use

$ i586-mingw32msvc-gcc -o helloworld.exe helloworld.c -mwindows

and then you can run your newly created app under wine :)

$ wine helloworld.exe &


cheers

dc

--------------------------------------------------------
Today people in droves hurry up past Heumoz to Villars 
on the road to the ski hills, so they can rush down them
as fast as possible, so they can hurry up again in order
to rush down again.  In a way this is funny,...

			Francis A Schaeffer

David Purton

http://www.chariot.net.au/~dcpurton/
dcpurton@chariot.net.au



Reply to: