Programming :: Get Rid Of Cygwin.dll/Cygwin1.dll In Program Compiled Under Cygwin ?

May 17, 2009

I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.

I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.

I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).

View 1 Replies


ADVERTISEMENT

Programming :: Compiling A C++ Program Including Libpq-fe.h Using Cygwin

Sep 16, 2010

Compiling a C++ program including libpq-fe.h by the command Code: g++ -I/usr/include -L/lib -lpq my_program.cpp for access to a PostgreSQL database results in the error Code: undefined reference to '_PQconnectdb'

View 4 Replies View Related

Programming :: Write A Batch File For Windows That Starts Cygwin Tool And Runs Unix Scripts?

Nov 17, 2008

I need to write a batch file for windows that automatically starts the cygwin tool in windows and executes the unix scripts.Previously we had these scripts in unix server.Now we need to migrate them to Windows server.For this reason we are using cygwin tool that allows the scripts to be executed on Windows server.We had written a batch file that starts the cygwin tool,but we were not able to execute the unix scripts.How can we write a batch file such that it executes all the unix scripts in cygwin.

View 5 Replies View Related

Programming :: Bash Scripting With "source" Or . (dot) Operator (Cygwin & Ubuntu)?

Jan 22, 2010

This one is driving me crazy.

My .bashrc is set as:
if [ -d ~/.bashrc.d ]; then
for file in $(/bin/ls ~/.bashrc.d/); do

[code]....

View 3 Replies View Related

General :: How To Work On Cygwin

Jul 28, 2010

As one of our friends told, I have downloaded and installed the CYGWIN on my winows xp pc, to learn and practice linux commands.when the icon of it is double clicked, its screen as appearing as below:

System1@system ~
$
MY DOUBT IS :

I could make a directory with command like mkdir. But after that it is not allowing commands like touch, vi, vim etc.How i have to write data or a file in it. Still anything to do after installing CYGWIN.

View 3 Replies View Related

General :: Fpermissive Error Of Gcc In Cygwin?

Apr 15, 2011

I am using cygwinI am getting these errors when i compile sim_routing.cc program by this command../../bin/cxx sim_routing.ccg++ -Wall -o sim_routing sim_routing.cxxfollowing errors comes../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.error : <if you use -fpermissive g++ will accept your code but allowing use of undeclared name is deprecated>error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible

View 1 Replies View Related

General :: Installing Libraries For Cygwin?

Mar 19, 2010

I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?

g++ - the version 4.4
graphviz
gnuplot
plotdrop

[Code].....

View 1 Replies View Related

General :: Can't Copy And Paste Into Cygwin

May 7, 2010

I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?

View 7 Replies View Related

General :: All Commands Exist In Cygwin?

Jan 25, 2011

I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.

View 4 Replies View Related

Ubuntu :: Getting A2ps To Run Under Cygwin On A Windows-7 Box

Jul 25, 2010

can't find a decent forum (sourceforge.net has an awkward forum platform). I am having trouble getting a2ps to run under Cygwin on a Windows-7 box. And if you know of a forum specifically for users of a2ps

View 1 Replies View Related

General :: Compiling Using Cygwin - Error Not ELF

Oct 14, 2010

New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:

Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2

Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.

View 14 Replies View Related

General :: Make Not Working In Cygwin

Aug 16, 2010

I installed the CUnit framework which is a .tar.gz file from the bash shell in cygwin.

make gives me an error saying:

make install works
make clean works

I am not able to compile but install works I do not know if it is installed and as to where it is installed

when i checked it gives me a list of header files and also the lib files. I do not know as to why the make command is not working in cygwin. When i go to the bin directory it shows the make command.

View 5 Replies View Related

Software :: Cron Not Working Under Cygwin ?

Jun 29, 2010

I'm running cygwin 1.7 on a vanilla win2k3 r2 server. I've put together a simple crontab that I'll paste in her in a sec. The crontab entries call several shell scripts that do either scp's or rsync's from linux servers to this win2k3 box under cygwin.

The problem is that the scripts work and run fine from the commandline. Just not when called from the crontab. I'm running from the root equivalent administrator UID. The crontab log files are empty of errors.

crontab is:

Like I said, the scripts execute fine from the command line.

View 3 Replies View Related

Software :: Setup Cygwin For Best Possible Useage?

May 5, 2010

I've been searching the interwebs for a solution to a problem I'm having with cygwin, that is the ability to install! I thought it would be cool to install both firefox and gnash, so I've found out that I need gcc, gcc-++, and make, but the problem persists. Under firefox I get the error "checking for gcc... cl", but I've never installed (or able to install) cl.

The purpose I want this thread to serve in allowing people to see the best possible ways to setup cygwin. I have a startup script that I feel is pretty good for the fact that it's a relative path; I haven't figured out what some of the start options were in the other scripts so I just erased them!

View 2 Replies View Related

Software :: NS2 Installation In Windows 7 Using Cygwin?

Mar 13, 2011

i'm trying to install ns-allinone-2.29.2.tar in windows 7 by using cygwin installer..
At the starting i got this message

Code:
* Testing for Cygwin environment
Cygwin detected
Note: Cygwin install is still considered EXPERIMENTAL
Checking Cygwin version is >= 1.3.12... 1.7.8 (should be ok)
Checking filesystems are mounted as UNIX filetype... yes
Checking default mode is binmode... yes

[Code]...

View 3 Replies View Related

Software :: Where Is Command File On Cygwin

Oct 4, 2010

