OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Multiple Versions Of Gcc
Greg2
post Dec 6 2004, 11:17 AM
Post #1





Group: Members
Posts: 790
Joined: 28-October 03
From: USA
Member No.: 792



From the Zug How-to's
QUOTE
Note that many of the newer distributions now use GCC3.2 or later as their default compiler. This means that when compiling for the desktop it will not be able to link to the sdk files as they were created using GCC 2.95. To fix this problem you need to install 2.95 for your distribution.


Does anyone have, or know of a simple how-to for installing and using multiple versions of gcc on a linux box? I was looking at graft... but there must be an easier way?

I have a little extra time during the Holidays and would like to try some things without damaging my current setup.

Greg
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Greg2
post Dec 12 2004, 07:52 AM
Post #2





Group: Members
Posts: 790
Joined: 28-October 03
From: USA
Member No.: 792



Ashitaka,
I ran your script again, now I have the directory in place as per your last post. I'm not completely sure it wasn't there the first time?... I've been working on this too late at night... my head hurts! Anyway, it's the same output as before.

Here's what I've found:

Your script
CODE
-snip-
    mkdir -p $CROSS_PREFIX/arm-linux/include/uuid && \
    cp $PACKAGE_DIR/uuid.h $CROSS_PREFIX/arm-linux/include/uuid && \
-snip-

makes this directory:
/usr/local/arm/2.95.3/arm-linux/include/uuid/uuid.h

Then your script
CODE
-snip-
    cd Qtopia
    export QTDIR=/opt/QtEmbedded
    export QPEDIR=$PWD
    export PATH=$PWD/bin:$PATH

    cd src && \
    ./configure && \
    make
-snip-

Starts to compile Qtopia and fails with the output in my previous post.

I'm sorry I can't help you more, but it's just been recently I've found the time to research and try to learn this. If there's anything else you would like me to check, let me know? If you don't have the time to do this right now, don't worry about it but let me know? I have found and learned to use a little tool that was already on my system... rpm2cpio. With this I can place the rpm files where I want, then use the Zug's how-tos for compiler-setup.

Thanks

Greg
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th December 2014 - 07:51 PM