This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: Cross configure problems


Ralph Schmidt wrote:

> I created a m68k-amigaos cross development enviroment under Openstep which worked so far.
> But then i wanted to generate a ppc-amigaos-gcc(where host is 68k) inside this enviroment
> and noticed that configure has serious problems with the host system not being equal to
> the run system.

 Your 'run' system is normally called as the 'build' system.

> Example: gcc needs a lot gen* utilities to generate all kinds of internal .c and .h files.
> But it generated these executables for the --host enviroment and not for the run enviroment
> and i don't think this was intended:-)

 Computers are expected to be stupid, so telling all the facts doesn't
hurt. If you tell it only the '--host=m68k-amigaos', configure probably
expects the '--build=m68k-amigaos' too.

> I think that configure needs to care for this case where --host != run system and first
> generates a run-target cross toolset or searches for one in the --prefix

 A normal build using 'Canadian Cross' should be configured with :

 ./configure --build=the_build_system --host=the_host_system \
--target=the_target_name

 In your case you should first have a Openstep-x-ppc-amigaos toolset
additionally with the Openstep-x-m68k-amigaos toolset (which you seem
to have already), before you can start building your new
'm68k-amigaos-x-ppc-amigaos' toolset (If I understood your words right).

 You will need the ppc-amigaos target toolset into your build system,
for
producing the target libs there (libgcc.a, libibiberty.a,...)

Cheers, Kai


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