Hi everybody,

(If this posting is OT please accept my apology first)

1)  In installing a new version of Linux-2.3.42 on RedHat 6.0, it is
necessary to have gcc-2.7.0 and above.
(many commands are missing in this RH box, such as 'gcc', 'make', 'patch',
'tree', etc.  Also it is empty in /usr/src/linux-2.2.5 except a
README.kernel-source file)

I had gcc-2.8.0 complied under /gcc-2.8.0, created a directory 'objdir' in
the same directory and tried following steps respectively to configure 'gcc'
in the aforesaid directory.

a)  ./configure  --host=objdir  or
b)  ./configure  --host  objdir

following error message prompts:

check host system type... Invalid configuration  'objdir': machine :
'objdir' not recognized
check target system type... Invalid configuration  'objdir': machine :
'objdir' not recognized
check build system type... Invalid configuration  'objdir': machine :
'objdir' not recognized
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc. found in $PATH

c)  ./configure  --prefix=objdir  or
d)  ./configure  --prefix  objdir   or
e)  ./configure  --build=objdir    or
f))  ./configure  --build  objdir    or

following error message prompts:
loading cache ./conf.cache
checking host system type... configure: error: cannot guess host type; you
must specify one

Kindly advise how to proceed, any incorrect syntax

2)  How to build Linux from scratch any advice and/or pointer shall be much
appreciated.

(This idea comes from my recent installation of apache 1.3.12 by force in
RedHat 6.0 because I could not find 'htdocs' and some other subdirectories
and files necessary for configuration in 'apache' directory in the said
distribution, only '.so' and 'help' files found in /usr/lib/apache)

Thanks in advance.

Best Regards
Stephen Liu



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to