delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/24/22:41:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 25 May 2001 06:39:30 +0400
From: RFC Master <rfcmaster AT rambler DOT ru>
X-Mailer: The Bat! (v1.41) UNREG / CD5BF9353B3B7091
Reply-To: RFC Master <rfcmaster AT rambler DOT ru>
Organization: underlings
X-Priority: 3 (Normal)
Message-ID: <1277.010525@rambler.ru>
To: cygwin AT cygwin DOT com
Subject: hello from Russia
Mime-Version: 1.0

Hello cygwin,

Hi there! I am very sorry for disturbing you with my problem. I am a
newbie cygwin user, i use this outstanding environment for only a
month and a very unexperienced programmer. And have a problem i can't
solve by myself. I believe, it wouldn't take much time from you:))

From the beginning, i would say i use cygwin-1.3.1-1 with gcc 2.95.3-4

As far as i know, when i compile my program with gcc, for example,

        gcc -s foo.c -o foo.exe

it preprocesses, assembles and compiles a binary exe file and links
cygwin1.dll and kernel32.dll with it. Since that, i get a compact
binary exe file which takes all the functions and subroutines from
cygwin1.dll   

But i BADLY need to produce a binary exe file that doesn't depend on
cygwin1.dll and imports ALL the functions and subroutines i use into
this exe file? I need my applications to run under a limited
environment where i can launch only one small binary exe file (that
doesn't exceed 200-300 Kb). But i have a reading access to the remote
kernel32.dll.     

How can i build my pretty small and simple console only programs
independently from cygwin1.dll?

I've read all the faqs available from the original cygwin site very
attentively, but, unfortunately, didn't find anything that could help
me to solve this, as i suppose, pretty miserable problem.  

I've started to read mail archives but it is too big to find my
anything for problem... Could you please tell me what should i do to
produce an independent from cygwin1.dll binary exe file? What
documentation should i read? Please help me! SOS!   

Regards from Russia.  


-- 
Best regards,
 RFC                          mailto:rfcmaster AT rambler DOT ru



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019