Hello everyone,

sdcc is now available from the Fedora Extras repositories (FC6 and
devel, FC5 coming up). I am the maintainer of the package, so please
report any problems with it directly to me, or
http://bugzilla.redhat.com, and I will look into it.

I have updated the wiki to reflect the changes, but there is one small
issue: Some of the names of the binaries in sdcc are very generic, and
they have therefore been moved to /usr/libexec/sdcc on Fedora, and
symlinks prefixed with sdcc- have been created in /usr/bin. This might
be a problem for existing programs, but the solution is simply to add
/usr/libexec/sdcc to PATH before building GNU Radio.

I have also created a patch to config/usrp_sdcc.m4 that does this
automatically (see attachment).

Now, onto the gnuradio spec file...

--
Trond Danielsen
Index: config/usrp_sdcc.m4
===================================================================
--- config/usrp_sdcc.m4	(revisjon 4705)
+++ config/usrp_sdcc.m4	(arbeidskopi)
@@ -20,6 +20,14 @@
 AC_DEFUN([USRP_SDCC],
 [
 	sdccok=yes
+
+	# For Fedora, see http://gnuradio.org/trac/wiki/FC5Install
+        if test -f '/etc/fedora-release'; then
+                if test -d '/usr/libexec/sdcc'; then
+			PATH=/usr/libexec/sdcc:$PATH
+                fi
+        fi
+
 	AC_CHECK_PROG(XCC, sdcc, sdcc -mmcs51 --no-xinit-opt,no)
 	AC_CHECK_PROG(XAS, asx8051, asx8051 -plosgff,no)
 
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to