-linksetsize 0 renders symbols unknown
|
|
Bugzilla Link |
301 |
Created on |
Oct 09, 2006 17:31 |
Resolution |
FIXED |
Resolved on |
Oct 09, 2006 17:58 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Extended Description
Compiling the simple example
import StdIO:all;
import Clock:all;
int main() {
a = gettime();
printf("%s",ctime(a));
return(0);
}
We obtain an error message in phase 18 IFF the module Clock has been compiled
with -linksetsize 0 ! Strange, isn't it?
** 18: Invoking C compiler: ...
gcc: unrecognized option `-R.'
/home/trojahne/sac/stdlib/world/system/lib/libClock.a(fun0.o)(.text+0x3f3): In
function `SACwf_Clock__clock__SACt_Clock__time_S':
: undefined reference to `SACclock'
collect2: ld returned 1 exit status