nanogui: Linking with libm crashes my FLTK-program on Cygwin. [OOPS]


Previous by date: 29 Jun 2001 18:08:12 -0000 Re: Problems with ioctl_getpalette() and ioctl_setpalette(), Jordan Crouse
Next by date: 29 Jun 2001 18:08:12 -0000 Re: mouse driver, Jordan Crouse
Previous in thread: 29 Jun 2001 18:08:12 -0000 Linking with libm crashes my FLTK-program on Cygwin. [OOPS], Petri J. Riipinen
Next in thread:

Subject: Re: [nanogui] Linking with libm crashes my FLTK-program on Cygwin. [OOPS]
From: Jordan Crouse ####@####.####
Date: 29 Jun 2001 18:08:12 -0000
Message-Id: <0106291209190A.25408@cosmic>

Sounds like the -libm on CYGWIN32 isn't all its cracked up to be.    I would 
leave it out unless it is absolutely nessesary.

Jordan


On Friday 29 June 2001 11:18, Petri J. Riipinen mentioned:
> Oops, sorry, sent to the wrong mailing list...
>
> - Pete
> --------------------
> Hi folks,
>
> I'm making an application with FLTK, using also some other library (GDAL)
> that requires the linking of libm.a with the final exe. I'm using Cygwin32
> with gcc 2.95.3-5 on Windows NT.
>
> Now, originally my program worked well but when I add libm.a to the final
> linking, my program wont start at all. Well, it starts but doesn't even get
> into main(), e.g. nothing prints out from the first printf in beginning of
> main. It doesn't core dump or anything, just hangs.
>
> I tried the same with the keyboard-test program that comes with FLTK-1.0.11
> and the same happens. Without -lm on the makefile it works but when I add
> it, it hangs on start.
>
> Any ideas why libm crashes FLTK-based programs???
>
> - Petri
> <><><><><><><><>
>    Petri J. Riipinen
> ####@####.####
> <><><><><><><><>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Previous by date: 29 Jun 2001 18:08:12 -0000 Re: Problems with ioctl_getpalette() and ioctl_setpalette(), Jordan Crouse
Next by date: 29 Jun 2001 18:08:12 -0000 Re: mouse driver, Jordan Crouse
Previous in thread: 29 Jun 2001 18:08:12 -0000 Linking with libm crashes my FLTK-program on Cygwin. [OOPS], Petri J. Riipinen
Next in thread:


Powered by ezmlm-browse 0.20.