[Tinycc-devel] build error on FreeBSD
$ git pull Already up-to-date. tinycc $ gmake gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_I386 -I. -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 tccelf.c: In function 'layout_sections': tccelf.c:1962: error: 'strsec' undeclared (first use in this function) tccelf.c:1962: error: (Each undeclared identifier is reported only once tccelf.c:1962: error: for each function it appears in.) gmake: *** [tccelf.o] error 1 ... $ uname -a FreeBSD mybsd.zsoft.com 9.1-RELEASE-p14 FreeBSD 9.1-RELEASE-p14 #0: Tue Jun 3 08:49:09 UTC 2014 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Sincerely! e^(π.i) + 1 = 0 ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Tinycc-devel] build error on FreeBSD 9
$gmake gcc -o tcc tcc.o libtcc.a -lm -ldl -I. -I/usr/local/include -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -L/usr/local/lib /usr/bin/ld: cannot find -ldl ... $ uname -a FreeBSD mybsd.zsoft.com 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #3: Thu Jun 27 20:00:17 CST 2013 ***@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL i386 Sincerely ! ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] build error on FreeBSD
Le dimanche 08 juin 2014, 09:09:42 z_axis a écrit : > $ git pull > Already up-to-date. > tinycc $ gmake > gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_I386 -I. -Wall -g -O2 > -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare > -D_FORTIFY_SOURCE=0 tccelf.c: In function 'layout_sections': > tccelf.c:1962: error: 'strsec' undeclared (first use in this function) > tccelf.c:1962: error: (Each undeclared identifier is reported only once > tccelf.c:1962: error: for each function it appears in.) > gmake: *** [tccelf.o] error 1 > ... > > $ uname -a > FreeBSD mybsd.zsoft.com 9.1-RELEASE-p14 FreeBSD 9.1-RELEASE-p14 #0: Tue Jun > 3 08:49:09 UTC 2014 > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Mmmh, sorry, that's my fault. A parameter should be added to layout_sections to pass strsec so that it's available in it. I cannot commit right now, do you want to give it a try? Best regards, Thomas signature.asc Description: This is a digitally signed message part. ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] build error on FreeBSD 9
2014-02-12 9:20 GMT+08:00 z_axis : > $gmake > gcc -o tcc tcc.o libtcc.a -lm -ldl -I. -I/usr/local/include > -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 > -L/usr/local/lib > /usr/bin/ld: cannot find -ldl > ... https://forums.freebsd.org/viewtopic.php?&t=5799 > > $ uname -a > FreeBSD mybsd.zsoft.com 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #3: Thu Jun 27 > 20:00:17 CST 2013 ***@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL > i386 > > Sincerely ! > > > ___ > Tinycc-devel mailing list > Tinycc-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/tinycc-devel ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] build error on FreeBSD 9
No contents ?! 在 Wed, 12 Feb 2014 09:22:06 +0800,Roy Tam 写道: 2014-02-12 9:20 GMT+08:00 z_axis : $gmake gcc -o tcc tcc.o libtcc.a -lm -ldl -I. -I/usr/local/include -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -L/usr/local/lib /usr/bin/ld: cannot find -ldl ... https://forums.freebsd.org/viewtopic.php?&t=5799 $ uname -a FreeBSD mybsd.zsoft.com 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #3: Thu Jun 27 20:00:17 CST 2013 ***@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL i386 Sincerely ! ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] build error on FreeBSD 9
2014-02-12 11:36 GMT+08:00 z_axis : > No contents ?! as mailing list manner, we don't top-posting. so have a look in your original contents, there is unquoted block. > > 在 Wed, 12 Feb 2014 09:22:06 +0800,Roy Tam 写道: > > >> 2014-02-12 9:20 GMT+08:00 z_axis : >>> >>> $gmake >>> gcc -o tcc tcc.o libtcc.a -lm -ldl -I. -I/usr/local/include >>> -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare >>> -D_FORTIFY_SOURCE=0 >>> -L/usr/local/lib >>> /usr/bin/ld: cannot find -ldl >>> ... >> >> >> https://forums.freebsd.org/viewtopic.php?&t=5799 >> >>> >>> $ uname -a >>> FreeBSD mybsd.zsoft.com 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #3: Thu Jun >>> 27 >>> 20:00:17 CST 2013 ***@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL >>> i386 >>> >>> Sincerely ! >>> >>> >>> ___ >>> Tinycc-devel mailing list >>> Tinycc-devel@nongnu.org >>> https://lists.nongnu.org/mailman/listinfo/tinycc-devel >> >> >> ___ >> Tinycc-devel mailing list >> Tinycc-devel@nongnu.org >> https://lists.nongnu.org/mailman/listinfo/tinycc-devel > > > > -- > 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ > ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel