i cant use gcc

Marcello Mezzanotti mezzanet at iname.com
Wed May 3 04:26:58 PDT 2000


Gerard Beekmans wrote:
> 
> > everything is fine but with sh-utils compile (2.0)
> > i have problems, im not in my machine now, but
> > the problem is at link time , something with mktime
> > function, 2 times declared, or some incompatibility problem
> > i dunno the exactly error message now, sorry, well
> > i continue without sh-utils binaries
> 
> You're going to need the sh-utils package. it contains some important
> programs.
> 
> Compile sh-utils this way:
> ./configure --disable-nls
> make
> make -e prefix=$LFS/usr install
> 
> that should do it.
> 
> > i booted lfs system to test, so i try to compile
> > a minimal c program but , cpp gimme error
> > and gcc too, tolding me that it have problems to crate a executable
> > again im dont have the messase error here
> > sorry my poor english
> 
> boot back into redhat and install gcc running:
> 
> mkdir $LFS/usr/src/gcc-build
> cd $LFS/usr/src/gcc-build
> ../gcc-2.95.2/configure --prefix=/usr --with-local-prefix=/usr \
> > --with-gxx-include-dir=/usr/include/g++ \
> > --enable-languages=c,c++ --disable-nls
> make -e LDFLAGS=-static bootstrap
> make -e prefix=$LFS/usr local_prefix=$LFS/usr \
> > gxx_include_dir=$LFS/usr/include/g++ install
> 
> Hope this helps.
> 

thanks a lot man
it helps :)

if i find some kind of error or an ideia in lfs how-to, can i send it to
you?? in diff format?


-- 
+-----------------------------------------------+---------------------+
| Marcello Mezzanotti <mezzanet at iname.com>      |   Amiga 1200/18Mb   |
| ICQ UIN #1845241                              |     AmigaOS 3.1     |
| C, Pascal, PHP, Zope, SQL, Arexx Programmer   |    NetBSD  1.4.1    |
| Star Trek, UNIX, Amiga Computers, BOFH        |                     |
| http://www.mezzanet.pt.eu.org                 |    K6-2 450  64Mb   |
+-----------------------------------------------+    Linux   2.2.14   |
|     Amiga: The Computer For Creative Minds    |    FreeBSD    4.0   |
|    Linux: The Choice of The Next Generation   |                     |
+-----------------------------------------------+---------------------+

Oh my God, they killed INIT, you BASTARDS!!!!
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list