New toolchain

O

ons.boutiti

Hi
I have to build a toolchain cross compiler to my new model! How can I do?! I tried to build it with crosstool-ng but it seems that crosstools-ng doesn't support new targets!
 
J

James Kuyper

Hi
I have to build a toolchain cross compiler to my new model! How can I do?! I tried to build it with crosstool-ng but it seems that crosstools-ng doesn't support new targets!

The crosstool-ng web site says "The IRC support channel is #crosstool-ng
on irc.freenode.net". That's probably the best place to go with such
questions.
 
O

Ons

Le jeudi 3 avril 2014 23:08:20 UTC+2, James Kuyper a écrit :
The crosstool-ng web site says "The IRC support channel is #crosstool-ng

on irc.freenode.net". That's probably the best place to go with such

questions.

Hi
The link above is not available! Please check it!
 
D

David Brown

Hi I have to build a toolchain cross compiler to my new model! How
can I do?! I tried to build it with crosstool-ng but it seems that
crosstools-ng doesn't support new targets!

What do you mean by "new model" ? Are you talking about a different
chip with the same cpu as other chips you have used? Or a different
cpu? And why do you think you have to build your own toolchain? I'm
guessing you are talking about gcc - there are pre-built versions
available for most uses.

This is not really a good newsgroup for particular compilers - it's
about the C language - but we need a lot more concrete information if
someone is to help you get what you are looking for.
 
O

Ons

Le vendredi 4 avril 2014 09:39:44 UTC+2, David Brown a écrit :
What do you mean by "new model" ? Are you talking about a different

chip with the same cpu as other chips you have used? Or a different

cpu? And why do you think you have to build your own toolchain? I'm

guessing you are talking about gcc - there are pre-built versions

available for most uses.



This is not really a good newsgroup for particular compilers - it's

about the C language - but we need a lot more concrete information if

someone is to help you get what you are looking for.

Indeed, it is a new architecture similar to Mips and its toolchain wasn't provided yet!
 
D

David Brown

Le vendredi 4 avril 2014 09:39:44 UTC+2, David Brown a écrit :

Indeed, it is a new architecture similar to Mips and its toolchain wasn't provided yet!

If you are talking about a new architecture, you have a /lot/ of work
ahead of you. Crosstools is nothing more than a collection of
information and scripts to make it easier to build cross development
tools (compiler, assembler, linker, library, etc.) for gcc-supported
targets. (I think in theory, crosstools-ng.org would like to support
other compilers, but in practice they are gcc only.)

When you want to add a new cpu architecture to gcc, far more work is
involved. And if you are asking here about it, and mixing it up with a
simple crosstools build, then you are so unqualified for the job that I
am not even going to give you pointers and a things-to-do list. Tell
your boss or teacher that you haven't the first clue about what you are
doing, and they should either contact someone like Red Hat or Code
Sourcery for professional help, or plan for you to spend a long time
learning and researching before you can start the actual work of porting
the toolchain.
 
K

Kenny McCormack

David Brown said:
you are so unqualified for the job that I
am not even going to give you pointers and a things-to-do list. Tell
your boss or teacher that you haven't the first clue about what you are
doing, and ask that they get you some
professional help, or plan for you to spend a long time
learning and researching before you can start the actual work of porting

The love and consideration that CLC is famous for...
 
D

David Brown

The love and consideration that CLC is famous for...

I am considering the time of the developers of the various projects
involved here. When (and if) the OP shows he has the basic
understanding of what he wants to achieve, then I will gladly help point
him towards that goal - the gcc folk are always happy to get new ports.
But while he is at the stage of "Hi, I want to build a new type of car.
I've got some wheels - where do I go from here?", I see no point in
encouraging him to waste people's time with inane questions.

So for now, and the next few weeks of research and reading, google
"porting gcc to a new architecture".
 
W

Walter Banks

David said:
I am considering the time of the developers of the various projects
involved here. When (and if) the OP shows he has the basic
understanding of what he wants to achieve, then I will gladly help point
him towards that goal - the gcc folk are always happy to get new ports.
But while he is at the stage of "Hi, I want to build a new type of car.
I've got some wheels - where do I go from here?", I see no point in
encouraging him to waste people's time with inane questions.

So for now, and the next few weeks of research and reading, google
"porting gcc to a new architecture".

Creating a new compiler is seductive. It does take very long to
get it working for a new ISA. It takes a lot of work to make
an effective tool for new applications.

w..
 
W

Walter Banks

Walter said:
Creating a new compiler is seductive. It does not take very long to
get it working for a new ISA. It takes a lot of work to make
an effective tool for new applications.

w..

does not take... :(
 
J

jacob navia

Le 03/04/2014 22:11, (e-mail address removed) a écrit :
Hi
I have to build a toolchain cross compiler to my new model!

How can I do?! I tried to build it with crosstool-ng but it seems that
crosstools-ng doesn't support new targets!
You are using the wrong compiler chain. Forget gcc, it is useless. Use
lcc, a much smaller compiler where the port to a new architecture can be
delivered in six months, including compiler+linker+debugger.

It is not free like gcc, but cheaper of course. For gcc you have for
around 2-3 man years for developing a cross compiler. For lcc is around
0.5 man years.

If interested I can forward you a customer list.

Write to:

jacob at jacob dot remcomp dot fr
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top