cons-discuss
[Top][All Lists]
Advanced

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

NT/cygwin system() call unpredicability...


From: Kiggins, Andrew
Subject: NT/cygwin system() call unpredicability...
Date: Thu, 23 Nov 2000 15:45:19 -0500

OS: WindowsNT 
Perl: ActivePerl 5.6.0
Compiler: cygnus 2.95.2
Environment: DOS

Problem: linking start before  sources have completed building

I have the problem whereby a number of .cc files are compiled and linked (or
not as the case may be) into a single lib file.

I start the build from a DOS shell.

In the cons.bat the gcc/ld commands are fired off using the system()
command. It appears however that the system() call returns before the
command has completed. So that the linking of the generated .o's starts
before the .o's themselves have been written.

Is this the expected behaviour ? system() says it will wait for the command
to complete before the call returns. Is this an ActivePerl problem ? Anyone
got a fix ?

thanks in advance
andrew



reply via email to

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