Viktor,

no, cp uses backslashes as well, see

(E:\REPOSITORY\harbour)dir \harbour\TODO

The volume label in drive E is Dati.
The Volume Serial Number is 812E:D5C2.
Directory of E:\harbour

SYS0002: The system cannot find the file specified.

(E:\REPOSITORY\harbour)cp TODO \harbour\TODO

(E:\REPOSITORY\harbour)dir \harbour\TODO

The volume label in drive E is Dati.
The Volume Serial Number is 812E:D5C2.
Directory of E:\harbour

22/08/09 10:29          3.258    124 a---  TODO
        1 file(s)       3.258 bytes used
                  178.648.915 K bytes free

Anyway, I'll try your change and report.

Maurilio.



Viktor Szakáts wrote:
>> Viktor,
>>
>> I'm trying to use cp instead of internal copy on OS/2, but while it
>> copies ok
>> files inside include it then gives a strange error when trying to copy
>> .a file
>> (libraries).
>>
>> Any idea?
> 
> My guess is that this cp build needs forward slashes.
> 
> In config/instsh.mk try replacing INSTALL_DIR_OS with
> INSTALL_DIR in line 67 and INSTALL_FILES_OS with
> INSTALL_FILES in line 71.
> 
> (if you can pls do the testing with cp.exe which comes
> from http://download.smedley.info/buildenv_20071022.zip,
> the other tools also came from here.)
> 
> Brgds,
> Viktor
> 
>>
>> cp fm.api e:\harbour\include
>> cp gt.api e:\harbour\include
>> cp hbundoc.api e:\harbour\include
>> cp item.api e:\harbour\include
>> cp rdd.api e:\harbour\include
>> cp vm.api e:\harbour\include
>> make[3]: `../../../../../lib/os2/gcc/hbcommon.a' is up to date.
>> cp ..\..\lib\os2\gcc\hbcommon.a e:\harbour\lib
>> cp: cannot create regular file
>> `e:\\harbour\\lib/..\\..\\lib\\os2\\gcc\\hbcommon
>> .a': No such file or directory
>> make[2]: [install] Error 1 (ignored)
>> make[3]: `../../../../../lib/os2/gcc/hbnortl.a' is up to date.
>> cp ..\..\lib\os2\gcc\hbnortl.a e:\harbour\lib
>> cp: cannot create regular file
>> `e:\\harbour\\lib/..\\..\\lib\\os2\\gcc\\hbnortl.
>> a': No such file or directory
>> make[2]: [install] Error 1 (ignored)
>> make[3]: `../../../../../lib/os2/gcc/hbpp.a' is up to date.
>> cp ..\..\bin\os2\gcc\hbpp.exe e:\harbour\bin
>> cp: cannot create regular file
>> `e:\\harbour\\bin/..\\..\\bin\\os2\\gcc\\hbpp.exe
>> ': No such file or directory
>> make[2]: [install] Error 1 (ignored)
>> cp ..\..\lib\os2\gcc\hbpp.a e:\harbour\lib
>> cp: cannot create regular file
>> `e:\\harbour\\lib/..\\..\\lib\\os2\\gcc\\hbpp.a':
>> No such file or directory
>> make[2]: [install] Error 1 (ignored)
>> make[3]: `../../../../../lib/os2/gcc/hbcplr.a' is up to date.
>> cp ..\..\lib\os2\gcc\hbcplr.a e:\harbour\lib
>>
>>
>> -- 
>> __________
>> |  |  | |__| Maurilio Longo
>> |_|_|_|____| farmaconsult s.r.l.
>>
>> 
>> _______________________________________________
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to