This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: I use NetBeans (v. 6.5 Beta, now RC2 ; v. 6.1 not used by downloaded) to develop scientific programmes coded in Fortran. I am currently building dynamic libraries, as well as static libraries (but not preferred as indicated in your documentation). Linking my libraries with a main.f - or main.c to test this process through a simple hello programme) always fails. One reason put forward by NetBeans : crt0.o not found. With the Finder, I looked for crt0.o. It doesn't exist. I found crt1.o in /Developer/STKs/MacOSX10.5.sdk/usr/lib, but NetBeans doesn't call it (through dyld and ld for the linking phase). The APPLE Technical Q&A 1118 is very explicit and very useful, but not with NetBeans it seems. Not found crt0 (.c, .as ???) in the Darwin download page. Steps to Reproduce: Linking (with -L and -l options) libraries - dynamic or static - with NetBeans. Expected Results: Download the library, and issue the correct results (e.g., such a message). Actual Results: Some errors : i) dyld : library not downloaded. ii) crt0.o not found. iii) Reason : image not found. Regression: Mac OS-X Leopard 10.5.5. Xcode 3.1.1. NetBeans 6.5beta, NetBeans 6.5RC2, NetBeans 6.1. Notes: First programme used : a radiative transfer simulation software coded in Fortran. To test the "error", having wriiten a simple Hello programme with a library : i) hello.h : void hello (void) ; ii) hello.c : #include <stdio.h> void hello (void) { printf ("Hello ! Si ça s'affiche, c'est que ça marche.\n"); } iii) main.c : #include <stdio.h> #include "hello.h" main () { hello () ; } Building the library linhello.dylib (or libhello.a) with hello.c. Then linking with main.o. With GNU gcc in a Terminal window, it works. Not with NetBeans. Regrets. ---------------------------------------------------------- Hoping you a good receipt. Yours sincerely, Laurent Delphin
Changing to enhancement. We don't currently support stopping before main. Its something we should consider. Possibly as an option?