This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Issue 1000964] New: Compiling multiple source files in a Makefile


Please do not reply to this email. Use the web interface provided at:
https://bugzilla.ecoscentric.com/show_bug.cgi?id=1000964

           Summary: Compiling multiple source files in a Makefile
           Product: eCos
           Version: unknown
          Platform: Other (please specify)
        OS/Version: ARM
            Status: UNCONFIRMED
          Severity: major
          Priority: normal
         Component: C library
        AssignedTo: jifl@ecoscentric.com
        ReportedBy: sreejugr@gmail.com
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Pls tell how to combine more than one source file in a makefile as a rule....

I'm calling a function ,FUNCT(),defined in a file named "file2.c" from another
file  named "file1.c". But on make command its giving an error message
"Unreferenced function: 'FUNCT'"

But if i'm defining the function definition in "file1.c" itself and then
calling it, then its working.

Is it possible to call tha above function from file1.c with its definition in
file2.c????????? Pls reply....

-- 
Configure issuemail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the issue.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]