LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-24-2010, 07:31 AM   #1
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Question GMP-5.0.0 question


Hi

Im about to start chapter 6.13.1 and the note mention something about CFLAGS:

Note

If you have a CPU which is capable of running 64-bit code and you have specified CFLAGS in the environment, the configure script will attempt to configure for 64-bits and fail. Avoid this by adding ABI=32 to the CFLAGS variable for the duration of the configure command below, then remove it afterwards.


I remember back in chap 5.10.1 while installing GCC there was something with the CFLAGS:

Code:
cp -v gcc/Makefile.in{,.tmp}
sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \
  > gcc/Makefile.in
I have an 64bits cpu but im running an 32bits host in a virtual box,
do i still need to add the variable mentioned in the note and if yes how it should be done ?

Thanks in advance !

Last edited by ukiuki; 05-24-2010 at 07:45 AM.
 
Old 05-24-2010, 07:58 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Is the CFLAGS variable set? (echo $CFLAGS). If not, just ignore this.

Have a look at this article

Hope this helps.
 
Old 05-24-2010, 08:08 AM   #3
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Original Poster
Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Question answered !

Thank you very much !
 
  


Reply



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
gmp.h can't be found on chapter 6.13 charlie_lab Linux From Scratch 7 01-20-2010 06:17 AM
Installing gmp cybernike Linux - Newbie 1 05-15-2008 02:41 PM
Glade + Gmp ! _ AsiF Linux - Software 1 03-17-2008 08:11 AM
trying to use gmp BadTaste Programming 1 08-04-2004 09:10 AM
GMP dies when logging out of X ? bustamelon Slackware 6 11-21-2002 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration