LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-13-2015, 08:38 PM   #1
emlsena
LQ Newbie
 
Registered: Jan 2015
Distribution: Debian Jessie
Posts: 12

Rep: Reputation: Disabled
Unhappy How to setup the variable $ LFS_TGT?


Hello would like to know the name of the joust work platform, changing the "vendor" triplet target by LFS_TGT variable,
do not know how to create a tool in folder named LFS_TGT

Last edited by emlsena; 01-13-2015 at 08:40 PM.
 
Old 01-14-2015, 01:59 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
What is the readout of

Code:
echo $LFS_TGT
when your logged in or in chroot?
 
Old 01-14-2015, 08:23 AM   #3
emlsena
LQ Newbie
 
Registered: Jan 2015
Distribution: Debian Jessie
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello my doubt is in Chapter 5, in 5.2. Toolchain Technical Notes
I have to create a variable using
export LFS_TGT=/mnt/lfs/tools
 
Old 01-14-2015, 10:34 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Just follow the book. As long as you have LFS=/mnt/lfs for Chapter 5, you're okay. It's part of your lfs user bash profile.
 
Old 01-14-2015, 12:33 PM   #5
emlsena
LQ Newbie
 
Registered: Jan 2015
Distribution: Debian Jessie
Posts: 12

Original Poster
Rep: Reputation: Disabled
I read the book again and start a new lfs.
thank you
 
Old 01-23-2015, 06:16 AM   #6
emlsena
LQ Newbie
 
Registered: Jan 2015
Distribution: Debian Jessie
Posts: 12

Original Poster
Rep: Reputation: Disabled
A variavel $LFS_TGT referencia a
Quote:
x86_64-lfs-linux-gnu
no grupo de usuario lfs

$LFS =
Quote:
/mnt/lfs
to solve
 
  


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
[SOLVED] ksh read variable from text file and populate with content of shell variable WindozBytes Programming 4 09-17-2012 01:48 PM
Gcc 4.6.1 can't Find in /mnt/lfs/tools on LFS verison 7.0 using LFS_TGT xerofoify Linux From Scratch 20 08-03-2012 12:55 PM
how to setup session variable in mysql using option file vincent.dang Linux - Software 1 06-07-2010 11:21 PM
Help with $PATH variable Setup? your_shadow03 Linux - Newbie 7 01-23-2010 12:09 AM
AWK a variable Ouptut to a new variable and using the new variable with the old one alertroshannow Linux - Newbie 4 02-16-2009 12:08 AM

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

All times are GMT -5. The time now is 04:12 AM.

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