Re: [Re-post from users]: gmake question
On 12/01/15 07:35, William A. Mahaffey III wrote: I am using gmake under FreeBSD 9.3R to (try to) maintain some inhouse mixed language code (ANSI C, some c++, FORTRAN 77). I have a utility library which I use to hold C & c++ object files, using the 'target::' syntax. This works AOK under Linux (gmake 3.8.2), puts both types of objects in the same library smooth as silk. However under FreeBSD (gmake 4.1.2), it only puts the 1st group of objects in, either the C or c++ depending on which is 1st in the makefile. When I try the 'target:' syntax, it wound up deleting some of my source files (!). I reproduce the relevant parts of the makefile below: . . . . force: clean all depend: @makedepend -- $(CFLAGS) -- -f Makefile $(SRCS) @\rm -f Makefile.bak @cp -p Makefile MakeUtils @echo MakeUtils: Done with $@. iccdepend: @icc $(IFLAGS) -c -MM -MF depends.inc $(SRCS) @echo MakeUtils: Done with $@. $(LIB):: $(CPPSRC) $(CC) $(CPPFLAGS) -c $? ar ruv $@ ${?:.cpp=.o} && rm -f ${?:.cpp=.o} @echo MakeUtils: Done with $@. $(LIB):: $(SRCS) $(CC) $(CFLAGS) -c $? ar ruv $@ ${?:.c=.o} && rm -f ${?:.c=.o} @echo MakeUtils: Done with $@. # DO NOT DELETE THIS LINE -- make depend depends on it. CPPSRC lists the c++ files & SRCS lists the C files. Is this supposed to work under FreeBSD 9.3R & this version of gmake ? TIA for any pointers & have a good one. BTW: [wam@devbox, pre, 8:08:13pm] 2846 % uname -a FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 10:11:50 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@devbox, pre, 8:08:16pm] 2847 % grep make /etc/LIST.installed.txt automake-1.15_1GNU Standards-compliant Makefile generator automake-wrapper-20131203 Wrapper script for GNU automake gmake-4.1_2GNU version of 'make' utility libxklavier-5.3_1,1Utility library to make XKB stuff easier makedepend-1.0.5,1 Dependency generator for makefiles [wam@devbox, pre, 8:08:53pm] 2848 % Update: I went ahead & downloaded & installed (in /usr/local/bin) GNU make 3.8.2 & it indeed works as expected & as I interpret the online docs. Bug in make 4.1.2 ? Any more info wanted, just ask -- William A. Mahaffey III -- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
gcc5 question
I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that a 'make showconfig' in the port now shows Graphite support enabled by default. However, a 'gcc -v --help' on the pkg installed version shows no libisl, req'd for Graphite support (I think). Is the pkg built differently from the port ? TIA & have a good one. -- William A. Mahaffey III -- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
Re: gcc5 question
On 03 Dec 2015, at 01:09, William A. Mahaffey III wrote: > > I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that > a 'make showconfig' in the port now shows Graphite support enabled by > default. However, a 'gcc -v --help' on the pkg installed version shows no > libisl, req'd for Graphite support (I think). Is the pkg built differently > from the port ? TIA & have a good one. I've tried building the port with the GRAPHITE option enabled, but it died with various compilation errors about missing isl types, even while isl was installed. So I'm not sure about the state of this support. :-) Gerald, any idea? I suppose the option is expected to work? -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail
gcc5 question
I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that a 'make showconfig' in the port now shows Graphite support enabled by default. However, a 'gcc -v --help' on the pkg installed version shows no libisl, req'd for Graphite support (I think). Is the pkg built differently from the port ? TIA & have a good one. *K* I meant gcc5-devel, sorry :-/ -- William A. Mahaffey III -- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org" ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
Re: gcc5 question
On Thu, 3 Dec 2015, Dimitry Andric wrote: >> I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed >> that a 'make showconfig' in the port now shows Graphite support enabled by >> default. However, a 'gcc -v --help' on the pkg installed version shows no >> libisl, req'd for Graphite support (I think). Is the pkg built differently >> from the port ? TIA & have a good one. > I've tried building the port with the GRAPHITE option enabled, but it > died with various compilation errors about missing isl types, even while > isl was installed. So I'm not sure about the state of this support. :-) > > Gerald, any idea? I suppose the option is expected to work? If you have an up-to-date lang/gcc5 port, you should not be able to specify GRAPHITE any longer. Somehow my testing must have been flawed (even though I recall it explicitly tested, so perhaps a typo when specifying the option) and this will be fixed when updating to GCC 5.3, hopefully in the next few days. Give lang/gcc5-devel a try, which is close to what GCC 5.3 is going to be. That one should work. I tested it again yesterday, just to be sure. Gerald ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
Re: gcc5 question
On 12/02/15 18:33, Gerald Pfeifer wrote: On Thu, 3 Dec 2015, Dimitry Andric wrote: I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that a 'make showconfig' in the port now shows Graphite support enabled by default. However, a 'gcc -v --help' on the pkg installed version shows no libisl, req'd for Graphite support (I think). Is the pkg built differently from the port ? TIA & have a good one. I've tried building the port with the GRAPHITE option enabled, but it died with various compilation errors about missing isl types, even while isl was installed. So I'm not sure about the state of this support. :-) Gerald, any idea? I suppose the option is expected to work? If you have an up-to-date lang/gcc5 port, you should not be able to specify GRAPHITE any longer. Somehow my testing must have been flawed (even though I recall it explicitly tested, so perhaps a typo when specifying the option) and this will be fixed when updating to GCC 5.3, hopefully in the next few days. Give lang/gcc5-devel a try, which is close to what GCC 5.3 is going to be. That one should work. I tested it again yesterday, just to be sure. Gerald ___ freebsd-questi...@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" It was/is indeed gcc5-devel, & I am compiling it up now, so all is well AFA it does indeed appear to compile OK & work (I have gotten some inhouse to compile up today, to test it overnight). Sorry for the confusion :-/. On a related topic, it would be sweet if the devel compiler were installed in /usr/local/bin, w/ a slightly different name (gcc5X, gcc5d, maybe gcc521(X|d), you get the picture), for convenient back-to-back comparisons if req'd -- William A. Mahaffey III -- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"