Hi Robins,

I guess, you just copied gcc.exe and expected it to work. GCC is just a
wrapper program, which calls the appropriate utilities for the various
tasks. cc1 is the actual compiler executable called when you invoke GCC.
binutils provides as/ld etc. cc1 is generally found in
lib/gcc-lib/__target__/__version__/ in the GCC binary tree. Something like
i386-pc-mingw32msvc/tools/lib/gcc-lib/i386-pc-mingw32msvc/3.1.1/cc1, where
i386-pc-mingw32msvc/tools/ is the installation directory. Your problem could
also be due to an incorrect build/install of GCC.

BTW, the default GCC is not a cross compiler on RHL, in fact in may not be
on any distro.

Also, compiling GCC from source for a cross Win32 target is a pretty
difficult process, something or the other breaks. You would be better off
getting the binaries from some site. Pretty adventurous, a Canadian Cross is
even more adventurous. ;-)

Regards,

Venky

Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/


>>>>>> "Robins" == Robins Tharakan writes:
>
>Robins> hi, i need to compile a pretty simple c program for a
>Robins> win32 platform.
>
>Robins> i frankly hate to run TurboC through dosemu to do this
>Robins> stuff (which means a pain of installing dosemu.. but thats
>Robins> another story..).
>
>Robins> gcc mult5.c -b win32 -o mult gives :
>>> gcc: installation problem, cannot exec `cc1': No such file or
>>> directory
>
>You'll have to install (or compile) a cross-compiling gcc. You'll
>also probably need a full set of cross-* tools, such as a
>cross-assembler, cross-linker and the Win32 libraries.
>
>Regards,
>
>-- Raju
>-- 
>Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/
>GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F
>It is the mind that moves
>
>_______________________________________________
>ilugd mailing list
>[EMAIL PROTECTED]
>http://frodo.hserus.net/mailman/listinfo/ilugd
>
>Get Your Private, Free E-mail from Indiatimes at  
>http://email.indiatimes.com
>Buy The Best In BOOKS at 
>http://www.bestsellers.indiatimes.com
>Bid for Air Tickets on Air Sahara Flights at Prices Lower Than 
>Before. Just log on to http://airsahara.indiatimes.com and Bid Now !
>_______________________________________________
>ilugd mailing list
>[EMAIL PROTECTED]
>http://frodo.hserus.net/mailman/listinfo/ilugd
>

_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to