Ξέρει κανείς τι ακριβώς είναι το "-Ο2" ή το "-DCONTEST" ή ακόμη "-s -static -Im".
Δεν πιστεύω να δημιουργηθεί πρόβλημα με αυτές τισ ρυθμίσεις,ούτε να χρειαστεί κάτι ιδιαίτερο, έτσι. Απλώς τις παραβλέπω, σωστά ??

-lm: link with the math.h library...-static
The HP-UX implementation of setlocale in libc has a dependency on
libdld.sl. There isn't an archive version of libdld.sl. Thus,
when the -static option is specified, special link options are
needed to resolve this dependency.
On HP-UX 10 and later, the GCC driver adds the necessary options to
link with libdld.sl when the -static option is specified. This
causes the resulting binary to be dynamic. On the 64-bit port, the
linkers generate dynamic binaries by default in any case. The
-nolibdld option can be used to prevent the GCC driver from adding
these link options.
Κώδικας: Επιλογή όλων
#ifndef CONTEST
prinf("%d\n", N);
#else
fprintf(out, "%d\n", N);
#endif
Δεν πρόκειται να δημιουργηθεί κανένα πρόβλημα, μην αγχώνεσαι. Αν κάνει compile τοπικά, θα κάνει και όταν το στείλεις στον grader.jimDim έγραψε:Δεν πιστεύω να δημιουργηθεί πρόβλημα με αυτές τισ ρυθμίσεις,ούτε να χρειαστεί κάτι ιδιαίτερο, έτσι. Απλώς τις παραβλέπω, σωστά ??