Mercurial > ecos-v2_0-branch
comparison host/tools/configtool/standalone/common/cdl_exec.cxx @ 808:6fce82fdc171
* standalone/common/cdl_exec.cxx: Generate Cygwin text-mode mounts
explicitly since text-mode is no longer the default.
* standalone/wxwin/runtestsdlg.cpp: Use the rich edit control under
Windows to eliminate a 64k limit on the length of text in the test
output window and make the window read-only.
| author | jld |
|---|---|
| date | Thu, 01 May 2003 12:00:04 +0000 |
| parents | e0c0827131d1 |
| children |
comparison
equal
deleted
inserted
replaced
| 807:da388bd94ed2 | 808:6fce82fdc171 |
|---|---|
| 1 //####COPYRIGHTBEGIN#### | 1 //####COPYRIGHTBEGIN#### |
| 2 // | 2 // |
| 3 // ---------------------------------------------------------------------------- | 3 // ---------------------------------------------------------------------------- |
| 4 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. | 4 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. |
| 5 // Copyright (C) 2003 John Dallaway | |
| 5 // | 6 // |
| 6 // This program is part of the eCos host tools. | 7 // This program is part of the eCos host tools. |
| 7 // | 8 // |
| 8 // This program is free software; you can redistribute it and/or modify it | 9 // This program is free software; you can redistribute it and/or modify it |
| 9 // under the terms of the GNU General Public License as published by the Free | 10 // under the terms of the GNU General Public License as published by the Free |
| 475 #endif | 476 #endif |
| 476 config->generate_config_headers (install_prefix.empty () ? "install/include/pkgconf" : install_prefix + "/include/pkgconf"); | 477 config->generate_config_headers (install_prefix.empty () ? "install/include/pkgconf" : install_prefix + "/include/pkgconf"); |
| 477 status = true; | 478 status = true; |
| 478 #ifdef __CYGWIN__ | 479 #ifdef __CYGWIN__ |
| 479 char buf[100]; | 480 char buf[100]; |
| 480 strcpy(buf, "mount.exe -f x: /ecos-x"); | 481 strcpy(buf, "mount.exe -f -t -u x: /ecos-x"); |
| 481 //printf("Cwd_win32: %s\n", cwd_win32); | 482 //printf("Cwd_win32: %s\n", cwd_win32); |
| 482 | 483 |
| 483 if ( cwd_win32[1] == ':' ) | 484 if ( cwd_win32[1] == ':' ) |
| 484 { | 485 { |
| 485 buf[13] = cwd_win32[0]; | 486 buf[19] = tolower(cwd_win32[0]); |
| 486 buf[22] = cwd_win32[0]; | 487 buf[28] = tolower(cwd_win32[0]); |
| 487 system(buf); | 488 system(buf); |
| 488 } | 489 } |
| 489 | 490 |
| 490 //printf("Repository: %s\n", repository.c_str()); | 491 //printf("Repository: %s\n", repository.c_str()); |
| 491 | 492 |
| 492 if ( repository[1] == ':' ) | 493 if ( repository[1] == ':' ) |
| 493 { | 494 { |
| 494 buf[13] = repository[0]; | 495 buf[19] = tolower(repository[0]); |
| 495 buf[22] = repository[0]; | 496 buf[28] = tolower(repository[0]); |
| 496 system(buf); | 497 system(buf); |
| 497 } | 498 } |
| 498 if ( !install_prefix.empty() ) | 499 if ( !install_prefix.empty() ) |
| 499 { | 500 { |
| 500 //printf("Install prefix: %s\n", install_prefix.c_str()); | 501 //printf("Install prefix: %s\n", install_prefix.c_str()); |
| 501 if ( install_prefix[1] == ':' ) | 502 if ( install_prefix[1] == ':' ) |
| 502 { | 503 { |
| 503 buf[13] = install_prefix[0]; | 504 buf[19] = tolower(install_prefix[0]); |
| 504 buf[22] = install_prefix[0]; | 505 buf[28] = tolower(install_prefix[0]); |
| 505 system(buf); | 506 system(buf); |
| 506 } | 507 } |
| 507 } | 508 } |
| 508 #endif | 509 #endif |
| 509 } else { | 510 } else { |
