discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] latest version of gr_python.m4


From: Beck, Andrew Thomas - BECAT001
Subject: RE: [Discuss-gnuradio] latest version of gr_python.m4
Date: Tue, 9 Aug 2005 13:32:17 +0930

I want to submit a patch for this and a mod
to gr-audio-windows to compile under cygwin. To what
address should I submit these patches. I have the
"How to generate patches" e-mail from sometime ago,
but the address has been removed.

cheers
andrew



-----Original Message-----
From: Stephane Fillod [mailto:address@hidden]
Sent: Sat 30/07/2005 5:57 AM
To: Beck, Andrew Thomas - BECAT001
Cc: address@hidden
Subject: RE: [Discuss-gnuradio] latest version of gr_python.m4

Selon "Beck, Andrew Thomas - BECAT001" <address@hidden>:

> I modified gr_python.m4 as follows so it now works under
> cygwin & mingw
>
>         python_cmd='
> import distutils.sysconfig
> import os
> path = distutils.sysconfig.get_config_var("LIBPL")
> if path == None:
>     path = distutils.sysconfig.PREFIX + "/libs"
> if os.sep == "\\":
>   path = path.replace("\\", "/")
> print path
> '

Great job Anrew. I don't know how I got it working one week ago,
maybe with an extended PATH pointing to the .dll file. Anyway,
your solution of pointing to the import library is much cleaner.

Eric, can you commit that new version into gr_python.m4 ?
We tested it with Martin, and it also works fine for us
under MinGW and Cygwin. That should not break other systems
because that python script is only run for *mingw*|*cygwin* hosts.
Oh yes, the new gr_python.m4 file will need to be copied over
all the other gr modules..


Cheers
--
Stephane



reply via email to

[Prev in Thread] Current Thread [Next in Thread]