This is the mail archive of the crossgcc@sourceware.org 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: [PATCH] Add basic m68k support to crosstool-ng


Hello Remy, All!

Whaoo! Very nice! Thank you for the submission! :-)

I have however a few questions, see below...

On Thursday 28 January 2010 19:57:14 Remy Bohmer wrote:
> +config ARCH_m68k
> +    select ARCH_SUPPORTS_32
> +    select ARCH_DEFAULT_32
> +    select ARCH_DEFAULT_BE
> +    select ARCH_SUPPORT_CPU

From the gcc man page, it seems you can also pass -march and -mtune.
Did you exclude those on purpose, or is it a oversight?

[--SNIP--]
> +#
> +# Operating System
> +#
> +CT_BARE_METAL=y
> +# CT_KERNEL_SUPPORTS_SHARED_LIBS is not set
> +CT_KERNEL="bare-metal"
> +CT_KERNEL_bare_metal=y
> +# CT_KERNEL_linux is not set

This means a bare-metal target. OK.
Is it possible to generate:
- m68k-linux-gnu ?
- m68k-linux-uclibc ?

> +#
> +# elf2flt
> +#
> +CT_ELF2FLT_CVSHEAD=y
> +# CT_ELF2FLT_CVS_SNAPSHOT is not set
> +CT_ELF2FLT_VERSION="head"
> +CT_ELF2FLT_EXTRA_CONFIG=""

elf2flt is currently disabled in the code. We do not (yet) build it, as
we do not call its functions (for now).

Did you notice that?
Was your toolchain functional?

[--SNIP--]
> +CT_DoArchTupleValues() {
> +    # The architecture part of the tuple:
> +    CT_TARGET_ARCH="${CT_ARCH}"

This is the default, and needs not be repeated.

This is a whole new architecture, and should not disrupt existing code,
so I'll add it. I'd like to read your answers, however, at least for my
own curiosity, or better yet, so we can improve m68k support.

Thank you again! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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