home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.95 / text1714.txt < prev    next >
Encoding:
Text File  |  1996-04-02  |  1.4 KB  |  32 lines

  1.  
  2. > > > additionally, if i want to build the aout format i put -b
  3. > > > i486-linuxaout on the CFLAGS line of the makefile.  this appears to do
  4. > > > nothing as the library that comes out is still ELF.
  5. > > 
  6. > > Did you make clean first?  And are you adding "-m i386linux" to the 
  7. > > LFLAGS line?
  8. > i didn't do that.  i thought that was necessary if you had a 386.
  9. > here's something from the src/Makefile.elf
  10. > - ----
  11. > # You might want to add -m386 here if you have a recently installed 
  12. > # (486 configured) compiler on a 386. The only real difference is the
  13. > # generous alignment padding of function entry-points for the 486.
  14. > - ----
  15.  
  16. Alright, this was in the ELF-HOWTO, and is a _linking_ flag, not a 
  17. compiling one.  -m386 optimizes for 386/Pentium Byte alignment, where 
  18. -m486 optimizes for the 486.  In the linker -m i386linux was a flag that 
  19. was mentioned for "compiling the kernel as a.out" in the howto file.  I'm 
  20. not sure exactly what it's purpose is...
  21.  
  22. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  23. |  Jared Roberts                      |  Ultima Dragons: Internet Chapter     |
  24. |  mailto:Jared@cyberspace.com        |  Timeless Dragon     -==(UDIC)==-     |
  25. |  Jarobert@sparky.lkwash.wednet.edu  +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  26. |  Orion@media.mediawhse.com          |  Orion@IRC                            |
  27. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  28.  
  29.  
  30.