Opened 14 years ago

Last modified 14 years ago

#1358 closed task (fixed)

Update external function definitions in the compiler

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone: Bootstrapping
Component: Version:
Keywords: Cc: Martin Sjölund,

Description

All external functions in Compiler/*.mo need to be updated to avoid name clashes.
{{{public function time

output Real outReal;

  • external "C";

+ external "C" outReal=System_time() annotation(Library = "omcruntime");
end time;}}}

After that, they also need to be implemented in omcruntime (see the attachment)

Attachments (1)

linker.log (16.4 KB ) - added by Martin Sjölund 14 years ago.
Missing function definitions for the linker

Download all attachments as: .zip

Change History (2)

by Martin Sjölund, 14 years ago

Attachment: linker.log added

Missing function definitions for the linker

comment:1 by Martin Sjölund, 14 years ago

Resolved. We can now compile Main_main and run the bootstrapped OMC.

Note: See TracTickets for help on using tickets.