1
  • C preprocessor interprets word Linux as a constant 1

    In Linux, the C preprocessor in GCC keeps interpret the word linux as my constant 1. This is the test C: #include int main(void) { int linux = 5; return 0; } But here's the result of $g gcc -E test.c: .... int main(void) { int 1 = 5; return 0; } It keeps giving me an error. What should I do?

    ITKE434,585 pointsBadges:
  • Adding default include path for GCC in Linux

    I'd like GCC to include files from $HOME/include in addition to the usual, but I can't find an analogue to $LD_LIBRARY_PATH. I know I can just add the include directory at command line when compiling (or in the makefile), but I need a universal approach to this. Can someone help me?

    ITKE434,585 pointsBadges:
  • Gentoo Optimizations

    Are the CFLAGS -fguess-branch-probability and -freorder-blocks-and-partition" safe to use with gcc 4.4.1 ?

    Swatikher205 pointsBadges:
  • How can I resolve link symbol dependency of like_intel?

    198597:000000000182d850 d like_intel

    Karoyakani205 pointsBadges:
  • Segmentation Fault (core dumped) C program

    Hi!.. I'm new to this, and sorry if this has been a mistake... Anyway my problem is this. I am finishing a project which utilizes a client-server mode of computing. Its basically somewhat a time manager implemented on LInux environments specifically Ubuntu LInux. The server is web-based which uses...

    CodeBreaker5 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following