#2648: GMP instructions (dev version) say to add ABI=32 to CFLAGS; should be
separate variable
---------------------+------------------------------------------------------
 Reporter:  drjones  |       Owner:  lfs-b...@…                   
     Type:  defect   |      Status:  new                          
 Priority:  normal   |   Milestone:  6.7                          
Component:  Book     |     Version:  SVN                          
 Severity:  normal   |    Keywords:  GMP                          
---------------------+------------------------------------------------------

Comment(by bdu...@…):

 Looking back at the discussion that caused this note to be added, I'd
 agree that the line:

 "Avoid this by adding ABI=32 to the CFLAGS variable for the duration of
 the configure
 command below, then remove it afterwards."

 appears to be misleading.  However it may have the desired effect,
 depending on how it is added to CFLAGS.

 If we just say: "Avoid this by adding the environment variable ABI=32." it
 may be enough, but I suspect it may cause problems because it is not
 specific enough.  Someone will probably want us to say "export ABI=32".
 Personally, I feel that if a user knows enough to set CFLAGS, they can set
 ABI too.

 If the OS is 32-bit, I would doubt that leaving the environment variable
 set for the remainder of the chroot session would affect other packages.

 I never use custom build variables, so I really can't check it.

 Ken, you wrote the note in the book.  Do you want to address this?

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2648#comment:1>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to