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] sample config for arm-unkown-linux-gnueabi, gcc-4.4.0, glibc-2.9


Hello Dmitry!
Hello all!

On Tuesday 24 March 2009 16:52:37 Plotnikov Dmitry wrote:
> This is a sample config file for armv6 ( ARM1136J(F)-S ) processors. It 
> uses current ct-ng (nightly snapshot 20090324, latest release 1.3.2 
> works also), glibc 2.9 (from CVS), binutils 2.19 and latest snapshot of 
> GCC 4.4.0 (as of March 20, 2009).

Whoo! Nice!

> We have successfully built linux kernel 2.6.29 and a lot of other stuff 
> with this toolchain.

Good!

> Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to 
> download a 4.4.0 snapshot from ftp.

OK, I've reworked that part a little bit, so the user can specify an
alternate snapshot date.

> The patches for the 4.3.3 version worked ok, so you'll need to copy 
> 4.3.3 directory to 4.4.0 in patches/gcc/ .

That did not work out of the box for me. I'm re-diffing the 4.3.3 patchset
against 4.4-20090320, and we'll see...

> Patch for ct-ng:

Woopss... Your mailer mangled the patch...

> ct-ng config file:

There are a few mistakes in the configuration you sent. They are highlited
in-line, below...

> # General toolchain options
> #
> CT_USE_SYSROOT=y
> CT_SYSROOT_DIR_PREFIX="/home/plotnikov/x-tools/gcc"

CT_SYSROOT_DIR_PREFIX is *not* an absolute path!
Carefully read the help entry, please!

> CT_CC_EXTRA_CONFIG="CFLAGS=-ggdb3"

Why is that needed? This will build the _cross-gcc_ with debugging symbols,
thus making the cross-gcc bigger and slower! Unless I'm mistaken...

And unless you are debugging gcc, it is a bad idea, IMHO...

> #
> # Additional supported languages:
> #
> CT_CC_LANG_CXX=y
> # CT_CC_LANG_FORTRAN is not set
> # CT_CC_LANG_JAVA is not set

Other gcc versions were able to build the Fortran and Java frontends.
Did you disable them because they did not work, or simply because you
did not need them?

Anyway, thank you for your input!
I'll be back a bit later with the final results wrt the patchset, unless
you beat me to it! ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  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]