mainCRTStartup

2007-03-09 Thread Krzysztof Grala
Hi, I have the same issue using GNAT while linking. cannot find entry symbol _mainCRTStartup ; defaulting to 0x00401 Did you find the problem? Please let me know Krzysztof -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

RE: mainCRTStartup

2007-03-09 Thread Dave Korn
On 09 March 2007 16:07, Krzysztof Grala wrote: Hi, I have the same issue What issue? Same as who? Some geezer over in the corner? The man in the moon? Ten invisible leprechauns? A flock of parachute-jumping hippopotamuses? Are we playing guessing games, or do you think we can all read

mainCRTstartup warning in ld

2006-03-24 Thread Adam MiedziƄski
can sb know why (newest download cygwin) after compiling in as such a code: .global _start _start: movl $1,%eax movl $0,%ebx int $0x80 when i link with ld it shows warning about mainCRTstartup . .and when i try to run .. it crashes before code executed! and why such a simple program needs

Re: mainCRTstartup warning in ld

2006-03-24 Thread Brian Dessent
Adam Miedzi?ski wrote: when i link with ld it shows warning about mainCRTstartup Because the C runtime startup files expect that your code has a main() function. when i try to run .. it crashes before code executed! You appear to be trying to do *nix type syscalls. That won't work

Re: How to set breakpoints before mainCRTStartup?

2003-12-23 Thread Dalibor Topic
that, i.e. where to put the breakpoint? Are there some docs on what happends before main() on cygwin that I could look up for reference while trying to hunt down this bug? It turns out that the bug happens even before mainCRTStartup. Has anyone seen something like that before? I have seen something

Re: How to set breakpoints before mainCRTStartup?

2003-12-23 Thread Igor Pechtchanski
On Tue, 23 Dec 2003, Dalibor Topic wrote: Steve Coleman wrote: I have seen something like this before. If it is a C++ app then it may be a constructor in a statically or golbally declared object instance. The compiler should generate code to call all the global object constructors for

Re: How to set breakpoints before mainCRTStartup?

2003-12-23 Thread Ralf Habacker
On Tuesday 23 December 2003 18:23, Dalibor Topic wrote: in my attempts to fix an ugly bug in kaffe on Cygwin, the bug I'm trying to squish turned out to be triggered by something that happens *before* main is called. you can set a breakpoint at the application entry point. $ gdb /bin/bash

Re: How to set breakpoints before mainCRTStartup?

2003-12-22 Thread Steve Coleman
the breakpoint? Are there some docs on what happends before main() on cygwin that I could look up for reference while trying to hunt down this bug? It turns out that the bug happens even before mainCRTStartup. Has anyone seen something like that before? I have seen something like this before

How to set breakpoints before mainCRTStartup?

2003-12-20 Thread Dalibor Topic
to hunt down this bug? It turns out that the bug happens even before mainCRTStartup. Has anyone seen something like that before? cheers, dalibor topic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http

mainCRTStartup issue during caudium compilation

2003-03-16 Thread Olivier Warin
Hello ! I am working on a caudium port (http://caudium.net) I am meeting an issue with mainCRTStartup during the compilation process. ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000 I wonder why ld is claiming about such flags whereas caudium is a http server

mainCRTStartup not found at link time (ld)

2003-02-10 Thread gilles BOURGEOIS
hi folks, I am compiling and linking a g++ parser program , I am using ld in my makefile: I got a warning at link time, then at execution time , my program failed (windows Segmentation fault, I even can not break with gdb in main main() code. the warning is : cannot find entry symbol