I have installed cygwin 1.7.5. But the command "file" (check the type of a file) is missing. I tried to re-install, but could not find it on installation program. Where is it?

View 2 Replies View Related

General :: Manual Install Perl-5.10.1-3.tar.bz2 On Cygwin?

Jun 6, 2010

I have the binaries: perl-5.10.1-3.tar.bz2 and I don't have access (admin privileges) to run setup.exe for cygwin, my question is how can I install manually inside cygwin the module for perl: perl-5.10.1-3.tar.bz2?(or maybe can I get the sources and compile? can someone tell me please how?)

View 1 Replies View Related

General :: Console Hex Editor Under Windows/cygwin?

Oct 18, 2010

ould recommend for a console hex editor under windows/cygwin/linux?

View 3 Replies View Related

Ubuntu :: Cross Compile Openswan For Cygwin?

Jul 5, 2010

I am trying to get openswan installed on cygwin. Having issues with that, their mailing list has suggested to cross compile it from linux, and I've had some gcc related errors. So I was wondering what I can use that will install on ubuntu to compile this for cygwin. As am I supposed to run this configure on the gcc package? [URL]

View 1 Replies View Related

General :: Cygwin - Myscript Command Not Found

Nov 8, 2009

But I just downloaded cygwin to my xp machine. Tried my first experimental script and created it one level directly below where cygwin put me by default. The script, named show two says:

#!/bin/bash
echo $1
echo $2

But bash apparently can't find it. The name of the script is showtwo, but I also tried naming it showtwo.sh; no dice.

View 8 Replies View Related

General :: Compiling Library In Cygwin To Be Linked With VC++

May 21, 2010

I'm interested in modding an open-source turn based game called Advanced Strategic Command or ASC, but to do that I need bunch of libraries. Installing those libraries is very easy in linux, I know but the thing is I'm working with windows in which the building of the libraries is a bit more complex, as you probably know. One of those libraries is the ligsigc++, I'm using VC++ but haven't been successful in building the libsigc++ in VC++. I considered making my life easier with Cygwin (a unix shell for windows) and simply executing ./Configure, Make. I's worked like a charm and the library dll it produced is named cygsigc-2.0-0.dll which made me wonder is compiling a library in cygwin to be linked with VC++ perfectly ok? That is is there any difference in compiling in cygwin and VC++?

View 2 Replies View Related

General :: Make Command Is Not Found In Cygwin

May 13, 2009

I have installed cygwin to my windows xp machine. I typed the commmand in cygwin shell it shows "command not found". How can i install make command in cygwin

View 2 Replies View Related

General :: Make - Command Still Not Working On Cygwin

Jan 21, 2010

Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.

I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.

View 2 Replies View Related

General :: Unable To Declare A Variable In Cygwin?

Jan 21, 2010

I recently installed Cygwin on my windows vista to practice on Linuxunix commands.I am unable to do a simple task of declaring variables on the command prompt I am trying:

$ vech=Bus
$ echo $vech
bash: vech : command not found

What am I missing? Do i need to add something to .bashrc? Also, I remember right click on the shell command gives the ability to copy or paste text from the shell. I am using Bash, how do I copy n paste text on shell window?

View 4 Replies View Related

Server :: SSH To Work Without A Password Between CentOS And Cygwin

Jul 31, 2010

CentOS 5.4 Cygwin CYGWIN_NT-6.0-WOW64 1.7.5(0.225/5/3) I'm trying to setup password-less login from my CnetOS server to Win 2008 Server via ssh. I have followed the fab walk-through here and many others. When i try to connect I get this msg after a few seconds delay...

Code:

Connection closed by 10.8.0.6 When ran with ssh -vv...

Code:

[smegadmin@s ~]$ ssh -vv 10.8.0.6
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *

[code]....

View 9 Replies View Related

Server :: Telnetd - Inetd Not Working In Cygwin 1.7

Mar 24, 2010

I just tried to setup telnet server by telnetd + inetd in cygwin 1.7, but not lucky.

Here is the command to setup inetd:

in inetd.conf I use default setting:

But after telnet the server, it will just stop at:

trace the source code, seems it stop in function getterminaltype by the lines:

I'm not familiar with the telnet protocol, so not sure what happening here.

View 4 Replies View Related

Software :: Error In Compiling Libnet On Cygwin

Jun 26, 2011

I want to compile Firewalk in cygwin, But error compiling libnet occur:

Firewalk-0.99.1 #./configure
loading cache ./config.cache
checking host system type... i386-pc-cygwin32
checking target system type... i386-pc-cygwin32
checking build system type... i386-pc-cygwin32
checking for gcc... gcc .....
checking for PacketSetMode in -lpacket... no
configure :erroracket lib not found

What is "Packet Lib"? I have compile Plib Package, but the this error occurs again!

View 1 Replies View Related

Software :: Configure Cygwin On Passive Mode?

Dec 26, 2008

I am using Cygwin with RHEL 4. Can anyone guide to configure it on passive mode.

View 2 Replies View Related

Installation :: Unable To Install GCC On Cygwin(Windows Vista)?

Mar 3, 2010

I am trying to install Cygwin and then NS2.GCC is not recognized by NS2.gcc -v gives the appropriate output.I dont know whats wrong.Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specsgcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

View 2 Replies View Related

General :: Required In Installing Anjuta & Pango In CYGWIN?

Oct 13, 2010

I am very new to Linux. I want to work on GTK. As I came from VB background, I want to use Anjuta IDE to start my design. I installed CYGWIN. When I am trying to install anjuta , I am getting error saying GLIB and Unique1.0 not found :

[Code]...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved