Author Topic: Gcc-native?  (Read 4324 times)

tnoell

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Gcc-native?
« on: November 16, 2005, 03:28:27 pm »
Hi OE:
I am new to OE and new to bitbake, so please forgive me if this is a dumb question ...

I am wondering why there is no "gcc-native" package?  I googled "gcc-native" and found this in an irc log:

19:51.44   luother   hi, is it normal that bitbake with oe seems to compile some things multiple times for one package? sometimes with the extension cvs or native, like gcc, gcc-native, glibc, glibc-native
19:51.49   RP   Yes, I'm refering to them...
19:52.30   kergoth_   luother: hm?
19:52.37   kergoth_   luother: there is no glibc-native, nor is there a gcc-native.
19:52.42   kergoth_   luother: oe builds what it needs, when it needs it.

In our shop, we do not build our cross compilers with the gcc installed on the system.  Rather, we use the gcc on the system to build another gcc (possibly a different version) for the host system, and then use that for building the cross toolchain.

(We do this to be able to reproduce older releases of code that were built with downlevel compilers even if our system gcc has been upgraded).

I was hoping that there was a gcc-native package, but if there is not, is there any reason why I couldn't make/describe one to bitbake?  Where do I hook in the dependency?

Thx for any light you can shine,
Tim Noell
Lexmark International, Inc.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Gcc-native?
« Reply #1 on: November 17, 2005, 05:06:18 am »
Your question will get more attention from the bitbake gurus on the oe mailing list, I'd post it there.

http://oe.handhelds.org/contact.php

I see no reason why you couldn't add a gcc-native; the reason one doesn't exist (this is my guess) is that as bitbake has thus far mainly been used to cross-compile code, there has been no need for it.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva