Hi, 2008/11/13 Alon Bar-Lev <[EMAIL PROTECTED]>: > Hello, > > I almost sure it worked until recently... But now a simple program: > #include <setjmp.h> > #include <stdlib.h> > > int main(void) { > setjmp(NULL); > longjmp(NULL, 0); > } > > Cannot be compiled. > x86_64-pc-mingw32-gcc a.c > /tmp/cctlj9Wj.o:a.c:(.text+0xe): undefined reference to `_mingw_getsp' > /tmp/cctlj9Wj.o:a.c:(.text+0x2a): undefined reference to `_longjmp' > collect2: ld returned 1 exit status > > Using i686-pc-mingw32 it compiles. > > Any clue? > Using: > binutils CVS head > gcc-4.2.3 > mingw-w64 svn trunk > > Alon. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public >
ok, to support you I need some more details Which host you are using? Which x86_64-pc-mingw32-gcc you are invoking ? Do you use it from <root>/bin, or from <root>/x86_64-pc-mingw32/bin? Have you installed the crt itself? Cheers, Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public