Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
05-29-2007, 01:17 PM
|
#16
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,686
Rep: 
|
No they haven't. And I doubt they will anytime soon.
Eric
|
|
|
|
05-29-2007, 02:04 PM
|
#17
|
|
Member
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211
Rep:
|
Quote:
|
Originally Posted by H_TeXMeX_H
One more thing, have you tried the cvs snapshots of qemu ... maybe they got it working with the newer gcc ... they should have after all this time it has been out.
|
They won't... and that's for a while. The problem is that Qemu actually uses GCC to run ("it uses the compiler in some ways it wasn't meant to be used" http://lists.gnu.org/archive/html/qe...msg00238.html), mostly to generate the assembler-backend used to recompile code.
The thing is that there were some significant changes in the 4.x branch which had made it mostly uncompatible with the way Qemu uses it. Still, I've read of people who got it working with 4.0 (IIRC), but doing some odd tricks with the compiler ( http://lists.gnu.org/archive/html/qe.../msg00187.html, that's for PPC, tho').
Last edited by theoffset; 05-29-2007 at 02:05 PM.
|
|
|
|
05-29-2007, 03:02 PM
|
#18
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,628
|
Oh, I see, didn't know that. Thanks for the info. Guess the only solution is to install gcc-3.x. Oh well ...
|
|
|
|
05-29-2007, 03:36 PM
|
#19
|
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
Quote:
|
Originally Posted by GregLee
I didn't ask you to name them all. How about naming two?
|
How's about doing a little footwork yourself? Since you seem incapable of finding out for yourself I'll go ahead and tell you.
This is just from /var/log/packages and doesn't include symlinks. And this is also according to how I build it and not Slackware... Change my TARGET to Slackwares TARGET and that'll be about the only diff. And, ofcourse, I did a sed @opt/gcc-3.4.6@usr@ before my sort|uniq... As you can see, it will overwrite many files, thus resulting in a broken gcc-4. Do a uniq -u and you'll see all the broken clutter on your system doing nothing...
Code:
$ cat gcc-4.2.0-i686-1 gcc-3.4.6-i686-1 | sort | uniq -d
usr/bin/c++
usr/bin/cpp
usr/bin/g++
usr/bin/gcc
usr/bin/gccbug
usr/bin/gcov
usr/bin/i686-pc-linux-gnu-c++
usr/bin/i686-pc-linux-gnu-g++
usr/bin/i686-pc-linux-gnu-gcc
usr/info/
usr/info/cpp.info
usr/info/cppinternals.info
usr/info/gcc.info
usr/info/gccinstall.info
usr/info/gccint.info
usr/lib/libgcc_s.so.1
usr/lib/libstdc++.a
usr/lib/libstdc++.la
usr/lib/libsupc++.a
usr/lib/libsupc++.la
usr/man/
usr/man/man1/
usr/man/man1/cpp.1.gz
usr/man/man1/g++.1.gz
usr/man/man1/gcc.1.gz
usr/man/man1/gcov.1.gz
usr/man/man7/
usr/man/man7/fsf-funding.7.gz
usr/man/man7/gfdl.7.gz
usr/man/man7/gpl.7.gz
usr/share/
usr/share/locale/
usr/share/locale/be/
usr/share/locale/be/LC_MESSAGES/
usr/share/locale/be/LC_MESSAGES/gcc.mo
usr/share/locale/ca/
usr/share/locale/ca/LC_MESSAGES/
usr/share/locale/ca/LC_MESSAGES/gcc.mo
usr/share/locale/da/
usr/share/locale/da/LC_MESSAGES/
usr/share/locale/da/LC_MESSAGES/gcc.mo
usr/share/locale/de/
usr/share/locale/de/LC_MESSAGES/
usr/share/locale/de/LC_MESSAGES/gcc.mo
usr/share/locale/de/LC_MESSAGES/libstdc++.mo
usr/share/locale/el/
usr/share/locale/el/LC_MESSAGES/
usr/share/locale/el/LC_MESSAGES/gcc.mo
usr/share/locale/es/
usr/share/locale/es/LC_MESSAGES/
usr/share/locale/es/LC_MESSAGES/gcc.mo
usr/share/locale/fr/
usr/share/locale/fr/LC_MESSAGES/
usr/share/locale/fr/LC_MESSAGES/gcc.mo
usr/share/locale/fr/LC_MESSAGES/libstdc++.mo
usr/share/locale/ja/
usr/share/locale/ja/LC_MESSAGES/
usr/share/locale/ja/LC_MESSAGES/gcc.mo
usr/share/locale/nl/
usr/share/locale/nl/LC_MESSAGES/
usr/share/locale/nl/LC_MESSAGES/gcc.mo
usr/share/locale/rw/
usr/share/locale/rw/LC_MESSAGES/
usr/share/locale/rw/LC_MESSAGES/gcc.mo
usr/share/locale/sv/
usr/share/locale/sv/LC_MESSAGES/
usr/share/locale/sv/LC_MESSAGES/gcc.mo
usr/share/locale/tr/
usr/share/locale/tr/LC_MESSAGES/
usr/share/locale/tr/LC_MESSAGES/gcc.mo
Last edited by jong357; 05-29-2007 at 03:49 PM.
|
|
|
|
05-29-2007, 05:23 PM
|
#20
|
|
Member
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308
Rep:
|
Quote:
|
Originally Posted by jong357
How's about doing a little footwork yourself? Since you seem incapable of finding out for yourself I'll go ahead and tell you.
|
Well, thank you for going to all that trouble. I did look for myself, actually, and didn't find any overwritten files that would affect how the gcc compiler works, except for the two I mentioned earlier. I forgot about documentation, and you're right, there are a lot of document files that would be replaced, as well as the bug-submitter and gcov. But the only other gcc file in the Slackware packages that might matter to how gcc compiles, so far as I can see, is /usr/lib/libgcc_s.so.1, and neither version of gcc is dynamically linked to that.
|
|
|
|
05-29-2007, 07:06 PM
|
#21
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Rep: 
|
Why is this still being argued? It's a moot point. Eric has posted a link to gcc-3.4.6 packages on his page at Slackware.com; they solve the problem without any undesirable side effects.
|
|
|
|
05-30-2007, 01:19 AM
|
#22
|
|
Member
Registered: May 2007
Distribution: Slackware
Posts: 44
Original Poster
Rep:
|
Quote:
|
Originally Posted by Alien Bob
Alternatively you can install my gcc34 "compatibility" package from here: http://www.slackware.com/~alien/slackbuilds/gcc34/
It installs happily alongside the gcc4 that ships with Slackware-current, and it will not overwrite a thing. The compile of QEMU will pick up this gcc34 and build a good package. All the other software keeps compiling with the standard gcc4.
I have had several people reporting success in using this gcc34 package.
Read the SlackBuild for more information on how you can call the gcc34 binary if you need it.
Eric
|
Yay! Allright, Eric! I didn't see this when I browse through your 'site' before  I'll try using your package first... lucky thing I haven't started compiling my own 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|