[pocket-linux] Problems with Section 2.3.10 and 2.3.11

KodeKrash kode at kodekrash.com
Thu Dec 30 00:02:15 CST 2004


> All of the --host, --build and --target stuff can really make your head 
> spin.  I got my information my experiences building glibc and I have 
> applied it to the other GNU packages.  Take a look at the document at: 
> http://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html 
> 
> 
> About 3/4's of the way down it says:
> "If you only specify --host, configure will prepare for a native compile 
> but use what you specify instead of guessing what your system is. This 
> is most useful to change the CPU submodel. For example, if configure 
> guesses your machine as i586-pc-linux-gnu but you want to compile a 
> library for 386es, give --host=i386-pc-linux-gnu or just 
> --host=i386-linux and add the appropriate compiler flags (-mcpu=i386 
> will do the trick) to CFLAGS."
> 
> I know the configure script gives a warning, but according to the glibc 
> manual it looks to me like --host is the right thing to do.

  Yeah @ head spinning. Maybe a note on the Guide about the matter would 
be sufficient?

  Incidentally, I've solved my boot floppy problem. The solution was to 
create a clean Linux partition and set the boot flag on that partition, 
then mke2fs and copy the boot files over.

  Again, I'll type all this stuff out in full documentation at a later 
date. I simply wanted to post the solution to the thread, so the next 
time someone searches the archive for the topic, they will have it. :-) 
I hate finding archived posts with things like "Yeah, that solution 
worked..." or, "I got it to work..." with no reference to the solution.

-- James



More information about the Pocket-Linux mailing list