Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just got my Dualie Opteron system put together the other day. I would rather not shell out money for the Redhat and Suse AMD64 distros and there are no free distros have amd64 support stable yet. I have messed with gentoo but was finding it frustrating and not everything worked as it should.
I am trying to build a cross-compiler so that I can run a 64-bit kernel on my 32-bit system and gradually shift some stuff to 64-bit until there is a good free distro out with 64 bit support.
I configure GCC with:
then I do make -j4 as the building instructions state. Every time though I end with assembly errors:
/home/ogre/gccobj/gcc/xgcc -B/home/ogre/gccobj/gcc/ -B/usr/local/x86_64-linux/bin/ -B/usr/local/x86_64-linux/lib/ -isystem /usr/local/x86_64-linux/include -O2 -DIN_GCC -DCROSS_COMPILE -DNATIVE_CROSS -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config -I../../gcc-3.3.2/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -fno-asynchronous-unwind-tables -fPIC \
-Dinhibit_libc -c ../../gcc-3.3.2/gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
/tmp/ccS1SGGs.s: Assembler messages:
/tmp/ccS1SGGs.s:37: Error: `completed.1(%rip)' is not a valid 32 bit base/index expression
/tmp/ccS1SGGs.s:38: Error: suffix or operands invalid for `push'
/tmp/ccS1SGGs.s:39: Error: suffix or operands invalid for `movq'
/tmp/ccS1SGGs.s:41: Error: @GOTPCREL reloc is not supported in 32 bit mode
/tmp/ccS1SGGs.s:41: Error: junk `@GOTPCREL' after expression
/tmp/ccS1SGGs.s:41: Error: `__cxa_finalize@GOTPCREL(%rip)' is not a valid 32 bit base/index expression
/tmp/ccS1SGGs.s:44: Error: `p.0(%rip)' is not a valid 32 bit base/index expression
/tmp/ccS1SGGs.s:45: Error: `(%rax)' is not a valid 32 bit base/index expression
/tmp/ccS1SGGs.s:51: Error: `p.0(%rip)' is not a valid 32 bit base/index expression
/tmp/ccS1SGGs.s:53: Error: `p.0(%rip)' is not a valid 32 bit base/index expression
/tmp/ccS1SGGs.s:54: Error: `(%rax)' is not a valid 32 bit base/index expression
/tmp/ccS1SGGs.s:58: Error: @GOTPCREL reloc is not supported in 32 bit mode
/tmp/ccS1SGGs.s:58: Error: junk `@GOTPCREL' after expression
/tmp/ccS1SGGs.s:58: Error: `__deregister_frame_info@GOTPCREL(%rip)' is not a valid 32 bit base/index expression
make: *** [crtbegin.o] Error 1
make: Leaving directory `/home/ogre/gccobj/gcc'
make: *** [all-gcc] Error 2
If anyone can offer assistance it would be appreciated. I am running on slack 9.1 with gcc 3.2.3 and attempting to compile gcc 3.3.2.