Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
gnu . gcc . help
This is a Usenet group - learn more
Find or start a Google Group about gcc.
Group info
Language: English
Group categories: Not categorized
More group info »
Related Groups
GNU C++ compiler (G++) user queries and answers.
Low activity, Usenet
Q&A for people programming under Unix.
Low activity, Usenet
Discussion about C.
Low activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 30078  Older »
Description: GNU C Compiler (gcc) user queries and answers.
 

loading shared libs 
  I'm trying to get gdb to load a game that's crashing. $ file ./game ./game: POSIX shell script text executable $ gdb .libs/game GNU gdb (Gentoo 7.0 p1) 7.0 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <[link]> This is free software: you are free to change and redistribute it.... more »
By Joe  - 7:05pm - 1 new of 1 message    

Can't find libc.so.6 
  I am building an ARM cross compiler on x86 linux. SYSROOT=/home/zhong/cross PREFIX=$SYSROOT/usr BINUTILS=binutils-2.20 GCC=gcc-4.4.2 GLIBC=glibc-2.10.1 My steps: 1. Install linux headers to $SYSROOT/usr/include 2. ../$BINUTILS/configure --prefix=$PREFIX --target=arm-linux --with- sysroot 3. bootstrap gcc... more »
By zhongho  - Jan 3 - 2 new of 2 messages    

forcing a function inline and no optimize 
  Hi, I would like to implement sensitive assembler routines and use inline functions instead of cpp macros or pure assembler. Is there a way to force such functions to be inline? I want to have guarantees that the function will be expanded. Is there a way to define the complete function to not be optimized? I... more »
By Balban  - Dec 31 2009 - 1 new of 1 message    

Predefined macros for -msse2 
  Hi, I wonder whether GCC makes a predefined macro for -msse2. That is, if I compile my binary with -msse2, I get __SSE__ defined on a Mac OS X but I couldn't find a relevant, and documented, predefined macro for - mssse2. I want do something equivalent to following: ... #define HAS_SSE 1 // defined for -msse2 - but what about following?... more »
By Kevin Brandon  - Dec 13 2009 - 1 new of 1 message    

Choose a different linker than ld 
  Hi, I need to force gcc to use a custom linker. The problem rise from my toolchain. I'm using a mosync.com and I have 2 alternative build systems: cmake and autotools. With both I don't how to set the linker. Cmake try to use gcc and finally gcc try to use ld but it cannot find it. So a solution could be a gcc option to set the linker. The linker is... more »
By breezeight  - Dec 12 2009 - 2 new of 2 messages    

trying to compile glibc-2.11 
  i have tried to compile glibc-2.11 abd got the error that my system is not supported! the name reported is i686-nt-cygwin and the following 'config.txt' file is as follows
By Neil Morris  - Dec 7 2009 - 2 new of 2 messages    

How to override -fpack-struct ? 
  Hi, I have a rather large project that heavily depends on structure packing using -fpack-struct. I would estimate several dozen structures that absolutely must be packed in order for the software to work properly. Today I encountered a problem where a third-party library that doesn't work properly when included from source code that is compiled with -... more »
By irotas  - Dec 7 2009 - 1 new of 1 message    

-combine affects _mm_prefetch 
  Hi, All, I am trying out "-combine" option on GCC to see if it will help to do inter-object optimization. I have some mmx instructions using instructions like "_mm_prefetch", and g++ complaints these symbols are undefined. I did objdump on the object file compiled using "-combine", and got these: 0000000000000000 *UND* 0000000000000000 _mm_prefetch... more »
By Freq  - Dec 7 2009 - 4 new of 4 messages    

GCC -O0+flags != -O1 
  I have a test program for an algorithm. It runs fine compiled -O0; I ran it overnight last night, no seg fault. If I compile -O1 (or -O2) it seg faults after a few seconds. I used -Q -help=optimizers to list the optimizations for -O0 and -O1; I then compiled -O0 and explicitly added the list of extra optimizations... more »
By Toby Douglass  - Dec 5 2009 - 12 new of 12 messages    

Dereference or not, the argument to "m" in GCC inline assembly? 
  I am writing inline assembly, implementing atomic operations. I use the "m" constraint when indicating memory (rather than registers) which is being operated upon. Example function (where atom_t is unsigned long int); INLINE atom_t abstraction_increment( atom_t *value ) { atom_t stored_flag,... more »
By Toby Douglass  - Dec 1 2009 - 3 new of 3 messages    

1 - 10 of 30078   « Newer | Older »

XML      
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google