gcc links to libcmain when generating a dll

2025-05-26 Thread Arthur Schwarz via Cygwin
Hi Brian; I'm trying to track down the gcc linker (ld) manual. Any idea where I can find it? I've looked at the gcc site (gcc.gnu.org/onlinedocs/) and it's not there. I did a google search and found a 1998 linker manual. I looked at the local cygwin (/usr/share/doc) and there's no ld. You

gcc links to libcmain when generating a dll

2025-05-22 Thread Arthur Schwarz via Cygwin
I can't figure this one out. > clear;g++ -flinker-output=dyn -o slip.dll *.o generates: /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/12/../../../../lib/libcygwin.a(libcmain.o): in function `main': /usr/src/debug/cygwin-3.6.1-1/winsup/cygw

cp -rup fails if a file/directory exists

2015-09-06 Thread Arthur Schwarz
cp -rup dir /h/ works for version 8.23-4 but for version 8.24-1 it produces an error " cannot create directory '/h/dir': File exists", where 'dir' is a directory and '/h/' is a flash drive. Is there something I can do to force a save? I do not want to delete then save, I'd rather update a file/dir

Is there a tool for viewing all cygwin/GNU Software submissions

2014-11-25 Thread Arthur Schwarz
Is there a general tool that will allow someone to see the definition of all software in cygwin and allow browsing of libraries for content? If there is not, how can I go about creating one (any ideas)? What I would like to see for executables is a setup-like tool to pretty print information on al

TeX WYSIWG Editor

2014-07-07 Thread Arthur Schwarz
Are there any TeX WYSIWG editors? In particular, ones that support managing changes in a distributed environment (as a minimum)? Changing TeX documents seems tedious (without a WYSIWG) if doing it by hand. Wordperfect and Microsoft Word hid the font/formatting commands from the user to produce a WY

RE: Question on gcc install

2014-06-21 Thread Arthur Schwarz
On 6/20/2014 22:37, Arthur Schwarz wrote: > >> At the present time /bin/gcc.exe, etc., works. /bin/*mingw*.exe >> either compiles but does not link, or does not compile - which seems >> to be a > header >> issue. gcc -m32 does not work which may be a gcc.gnu issu

RE: Question on gcc install

2014-06-20 Thread Arthur Schwarz
> At the present time /bin/gcc.exe, etc., works. /bin/*mingw*.exe either > compiles but does not link, or does not compile - which seems to be a header > issue. gcc -m32 does not work which may be a gcc.gnu issue. > Can you at least be specific about the errors? It is rather frustrating reading

RE: Re: Question on gcc install

2014-06-19 Thread Arthur Schwarz
Hi JonY; I hope that this clarifies some of the thing yous mentioned (as well as others unmentioned). None of the toolchains are multilib capable, so -m32/-m64 is not going to work. See also http://wiki.osdev.org/Target_Triplet "> info gcc -> Option Index" shows -m32 and -m64 as valid Opti

Re: Question on gcc install

2014-06-17 Thread Arthur Schwarz
Hi Larry; I think I mislead you. Netbeans is quite comfortable with cygwin, and I believe demands it in a Windows environment. What Netbeans requires is the exact oath to use for gcc, g++, gfortran, the assembler, make file, gdb, and qmake (optional). The make file path and gdb are invariant. The

RE: Re: Question on gcc install

2014-06-17 Thread Arthur Schwarz
Win7 gcc 4.8.3-? Netbeans 7.4 Hi csaba; I just downloaded the latest version of gcc (16 Jun version). Strangely enough, the [ANNOUNCEMENT] says that it is gcc 4.8.3-1 and the setup download says it is gcc 4.8.3-2. Sigh. There are some changes. The i686-pc-cygwin-gcc-4.8.2.exe x86_64-pc-

Re: Question on gcc install

2014-06-17 Thread Arthur Schwarz
Win7 gcc 4.8.3 Netbeans 7.4 Hi Csaba; I used setup.exe. The issue and confusion arise because I am using the Netbeans IDE, and Netbeans requires explicit reference to the gcc, g++, fortran compilers and assembler being used. I am running into difficulties. 1: mingw fails to link correctly. Hund

Question on gcc install

2014-06-15 Thread Arthur Schwarz
Does gcc delete old version of their software during an install. I just installed gcc/mingw 4.8.3-2 and have all versions from 4.7.3 to 4.8.3-2 but (I think) only libraries and etc. for 4.8.3-2. Am I responsible for deleting these older references? Will these older references work with the newer li

gcc 4.8.2 runtime library error

2014-05-28 Thread Arthur Schwarz
Win 7 64-bit gcc 4.8.2 (64-bit) ret: http://stackoverflow.com/questions/23900921/c-scanf-la-returns-0 I don't know whether cygwin or gcc.org maintains the runtime library. If this is the wrong location I'll redirect this e-mail. sscanf() doesn't handle "%la" correctly and crashes on "%a". Samp

RE: gcc 3.4.4-x (WinXP Win2K) failure to link for 'new'

2006-12-19 Thread Arthur Schwarz
Sorry about the HTML. I (really) tried to send plain text, but your comment did give me a chuckle. I am sorry and thanks. art -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.htm

RE: Bug in setup.exe install

2006-01-21 Thread Arthur Schwarz
Arthur Schwarz wrote: One known weakness of setup.exe is when deselecting things with complex patterns of dependencies. You might get better results from starting by using the 'Keep' radio button, to select nothing for installation, and then *adding* packages you want upgraded. S

Using PWD

2005-02-06 Thread Arthur Schwarz
I'm trying to find the directory of an executing bash script and am having very limited success. For example(s): 1. /script.sh 2. source /script.sh 3. bash /script.sh I can find the correct only for the first example (dirname $0). PWD (of course) only works when == ./. The other two cases I can

Setup failure

2004-10-25 Thread Arthur Schwarz
Ver 5.0 Build 2195 Service Pack 4 Path: ( .\ C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\Program\ Files\ATI\ Technologies\ATI\ Control\ Panel C:\cygwin\usr\X11R6\bin c:\.xemacs .) Output from C:\cygwin\bin\id.exe (nontsec) UID: 40