try this to see what the uwin cc does
---
cat > hello.c <<'!'
#include <stdio.h>
int
main()
{
        fprintf(sfstdout, "hello world\n");
        return 0;
}
!
cc -c hello.c
cc -V -o hello hello.o
---
the -V output shows windows pathnames
you should see a reference to either init.o (for older uwin releases) or 
_uwin_init_.o
that .o resolves __Sfstdout

On Fri, 9 Apr 2010 14:30:04 +0200 Schoenit, Tobias  AT/BHL-TPP3 wrote:
> Hello,

> i try to link to ast.lib and posix.lib with visual c++ 2008. and get the
> linker error:
>  error LNK2001: unresolved external symbol __Sfstdout

> I checked that ast.lib exports something like this, but ast.lib exports:
> _sfstdout

> How can I resolve this problem?

_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to