Opened 14 years ago

Last modified 14 years ago

#1358 closed task (fixed)

Update external function definitions in the compiler

Reported by: sjoelund.se Owned by: sjoelund.se
Priority: high Milestone: Bootstrapping
Component: Version:
Keywords: Cc: sjoelund.se,

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 sjoelund.se 14 years ago.
Missing function definitions for the linker

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by sjoelund.se

Missing function definitions for the linker

comment:1 Changed 14 years ago by sjoelund.se

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

Note: See TracTickets for help on using tickets.