Opened 19 years ago

Closed 18 years ago

Last modified 9 years ago

#8058 closed defect (fixed)

RFE: gcc41 and odcctools

Reported by: yves@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: darwinports-bugs@…
Port:

Description

I just built gcc41 with odcctools on 10.4.5 and everything looks ok.

I did change "depends_build" to "depends_lib-append" because I guess odcctools need to be installed to use gcc41.

Since using gcc40 or gcc41 means a move away from Apple's compiler chain, my opinion is that odcctools should be used by default on all darwin platforms, or at least be present as a variant. Especially since Lars Sonchocky-Helldorf <lars.sonchocky-helldorf@…> found better results at regression tests with odcctools.

thanks for all these up-to-date gcc versions !

Change History (3)

comment:1 Changed 18 years ago by mww@…

ok - do you have a diff for the Portfile? Which tools has ./configure to be pointed to for using odcctools?

comment:2 Changed 18 years ago by yves@…

--- Portfile.orig	2006-04-11 17:48:12.000000000 -0400
+++ Portfile	2006-05-28 09:15:54.000000000 -0400
@@ -60,17 +60,16 @@
 
 build.target	profiledbootstrap
 
-# untested:
-#platform darwin 7 {
-#	depends_build	port:odcctools
-#	patch {
-#		reinplace "s|/usr/bin/libtool|${prefix}/bin/odlibtool|g" \
-#			${workpath}/gcc-${version}/gcc/config/darwin.h
-#	}
-#	configure.args-append	--with-as=${prefix}/bin/odas \
-#					--with-ld=${prefix}/bin/odld \
-#					--with-ar=${prefix}/bin/odar
-#}
+platform darwin {
+	depends_lib-append	port:odcctools
+	patch {
+		reinplace "s|/usr/bin/libtool|${prefix}/bin/odlibtool|g" \
+			${workpath}/gcc-${version}/gcc/config/darwin.h
+	}
+	configure.args-append	--with-as=${prefix}/bin/odas \
+					--with-ld=${prefix}/bin/odld \
+					--with-ar=${prefix}/bin/odar
+}
 
 post-destroot {
 	cd ${destroot}${prefix}
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 18 years ago by mww@…

Resolution: fixed
Status: newclosed

o.k. - submitted alongside the update to 4.1.1 - thanks!

Note: See TracTickets for help on using tickets.