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 ?


Hi,

Pieter Thysebaert wrote:
> 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)
Bad idea here. Try the headers of the system your building for, not that
of the system the compiler is running on. 

Personally I had sufficient trouble with the --prefix argument to
configure. I was always better of letting the compiler do what it deems
necessary (i.e. no "--prefix=<dir>" argument), usually it will then
automatically create /usr/local/win... directory automatically and place
some symbolic links in /usr/local/bin which should not interfere with
the rest of your system.
	ls -ltr /usr/local/bin
shows you, which names the toools have here.

Regards,
	Stefan.
-- 
-----------------------------------------------------------------------    
Dipl.-Ing. Stefan M. Petters                   http://www.rcs.ei.tum.de
Institute for Real-Time Computersystems (RCS)      fon +49/89-289-23629 
Technische Universitaet Muenchen, D-80290 Muenchen fax +49/89-289-23555

------
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]