Reply
Thread Tools
nowave7's Avatar
Posts: 245 | Thanked: 62 times | Joined on Jan 2009 @ Bad Homburg, Deutschland
#1
Is there a way to upgrade the current gcc version, which is 4.2.1 at the moment, to say at least 4.3 in scratchbox?
__________________
Save the whales, feed the hungry, free the mallocs!
 

The Following User Says Thank You to nowave7 For This Useful Post:
nowave7's Avatar
Posts: 245 | Thanked: 62 times | Joined on Jan 2009 @ Bad Homburg, Deutschland
#2
Maybe I haven't been clear enough. I'm trying to build qemu-0.12.2 under scratchbox for target FREMANTLE_ARMEL, but it keeps failing to link because of the undefined reference to __builtin___clear_cache. This function is available in gcc starting from version 4.3.3.
__________________
Save the whales, feed the hungry, free the mallocs!
 

The Following User Says Thank You to nowave7 For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#3
Hi,

Originally Posted by nowave7 View Post
Is there a way to upgrade the current gcc version, which is 4.2.1 at the moment, to say at least 4.3 in scratchbox?
Sorry, but there is no official support for an upgraded or other compiler for the Fremantle SDK.

Cheers Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
DaveR53's Avatar
Posts: 41 | Thanked: 15 times | Joined on Oct 2009 @ UK
#4
Is there anything special about the GCC in the SDK? could you not just install the Debian ARM GCC and use that?

Edit: Hmm, just apt-get installed gcc-4.3 in my scratchbox session, it seemed to install ok (after adding some updated libc stuff) but it fails to run:

Code:
sbox-arm-none-linux-gnueabi-gcc-4.3: No such file or directory
I'm guessing that when scratchbox calls gcc it runs it through a wrapper script or something.

Last edited by DaveR53; 2010-02-10 at 16:05.
 

The Following User Says Thank You to DaveR53 For This Useful Post:
nowave7's Avatar
Posts: 245 | Thanked: 62 times | Joined on Jan 2009 @ Bad Homburg, Deutschland
#5
Originally Posted by DaveR53 View Post
Is there anything special about the GCC in the SDK? could you not just install the Debian ARM GCC and use that?

Edit: Hmm, just apt-get installed gcc-4.3 in my scratchbox session, it seemed to install ok (after adding some updated libc stuff) but it fails to run:

Code:
sbox-arm-none-linux-gnueabi-gcc-4.3: No such file or directory
I'm guessing that when scratchbox calls gcc it runs it through a wrapper script or something.
Exactly. It uses some sort of wrapper to call the gcc.
http://www.scratchbox.org/documentat...ain.html#AEN59
But, it also states that a user should be able to use a foreign toolchain, as stated here:
http://www.scratchbox.org/wiki/ForeignToolchains
I shall try this as soon as I get back home.
__________________
Save the whales, feed the hungry, free the mallocs!
 

The Following User Says Thank You to nowave7 For This Useful Post:
Reply

Tags
gcc-4.2, scratchbox


 
Forum Jump


All times are GMT. The time now is 06:38.