Re: O2 flag in compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On mar, 2001-10-23 at 07:14, Paul Gearon wrote:
> I've always used the -O2 flag when compiling modules[...]
> I'm speculating that it has something to do with inline functions, but I
> don't really know.
AFAIK if you don't use -O2 inline functions are not compiled inline, so
the linker generates a lot of errors about unresolved symbols.

-- 
 Ogni problema complesso ha una soluzione semplice, elegante e sbagliata

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux