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)
Change History (2)
Changed 14 years ago by sjoelund.se
comment:1 Changed 14 years ago by sjoelund.se
Resolved. We can now compile Main_main and run the bootstrapped OMC.
Missing function definitions for the linker