By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,621 Members | 1,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,621 IT Pros & Developers. It's quick & easy.

Static freeze

P: n/a

Cheers.

I am trying to create a single executable that contains my program. Due to
legal issues I was unable to use a dynamically linked python executable.

Over the last couple of weeks I managed to create a statically linked
python executable that contains everything we need (Qt, ssl, bz2, etc). My
final step should be to use that executable and freeze all the python code
inside it. Problem is, when I try that - it tries to create a dynamically
linked executable.

Is there a way to tell freeze to create a statically linked executable?
Freeze commandline does not appear to have that option. I'm sure that in a
day or two I can figure out the Makefile it generates and perhaps
substitute the object files to create what I need, but I'm hoping there is
someone out there who can help me (or at least save me a lot of time).

Thanks a lot,

Grzegorz
Aug 31 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Grzegorz Dostatni wrote:
Is there a way to tell freeze to create a statically linked executable?
Freeze commandline does not appear to have that option. I'm sure that in a
day or two I can figure out the Makefile it generates and perhaps
substitute the object files to create what I need, but I'm hoping there is
someone out there who can help me (or at least save me a lot of time).


You need two days to figure out the Makefile? Just changing
LDFLAGS/LINKFORSHARED should do the trick.

Regards,
Martin
Sep 14 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.