This is the mail archive of the 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]
Other format: [Raw text]

Re: gcc-2.95.3-5, where "as"?

On 25-May-04, Daniel Kegel wrote:
>lazer1 wrote:
>> I am trying now to rebuild a 68k hosted ppc-morphos gcc-2.95.3-5,
>> Morphos being another reimplementation of AmigaOS,
>> I want this cross compiler to exist in the same directory structure 
>> as other gcc's, 
>> Now this morphos-gcc calls "as", but this results in 68k native "as" 
>> being called which then fails,
>> so instead I want morphos-gcc to call ppc-morphos-as instead,
>> However "as" is not specified in specs for gcc-2.95.3-5,
>> with gcc-3.3.1 "as" is specified there so I can fix such a problem 
>> for gcc-3.3.1 by substituting "as" by "some-prefix-as" in specs,
>> My question is:
>> where is "as" specified in gcc-2.95.3-5? (grep doesnt seem to help me),
>> ie which entry in which file should I change so that 
>> gcc -c xyz.c -o xyz.o 
>> would call ppc-morphos-as instead of "as",

>I think --target=ppc-morphos should do it, but you may need to
>update e.g. gcc/config.gcc to handle that...
>- Dan

gcc --target=ppc-morphos -c xyz.c -o xyz.o
has the same problem,

there being no gcc/config.gcc I looked through gcc/configure 
and --with-as looks promising so I will try reconfiguring with

....../gcc-2.95.3-5/configure --with-as=/gg/bin/ppc-morphos-as
--target=powerpc-unknown-morphos .......

and see if that does it,

there is also an option --with-ld which may also be useful,

I will report back on whether this fixes the problem,

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

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