[Prev][Next][Index][Thread]
Re: ANNOUNCE (Linux): svgalib "soon"
> > > additionally, if i want to build the aout format i put -b
> > > i486-linuxaout on the CFLAGS line of the makefile. this appears to do
> > > nothing as the library that comes out is still ELF.
> >
> > Did you make clean first? And are you adding "-m i386linux" to the
> > LFLAGS line?
>
> i didn't do that. i thought that was necessary if you had a 386.
>
> here's something from the src/Makefile.elf
> - ----
> # You might want to add -m386 here if you have a recently installed
> # (486 configured) compiler on a 386. The only real difference is the
> # generous alignment padding of function entry-points for the 486.
> - ----
Alright, this was in the ELF-HOWTO, and is a _linking_ flag, not a
compiling one. -m386 optimizes for 386/Pentium Byte alignment, where
-m486 optimizes for the 486. In the linker -m i386linux was a flag that
was mentioned for "compiling the kernel as a.out" in the howto file. I'm
not sure exactly what it's purpose is...
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Jared Roberts | Ultima Dragons: Internet Chapter |
| mailto:Jared@cyberspace.com | Timeless Dragon -==(UDIC)==- |
| Jarobert@sparky.lkwash.wednet.edu +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Orion@media.mediawhse.com | Orion@IRC |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
References: