From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Hatle To: egcs@cygnus.com Subject: Inline functions Date: Tue, 12 May 1998 12:36:00 -0000 Message-id: X-SW-Source: 1998-05/msg00414.html Forgive me if this comes up a lot, but I didn't see it on a quick glance though the mailing list archives. This is the problem I am having: I am using the current egcs snapshot on a PPC machine running MkLinux. I am trying to compile parts of the Linux server w/o an optimization level so that I can debug them line by line instead of the lines jumping all over. When I compile without optimizations I get linking errors indicating that none of the inline functions were "compiled into" the object file then I removed the "-O2" from... I have also tried -O, -O0, -O1 and they produce the same results. One advice from someone, I tried to add -fkeep-inline-functions and got the same outcome. How can I compile selected files in the Linux server without optimization and still have the inline functions inline? (or at least compile as regular functions in that object file?) --Mark