LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-29-2007, 01:17 PM   #16
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,293

Rep: Reputation: Disabled

No they haven't. And I doubt they will anytime soon.

Eric
 
Old 05-29-2007, 02:04 PM   #17
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 30
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.
 
Old 05-29-2007, 03:02 PM   #18
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Oh, I see, didn't know that. Thanks for the info. Guess the only solution is to install gcc-3.x. Oh well ...
 
Old 05-29-2007, 03:36 PM   #19
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
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.
 
Old 05-29-2007, 05:23 PM   #20
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
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.
 
Old 05-29-2007, 07:06 PM   #21
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
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.
 
Old 05-30-2007, 01:19 AM   #22
lordwolf
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
  


Reply

Tags
compiler, gcc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install Slackware-Current from scratch arnuld Slackware - Installation 12 05-02-2007 12:53 PM
Install From Slackware current AxXium Slackware 5 05-21-2005 03:02 PM
Can't install slackware-current elyk Slackware - Installation 3 01-19-2005 11:19 PM
Slackware current + gcc issue vexer Slackware 2 08-11-2003 12:05 PM
Slackware-current: promlem with 'install' or 'ginstall'? hjles Slackware 0 06-03-2003 12:39 PM


All times are GMT -5. The time now is 04:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration