Hi,

I finally manage to get a working idc under cygwin. I had to change the 
configure file in the object/boot directory. See the attached file for more 
details.

Cheers

--- En date de : Mer 19.8.09, Mathieu Suen <[email protected]> a écrit :

> De: Mathieu Suen <[email protected]>
> Objet: [fonc] Error when compiling on msys
> À: [email protected]
> Date: Mercredi 19 Août 2009, 11h54
> Hi,
> 
> I try to build idc with msys 1.0 and mingw 5.1.4.
> The make stop with the error 66 here the output:
> 
> $ make
> /bin/sh -ec 'for dir in object function; do ( cd $dir; make
> ); done'
> make[1]: Entering directory `/home/mathieu/idst/object'
> /bin/sh -ec '[ -d stage1 ] || mkdir stage1'
> /bin/sh -ec '( cd id; make BIN="../stage1/" )'
> make[2]: Entering directory `/home/mathieu/idst/object/id'
> cc -g -Wall -Wreturn-type -Werror -mno-cygwin -g -O3
> -march=prescott -fomit-frame-pointer -falign-functions=16
> -funroll-
> loops -I../stage1//include -DNDEBUG -DSYSARCH=\"i386\"
> -DSYSOS=\"win32\"  -fno-strict-aliasing
> -DPREFIX='"/usr/local/lib
> /idc/i686-pc-mingw32/"' libid.c -c -o ../stage1/libid.o
> make[2]: cc: Command not found
> make[2]: *** [../stage1/libid.o] Error 127
> make[2]: Leaving directory `/home/mathieu/idst/object/id'
> make[1]: *** [stage1/libid.o] Error 2
> make[1]: Leaving directory `/home/mathieu/idst/object'
> make[1]: Entering directory `/home/mathieu/idst/function'
> /bin/sh -ec 'for dir in objects jolt-burg jolt2; do ( cd
> $dir; make ); done'
> make[2]: Entering directory
> `/home/mathieu/idst/function/objects'
> ./idc  -k -g -c _object.st -o _object.o
> make[2]: *** [_object.o] Error 66
> make[2]: Leaving directory
> `/home/mathieu/idst/function/objects'
> make[1]: *** [all] Interrupt
> make: *** [all] Interrupt
> 
> I have look at the idc file in function/object it look
> pretty odd:
> ~/idst/function/objects
> $ cat idc
> #!/bin/sh
> 
> if test -x ../../object/stage2/idc; then
>   ../../object/stage2/idc -B ../../object/stage2/ $*
> else
>   idc $*
> fi
> 
> Thanks
> 
> 
> 
> 
> 
> 
> _______________________________________________
> fonc mailing list
> [email protected]
> http://vpri.org/mailman/listinfo/fonc
>


      

Attachment: configure.patch
Description: Binary data

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to