Canadian cross on cygwin

Tal Agmon Tal.Agmon@nsc.com
Thu Aug 26 09:58:00 GMT 2004


Jim Wilson wrote:
>Tal Agmon wrote:
>> I'm trying to compile on cygwin using a mingw32-gcc.exe compiler. What should
I
>> specify in
>> --build and --host?
>
>Just specify --target.  config.guess will default built and host
>appropriately.  You only need to specify host/build if you want to do a
>"canadian" cross where the host and build are different.

Isn't compiling a compiler that is going to generate crx executable, will run
on windows and built on cygwin is a canadian cross?

I know I need to specify --target=crx-elf and I guess --build=i686-pc-cygwin
but I don't know which host to specify.
I tried many options in the form *-*windows or *-*-mingw32 but no option seem
to work.

Regards,
      Tal Agmon

Software Engineer                                   phone: +49-8141-35-1396
CompactRISC Development Tools  fax:                 +49-8141-35-11-1396
National Semiconductor GmbH                         mailto:Tal.Agmon@nsc.com
Livry-Gargan Str. 10                                internet:
http://www.national.com
82256 Fuerstenfeldbruck, Germany


                                                                                                                                     
                      "James E Wilson"                                                                                               
                      <wilson@specifixi        To:       "Tal Agmon" <Tal.Agmon@nsc.com>                                             
                      nc.com>                  cc:       gcc@gcc.gnu.org                                                             
                                               Subject:  Re: Canadian cross on cygwin                                                
                      08/26/04 02:47 AM                                                                                              
                                                                                                                                     
                                                                                                                                     




Tal Agmon wrote:
> I'm trying to compile on cygwin using a mingw32-gcc.exe compiler. What should
I
> specify in
> --build and --host?

Just specify --target.  config.guess will default built and host
appropriately.  You only need to specify host/build if you want to do a
"canadian" cross where the host and build are different.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com









More information about the Gcc mailing list