www.digitalmars.com         C & C++   DMDScript  

c++.command-line - How do I use LINK from CYGWIN's bash

reply "Luc" <landre3567 9online.fr> writes:
Hi,

I'm builing my app using bash scripts as a command line interpretor.
SC works fine from the bash command line and my code compiles fine but LINK
does not work at all:
I don't get any ouput, even if it is launched with no parameters.

It works fine under DOS, but I realy want to use bash since my app is also
compiled under UNIX with the same scripts.

Is anybody aware of this problem ?

Thanks,

Luc
May 22 2003
parent reply "Walter" <walter digitalmars.com> writes:
Link is a win32 program. How are you using that under unix?

"Luc" <landre3567 9online.fr> wrote in message
news:bajgsn$2ufe$1 digitaldaemon.com...
 Hi,

 I'm builing my app using bash scripts as a command line interpretor.
 SC works fine from the bash command line and my code compiles fine but
LINK
 does not work at all:
 I don't get any ouput, even if it is launched with no parameters.

 It works fine under DOS, but I realy want to use bash since my app is also
 compiled under UNIX with the same scripts.

 Is anybody aware of this problem ?

 Thanks,

 Luc
May 22 2003
parent reply "Luc" <landre3567 9online.fr> writes:
CYGNUS's Tools work on Win32, the bash I'am using is a Win32 shell
interpreter.
All others compilers and linkers works fine in command line mode using bash
(Visual, CodeWarrior).
Link is the only application that doesn't work.
I may get its parameters using a special way :-(

Luc

"Walter" <walter digitalmars.com> wrote in message
news:bak4rp$ici$1 digitaldaemon.com...
 Link is a win32 program. How are you using that under unix?

 "Luc" <landre3567 9online.fr> wrote in message
 news:bajgsn$2ufe$1 digitaldaemon.com...
 Hi,

 I'm builing my app using bash scripts as a command line interpretor.
 SC works fine from the bash command line and my code compiles fine but
LINK
 does not work at all:
 I don't get any ouput, even if it is launched with no parameters.

 It works fine under DOS, but I realy want to use bash since my app is
also
 compiled under UNIX with the same scripts.

 Is anybody aware of this problem ?

 Thanks,

 Luc
May 23 2003
parent "Walter" <walter digitalmars.com> writes:
I know that link uses multiple threads. Perhaps the Win32 emulator you're
using doesn't do that right.

"Luc" <landre3567 9online.fr> wrote in message
news:balqat$19d$1 digitaldaemon.com...
 CYGNUS's Tools work on Win32, the bash I'am using is a Win32 shell
 interpreter.
 All others compilers and linkers works fine in command line mode using
bash
 (Visual, CodeWarrior).
 Link is the only application that doesn't work.
 I may get its parameters using a special way :-(

 Luc
May 23 2003