This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Newbie - simple linux-> win 32 cross-compiler : build fails ?


On Wednesday 19 September 2001 15:00, David Korn wrote:
> >-----Original Message-----
>
> From: Pieter Thysebaert [mailto:pieter.thysebaert@intec.rug.ac.be]
>
> >Sent: 19 September 2001 13:51
> >
> >
> >I looked through the mailing list (this mailing list) archives and found
>
> out
>
> >about someone having the same errors on a linux-to-solaris build
> >
> >So I added (solution found someoen else's response to the solaris thing)
> >--with-headers=/usr/include to the ./configure (of gcc 2.95.3)
>
>   Oops.  The headers needed are those that apply to the target, not those
> for the host machine.  You'll need the headers that go with the mingw
> library itself.  Take a look at...

Ok... That solved my header-file problems 
(BTW why are these windows-oriented libs (mingw runtime) needed to compile 
the cross-compiler itself (a linux program))

But even with the latest MingW runtime (1.1 as it seems) 
I still get the second error (redeclaration of 'getpagesize')

(And yes I reconfigured gcc without the --with-headers= option)

FYI the native compiler is gcc 2.95.2 on Debian potato

Pieter

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]