Re: Hacer downgrade de gcc.

2010-09-05 Thread angeld
, pero llegados a la compilación me dice que el kernel se compiló con la versión de gcc 4.2.2 y que la que hay actualmente instalada es la 4.2.3 y puede dar problemas, que si deseo continuar o no. Evidentemente, como no podía ser de otra manera, la compilación casca... :-( ¿Cual sería la forma legal

Re: Hacer downgrade de gcc.

2010-09-05 Thread Camaleón
digo que me lo genere, pero llegados a la compilación me dice que el kernel se compiló con la versión de gcc 4.2.2 y que la que hay actualmente instalada es la 4.2.3 y puede dar problemas, que si deseo continuar o no. Evidentemente, como no podía ser de otra manera, la compilación casca

Re: Hacer downgrade de gcc.

2010-09-05 Thread Odair Augusto Trujillo Orozco
la versión de kernel que tengo instalada y que si deseo generarla. Le digo que me lo genere, pero llegados a la compilación me dice que el kernel se compiló con la versión de gcc 4.2.2 y que la que hay actualmente instalada es la 4.2.3 y puede dar problemas, que si deseo continuar o

Re: Hacer downgrade de gcc.

2010-09-05 Thread Ramses
kernel se compiló con la versión de gcc 4.2.2 y que la que hay actualmente instalada es la 4.2.3 y puede dar problemas, que si deseo continuar o no. Evidentemente, como no podía ser de otra manera, la compilación ca sca... :-( ¿Cual sería la forma legal de hacer un downgrade del gcc, si es que

Re: Hacer downgrade de gcc.

2010-09-05 Thread Camaleón
://wiki.debian.org/VMware El instalador de VMware está dando problemas en otras distribuciones, no es la primera queja que leo. (...) ¿Cual sería la forma legal de hacer un downgrade del gcc, si es que la hay?. Por lo menos por comprobar si el problema es el gcc. No, por favor, no hagas eso, que te

gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread Martin McCormick
I have written some C code that appeared to be good until I put a while statement in to one of the modules and then all went to at least Purgatory. It all compiles beautifully but I was alerted to something terribly wrong when the program began misbehaving. I can't even say that it is flaky

Re: gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread Jangita
On 20/08/2010 3:01 p, Martin McCormick wrote: I have written some C code that appeared to be good until I put a while statement in to one of the modules and then all went to at least Purgatory. It all compiles beautifully but I was alerted to something terribly wrong when the program began

Re: gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread Ron Johnson
On 08/20/2010 08:01 AM, Martin McCormick wrote: I have written some C code that appeared to be good until I put a while statement in to one of the modules and then all went to at least Purgatory. It all compiles beautifully but I was alerted to something terribly wrong when the program began

Re: gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread Vincent Lefevre
On 2010-08-20 08:01:46 -0500, Martin McCormick wrote: [...] Reading about the while loop tells me that the statement Actually, that's an expression, not a statement. after while must be true to execute. If I put a boolean variable inside the statement as in (NEXTSYS) does that make a

Re: gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread Martin McCormick
Jangita writes: Not a question for this list but Sorry. 1. Is there any statement in the while loop that changes NEXTSYS? (or better still, send any statement that has NEXTSYS in it while inside the loop) Yes! I didn't even think about that but there is a test inside that loop whose result

Re: gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread hugo vanwoerkom
Martin McCormick wrote: I have written some C code that appeared to be good until I put a while statement in to one of the modules and then all went to at least Purgatory. It all compiles beautifully but I was alerted to something terribly wrong when the program began misbehaving. I can't even

Re: gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread Martin McCormick
Jangita writes: Not a question for this list but Sorry. 1. Is there any statement in the while loop that changes NEXTSYS? (or better still, send any statement that has NEXTSYS in it while inside the loop) Yes! I didn't even think about that but there is a test inside that loop whose result

Re: gcc: A while Loop Always Skips its first Statement.

2010-08-20 Thread Jangita
On 20/08/2010 3:43 p, Martin McCormick wrote: Jangita writes: Not a question for this list but Sorry. 1. Is there any statement in the while loop that changes NEXTSYS? (or better still, send any statement that has NEXTSYS in it while inside the loop) Yes! I didn't even think about that

gcc/++-3.X in lenny

2009-12-13 Thread Emanoil Kotsev
Hi, there, is there a sufficient reason why it's not in lenny. I tried to compile but neither 4.3 nor 4.2 would compile 3.3 I finally downloaded pre-compiled version from etch in debs and installed them. I then could compile my old program What's the best way to go for the future? regards

messed up error messages from gcc

2009-12-02 Thread Mike Castle
testing. gcc -v shows: gcc version 4.3.4 (Debian 4.3.4-6) $ cat t.c void foo(void) { bar(); } $ gcc -Wall -Werror t.c cc1: warnings being treated as errors t.c: In function â: t.c:2: error: implicit declaration of function â I expect something closer to: cc1: warnings being treated

Re: messed up error messages from gcc

2009-12-02 Thread Kumar Appaiah
will immediately recognize the problem as ``Oh yes, you need ... '' I'd suspect some locale issue. Running testing. gcc -v shows: gcc version 4.3.4 (Debian 4.3.4-6) $ cat t.c void foo(void) { bar(); } $ gcc -Wall -Werror t.c cc1: warnings being treated as errors t.c: In function â: t.c:2

Re: messed up error messages from gcc

2009-12-02 Thread Mike Castle
On Wed, Dec 2, 2009 at 10:41 AM, Kumar Appaiah a.ku...@alumni.iitm.ac.in wrote: Could you please try running LC_ALL=C gcc -Wall -Werror t.c and let us know if that solves the issue? Yup. That did it. Thanks for the quick analysis. LANG= gcc ... had the same effect. That's what I get

Re: messed up error messages from gcc

2009-12-02 Thread Mike Castle
installs along the way.)  Just go back to C? Just capturing more information. Apparently every gcc-4.* has this same issue. gcc-3.4 does not. I always thought that part of the joy of the way GNU did translations was that, if it wasn't available, it would always fall back to the strings written

Re: messed up error messages from gcc

2009-12-02 Thread Sven Joachim
On 2009-12-02 21:35 +0100, Mike Castle wrote: I guess this boils down to: is this a bug in gcc or a bug in my set up? Probably there is something wrong on your system, because gcc works as expected in your example here: , | % LANG=en_US.UTF-8 gcc -Wall -Werror t.c | cc1: warnings being

Re: messed up error messages from gcc

2009-12-02 Thread Mike Castle
difference: $ LANG=en_US.utf8 gcc -Werror -Wall t.c 21 | od -c 000 c c 1 : w a r n i n g s b e 020 i n g t r e a t e d a s e 040 r r o r s \n t . c : I n f u 060 n c t i

Packaging gcc

2009-09-22 Thread shampavman
Hi, So Im done with my test package and want to change a few things in gcc.. But I have a slight problem .. dpkg -l |grep gcc r...@wrapster:~/packaging/gcc/gcc-defaults-1.78ubuntu1/debian# dpkg -l |grep gcc ri gcc 4:4.3.3-1ubuntu1

Re: Packaging gcc

2009-09-22 Thread Rakotomandimby Mihamina
09/22/2009 10:17 AM, shampavman: So i cannot remove it nor can i install the new ones.. How do i go about making my changes now? - get the source package - make your modifications - rebuild it, incrementing the build number - upgrade by just installing with dpkg -i package_name.deb --

Re: Packaging gcc

2009-09-22 Thread shampavman
-i package_name.deb Thats exactly what I did.. But there is a small issue i need to understand.. There are more than one pkg(gcc, gcc-4.3, so on) And in such a case how am i suppose to know which pkg sources to collect? What I want to do is to actually create a few symlinks to gcc. Now i tried

Re: Packaging gcc

2009-09-22 Thread Osamu Aoki
Hi, On Tue, Sep 22, 2009 at 12:47:28PM +0530, shampavman wrote: Hi, So Im done with my test package and want to change a few things in gcc.. But I have a slight problem .. playing with gcc is not some novice thing I can answer. dpkg -l |grep gcc r...@wrapster:~/packaging/gcc/gcc-defaults

Re: Compiling libraries and gcc

2009-09-19 Thread Kamaraju S Kusumanchi
that: LD_LIBRARY_PATH is not needed when later running the built software due to libtool's use of rpaths). So,what is the right way to tell gcc (make) to use one or another library path when your system has two installed, one of which under /usr/lib and so will probably be used by default ? I

Compiling libraries and gcc

2009-09-18 Thread Marco Vittorini Orgeas
://library.gnome.org/devel/gtk/unstable/gtk-building.html I am compiling all the code under /opt (/opt/gtk /opt/glib). When I try to compile the software which need those libraries I seem to be just not able to tell gcc that it needs to compile against libraries under /opt and not against the system

gcc versions (was Re: Nvidia cards)

2009-09-03 Thread Giorgos Pallas
lenny, up-to-date: uname -a Linux 2.6.26-2-686 #1 SMP ii gcc-4.3 4.3.2-1.1 The GNU C compiler ii gcc-4.3-base 4.3.2-1.1 The GNU Compiler Collection

Re: Thread hijacking (was: Install gcc)

2009-09-01 Thread S. Fishpaste
in the future. When you have a problem not already discussed here, write a new message instead of replying to an unrelated one. I appreciate your reply, but I don't believe I hijacked a thread. Install gcc is my original subject line that started the thread, yes? No, look at the References header

Re: Install gcc

2009-08-28 Thread David Young
On Thu, August 27, 2009 7:48 pm, Celejar wrote: On Thu, 27 Aug 2009 19:18:28 -0500 (CDT) David Young inf...@io.com wrote: I installed gcc 4.3 using Synaptic, and the process seemed to have succeeded. However, when I enter the gcc -v command, I get a bash: gcc: command not found error

Re: Install gcc

2009-08-28 Thread Celejar
[Please reply only to the list and don't cc. me, as per the list CoC.] On Fri, 28 Aug 2009 07:49:08 -0500 (CDT) David Young inf...@io.com wrote: On Thu, August 27, 2009 7:48 pm, Celejar wrote: On Thu, 27 Aug 2009 19:18:28 -0500 (CDT) David Young inf...@io.com wrote: I installed gcc 4.3

Re: Install gcc

2009-08-28 Thread David Young
...@io.com wrote: I installed gcc 4.3 using Synaptic, and the process seemed to have succeeded. However, when I enter the gcc -v command, I get a bash: gcc: command not found error. Exactly what package(s) did you install? Here's the Synaptic log entry -- Installed the following

Re: Install gcc

2009-08-28 Thread Sven Joachim
On 2009-08-28 02:18 +0200, David Young wrote: I installed gcc 4.3 using Synaptic, and the process seemed to have succeeded. However, when I enter the gcc -v command, I get a bash: gcc: command not found error. Is there additional configuration to be done beyond the package install

Re: Install gcc

2009-08-28 Thread David Young
On Fri, August 28, 2009 8:52 am, Sven Joachim wrote: On 2009-08-28 02:18 +0200, David Young wrote: I installed gcc 4.3 using Synaptic, and the process seemed to have succeeded. However, when I enter the gcc -v command, I get a bash: gcc: command not found error. Is there additional

Thread hijacking (was: Install gcc)

2009-08-28 Thread Sven Joachim
reply, but I don't believe I hijacked a thread. Install gcc is my original subject line that started the thread, yes? No, look at the References header in your message¹. When starting a new thread, this header does not exist, because there are no messages you are referring to. Hitting Reply all

Re: Thread hijacking (was: Install gcc)

2009-08-28 Thread David Young
of replying to an unrelated one. I appreciate your reply, but I don't believe I hijacked a thread. Install gcc is my original subject line that started the thread, yes? No, look at the References header in your message¹. When starting a new thread, this header does not exist, because

Re: Thread hijacking (was: Install gcc)

2009-08-28 Thread Andrew Sackville-West
a problem not already discussed here, write a new message instead of replying to an unrelated one. I appreciate your reply, but I don't believe I hijacked a thread. Install gcc is my original subject line that started the thread, yes? No, look at the References header in your message

gcc 3.3 in Lenny

2009-08-27 Thread David A. Parker
I'm trying to build something in Debian Lenny (x86 32-bit) from old source code that needs gcc 3.3 but the oldest version I see in the repository is 3.4. Is there any way to get packages for gcc versions older than 3.4 under Lenny? Thanks, Dave -- Dave Parker Utica College

Re: gcc 3.3 in Lenny

2009-08-27 Thread Sven Joachim
On 2009-08-27 19:24 +0200, David A. Parker wrote: I'm trying to build something in Debian Lenny (x86 32-bit) from old source code that needs gcc 3.3 but the oldest version I see in the repository is 3.4. Is there any way to get packages for gcc versions older than 3.4 under Lenny? Surely

Install gcc

2009-08-27 Thread David Young
I installed gcc 4.3 using Synaptic, and the process seemed to have succeeded. However, when I enter the gcc -v command, I get a bash: gcc: command not found error. Is there additional configuration to be done beyond the package install? Thanks. -- To UNSUBSCRIBE, email to debian-user-requ

Re: Install gcc

2009-08-27 Thread Celejar
On Thu, 27 Aug 2009 19:18:28 -0500 (CDT) David Young inf...@io.com wrote: I installed gcc 4.3 using Synaptic, and the process seemed to have succeeded. However, when I enter the gcc -v command, I get a bash: gcc: command not found error. Exactly what package(s) did you install

GCC

2009-07-29 Thread simon h
Hello all, just a little existential question: I wonder why Debian needs three versions of the GCC compiler: 4.1, 4.2, and 4.3? Shouldn't one be enough? Is it because the compiler has no down-compatibility? Thanks for sharing your knowledge. Simon -- To UNSUBSCRIBE, email to debian-user

Re: GCC

2009-07-29 Thread Johan Grönqvist
simon h skrev: I wonder why Debian needs three versions of the GCC compiler: 4.1, 4.2, and 4.3? Shouldn't one be enough? Is it because the compiler has no down-compatibility? I think that is the reason, yes. I also think that lack of manpower is the reason there are not even more (older

Re: GCC

2009-07-29 Thread Mark Allums
Johan Grönqvist wrote: simon h skrev: I wonder why Debian needs three versions of the GCC compiler: 4.1, 4.2, and 4.3? Shouldn't one be enough? Is it because the compiler has no down-compatibility? I think that is the reason, yes. I also think that lack of manpower is the reason

Re: GCC

2009-07-29 Thread Mark Allums
Johan Grönqvist wrote: simon h skrev: I wonder why Debian needs three versions of the GCC compiler: 4.1, 4.2, and 4.3? Shouldn't one be enough? Is it because the compiler has no down-compatibility? I think that is the reason, yes. I also think that lack of manpower is the reason

Documentacao do GCC no non-free

2009-06-29 Thread Erick Andrade
Tive uma surpresa ao receber um: $man gcc No manual entry for gcc Depois vi que teria que instalar o gcc-doc. E minha surpresa foi maior quando tive que adicionar os reps non-free pra esse pacote. Andei desligado do mundo mas.. WTF? Por que a documentação do gcc está no non-free? -- []s

Re: Documentacao do GCC no non-free

2009-06-29 Thread Hudson Lacerda
Erick Andrade wrote: Tive uma surpresa ao receber um: $man gcc No manual entry for gcc Depois vi que teria que instalar o gcc-doc. E minha surpresa foi maior quando tive que adicionar os reps non-free pra esse pacote. Andei desligado do mundo mas.. WTF? Por que a documentação do gcc está

Re: Documentacao do GCC no non-free

2009-06-29 Thread Erick Andrade
Lambança.. esse negócio de seções invariantes é uma besteira. Daqui um tempo até o kernel vai estar no non-free. O Debian tá certo, mas quem perde são os usuários. Valeu Hudson! -- []s Erick Andrade 2009/6/29 Hudson Lacerda h...@brfree.com.br Porque a licença GNU FDL não é considerada

Re: Documentacao do GCC no non-free

2009-06-29 Thread Hudson Lacerda
Erick Andrade wrote: Lambança.. esse negócio de seções invariantes é uma besteira. Daqui um tempo até o kernel vai estar no non-free. A propósito, eu sou a favor... http://www.fsfla.org/svnwiki/blogs/lxo/pub/linux-libre http://www.fsfla.org/svnwiki/selibre/linux-libre/ O Debian tá certo,

Re: Documentacao do GCC no non-free

2009-06-29 Thread Erick Andrade
Valeu pelos links.. e a idéia com certeza é válida. -- []s Erick Andrade 2009/6/29 Hudson Lacerda h...@brfree.com.br Erick Andrade wrote: Lambança.. esse negócio de seções invariantes é uma besteira. Daqui um tempo até o kernel vai estar no non-free. A propósito, eu sou a favor...

Re: Documentacao do GCC no non-free

2009-06-29 Thread Debiminho
Olá, De inicio fiquei mesmo confuso !!! Pois, então a unica forma de ter um kernel linux limpo é sacar de http://www.fsfla.org/download/linux-libre/releases/ compilar e instalar ? Então porque não existe já empacutado .deb e não dão a opção de instalar um (actual) ou outro (livre) ? Abraço

Re: Documentacao do GCC no non-free

2009-06-29 Thread Hudson Lacerda
Debiminho wrote: Olá, De inicio fiquei mesmo confuso !!! Pois, então a unica forma de ter um kernel linux limpo é sacar de http://www.fsfla.org/download/linux-libre/releases/ compilar e instalar ? Então porque não existe já empacutado .deb e não dão a opção de instalar um (actual) ou outro

gcc-avr update problem

2009-06-17 Thread J.Hwan.Kim
Hi, everyone I'm using gcc-avr in etch. If I upgrade my debian to lenny and wish to use gcc-avr etch version not lenny version, how can I install gcc-avr and avr other package of etch in lenny environment? Regards, J.H.Kim -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org

Re: gcc-avr update problem

2009-06-17 Thread Umarzuki Mochlis
2009/6/17 J.Hwan.Kim frog1...@gmail.com Hi, everyone I'm using gcc-avr in etch. If I upgrade my debian to lenny and wish to use gcc-avr etch version not lenny version, how can I install gcc-avr and avr other package of etch in lenny environment? maybe apt pinnning can be of use

GCC

2009-05-13 Thread Miguel Obliviemo
Has anyone noticed any problems with Lenny's gcc 4.3.2? Okay, I know it's impossible. But I'm imagining that I see a ${SOMETHING} in CFLAGS in the Makefile not being expanded on Lenny amd64 when it is set in the environment, but the identical code working (oops, being expanded) on an older non

Re: GCC

2009-05-13 Thread Vincent Lefevre
On 2009-05-13 21:43:14 +0930, Miguel Obliviemo wrote: Has anyone noticed any problems with Lenny's gcc 4.3.2? Okay, I know it's impossible. Yes: it is buggy. In particular, it doesn't build GMP 4.3.0 correctly (I haven't looked at GMP 4.3.1 yet under lenny). The bug has been fixed upstream

Re: GCC

2009-05-13 Thread Boyd Stephen Smith Jr.
In pine.lnx.4.64.0905132131530.23...@calypso.view.net.au, Miguel Obliviemo wrote: Has anyone noticed any problems with Lenny's gcc 4.3.2? Okay, I know it's impossible. But I'm imagining that I see a ${SOMETHING} in CFLAGS in the Makefile not being expanded on Lenny amd64 when it is set

Re: confused about gcc-4.3 version in my system

2009-03-24 Thread Chris Bannister
, it will be changed to -2 to reflect that there is a break in the binary compatibility. The -6 is a patch level, or point release, and reflects the 2.6.xx.yy version. AIUI, the -x (where x is any number) is the Debian version of a package, e.g. the diference between gcc 4.3.3-2 and 4.3.3-3

Re: confused about gcc-4.3 version in my system

2009-03-24 Thread Chris Bannister
On Tue, Mar 17, 2009 at 08:37:47AM -0700, shaul Karl wrote: dpkg (dpkg -l gcc-4.3) reports that 4.3.3-3 is installed. The latest entry in /var/log/apt/term reports 4:4.3.3-2 were set up. ^^ typo? To add

Re: confused about gcc-4.3 version in my system

2009-03-24 Thread Sven Joachim
On 2009-03-24 13:03 +0100, Chris Bannister wrote: On Tue, Mar 17, 2009 at 08:37:47AM -0700, shaul Karl wrote: dpkg (dpkg -l gcc-4.3) reports that 4.3.3-3 is installed. The latest entry in /var/log/apt/term reports 4:4.3.3-2 were set up

confused about gcc-4.3 version in my system

2009-03-18 Thread shaul Karl
dpkg (dpkg -l gcc-4.3) reports that 4.3.3-3 is installed. The latest entry in /var/log/apt/term reports 4:4.3.3-2 was set up. Which version do I have? To add to my confusion, I seem to remember that the head of /usr/share/doc/gcc-4.3/changelog.Debian.gz pointed to 4.3.3-3 before the mentioned

Re: confused about gcc-4.3 version in my system

2009-03-18 Thread Mark Allums
shaul Karl wrote: dpkg (dpkg -l gcc-4.3) reports that 4.3.3-3 is installed. The latest entry in /var/log/apt/term reports 4:4.3.3-2 was set up. Which version do I have? To add to my confusion, I seem to remember that the head of /usr/share/doc/gcc-4.3/changelog.Debian.gz pointed to 4.3.3-3

confused about gcc-4.3 version in my system

2009-03-17 Thread shaul Karl
dpkg (dpkg -l gcc-4.3) reports that 4.3.3-3 is installed. The latest entry in /var/log/apt/term reports 4:4.3.3-2 were set up. To add to my confusion, I seem to remember that the head of /usr/share/doc/gcc-4.3/changelog.Debian.gz pointed to 4.3.3-3 before the mentioned entry in var/log/apt/term

gcc CFLAGS por defecto

2009-01-26 Thread Hector Oron
Hola, ¿Alguno sabría decirme como puedo preguntar a gcc que $CFLAGS tiene configurados por defecto? Lo más próximo que he encontrado gcc -dumpspecs o gcc -v pero ninguno me dice que -march o -mcpu es el de por defecto. Saludos -- Héctor Orón -- To UNSUBSCRIBE, email to debian-user

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-20 Thread owens
Original Message From: [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: Re: [OT] Learning MIPS ISA using GCC and Debian Date: Sun, 19 Oct 2008 18:19:59 -0700 On Sun, 19 Oct 2008 20:55:03 -0400 Jerry Stuckle [EMAIL PROTECTED] wrote: I would say that is one of the worst

Re: apt-cross --arch powerpc -i gcc

2008-10-20 Thread Chris Bannister
On Fri, Oct 17, 2008 at 11:05:33PM +0200, Mathieu Malaterre wrote: Hi there, I do not understand what I am doing wrong. I would like to install a power-ppc gcc compiler on my debian testing box. I found a simple page for gentoo: http://psas.pdx.edu/GentooCrossCompilerHowto/, and I

[OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Amit Uttamchandani
I am learning the MIPS ISA in class and I guess the best way to learn this is using real world examples. Thus, I was hoping I could write a program in C and compile it into MIPS assembly and learn the MIPS ISA that way. I am not too familiar with gcc but I have used it and I also know

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Jerry Stuckle
was hoping I could write a program in C and compile it into MIPS assembly and learn the MIPS ISA that way. I am not too familiar with gcc but I have used it and I also know that objdump tool can be used to disassemble C programs. However, I am not sure how to cross-compile into MIPS. I apologize

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Ron Johnson
On 10/19/08 19:39, Amit Uttamchandani wrote: I am learning the MIPS ISA in class and I guess the best way to learn this is using real world examples. Thus, I was hoping I could write a program in C and compile it into MIPS assembly and learn the MIPS ISA that way. I am not too familiar with gcc

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Amit Uttamchandani
On Sun, 19 Oct 2008 20:55:03 -0400 Jerry Stuckle [EMAIL PROTECTED] wrote: I would say that is one of the worst ways to learn MIPS. A good compiler will have numerous optimizations, and the resultant code may bear little resemblance to the original C. Even if you disable all

Re: [OT] Learning MIPS ISA using GCC and Debian

2008-10-19 Thread Amit Uttamchandani
it into MIPS assembly and learn the MIPS ISA that way. I am not too familiar with gcc but I have used it and I also know that objdump tool can be used to disassemble C programs. However, I am not sure how to cross-compile into MIPS. I apologize if this question is too obvious. Running

apt-cross --arch powerpc -i gcc

2008-10-17 Thread Mathieu Malaterre
Hi there, I do not understand what I am doing wrong. I would like to install a power-ppc gcc compiler on my debian testing box. I found a simple page for gentoo: http://psas.pdx.edu/GentooCrossCompilerHowto/, and I was interested to do the same. I do have qemu installed, but I simply can't get

Re: gcc no encuentra gtk/gtk.h

2008-10-13 Thread Victor H De la Luz
On Sat, Oct 11, 2008 at 6:03 PM, Guillermo Salas M. [EMAIL PROTECTED] wrote: El sáb, 11-10-2008 a las 03:40 -0700, xploiting escribió: Hola lista, estoy aprendiendo a utilizar la librería GTK. Tengo instalado libgtk2.0-dev, y cuando compilo el programa, gcc me avisa que no encuentra gtk/gtk.h

Re: gcc no encuentra gtk/gtk.h

2008-10-11 Thread Manolo Díaz
El Sat, 11 Oct 2008 03:40:13 -0700 (PDT) xploiting [EMAIL PROTECTED] escribió: Hola lista, estoy aprendiendo a utilizar la librería GTK. Tengo instalado libgtk2.0-dev, y cuando compilo el programa, gcc me avisa que no encuentra gtk/gtk.h. El mensaje de error es exactamente

Re: gcc no encuentra gtk/gtk.h

2008-10-11 Thread mariodebian
El sáb, 11-10-2008 a las 03:40 -0700, xploiting escribió: Hola lista, estoy aprendiendo a utilizar la librería GTK. Tengo instalado libgtk2.0-dev, y cuando compilo el programa, gcc me avisa que no encuentra gtk/gtk.h. El mensaje de error es exactamente: ventana_simple.c:2:21: error: gtk

gcc no encuentra gtk/gtk.h

2008-10-11 Thread xploiting
Hola lista, estoy aprendiendo a utilizar la librería GTK. Tengo instalado libgtk2.0-dev, y cuando compilo el programa, gcc me avisa que no encuentra gtk/gtk.h. El mensaje de error es exactamente: ventana_simple.c:2:21: error: gtk/gtk.h: No existe el fichero o el directorio ¿Alguien sabe

Re: gcc no encuentra gtk/gtk.h

2008-10-11 Thread Guillermo Salas M.
El sáb, 11-10-2008 a las 03:40 -0700, xploiting escribió: Hola lista, estoy aprendiendo a utilizar la librería GTK. Tengo instalado libgtk2.0-dev, y cuando compilo el programa, gcc me avisa que no encuentra gtk/gtk.h. El mensaje de error es exactamente: ventana_simple.c:2:21: error: gtk

Problema al compilar con gcc.-

2008-08-23 Thread Dalmasso Pablo N
Hola gente, quería saber si alguien me puede ayudar por que tengo problemas al compilar con gcc tanto el 4.3 como el 4.2 y el 4.1, el kernel que tengo actualmente es el 2.6.25-2, el debian es testing, y el error que me tiraba antes es gcc: error trying to exec 'cc1plus': execvp: No existe el

Re: Problema al compilar con gcc.-

2008-08-23 Thread Victor H De la Luz
2008/8/23 Dalmasso Pablo N [EMAIL PROTECTED]: Hola gente, quería saber si alguien me puede ayudar por que tengo problemas al compilar con gcc tanto el 4.3 como el 4.2 y el 4.1, el kernel que tengo actualmente es el 2.6.25-2, el debian es testing, y el error que me tiraba antes es gcc: error

Re: Problemas GCC + debian etch amd64

2008-05-20 Thread angel
El lun, 19-05-2008 a las 22:31 -0400, Santiago Yegros escribió: Acabo de bajarme e instalarme el etch AMD64, ya todavia tenia el viejo Sarge... Bueno.. lo raro es que necesitaba usar unos programas hechos en C y luego de instalar los packetes de gcc, no puedo compilarlos.. es decir.. al

Problemas GCC + debian etch amd64

2008-05-19 Thread Santiago Yegros
Acabo de bajarme e instalarme el etch AMD64, ya todavia tenia el viejo Sarge... Bueno.. lo raro es que necesitaba usar unos programas hechos en C y luego de instalar los packetes de gcc, no puedo compilarlos.. es decir.. al compilarlos me despiega un error.. como este: programa.c:2:19: error

Re: Problemas GCC + debian etch amd64

2008-05-19 Thread Mauro Silva
Instalaste build-essential, kernel-headers, gcc y demas? Saludos! --- Santiago Yegros [EMAIL PROTECTED] escribió: Acabo de bajarme e instalarme el etch AMD64, ya todavia tenia el viejo Sarge... Bueno.. lo raro es que necesitaba usar unos programas hechos en C y luego de instalar los

debs and gcc version

2008-04-09 Thread Georgi Naplatanov
Hello, list. Is there a way/program to guess gcc version used for compilation of some debian package ? Best regards Georgi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: debs and gcc version

2008-04-09 Thread Kamaraju S Kusumanchi
Georgi Naplatanov wrote: Hello, list. Is there a way/program to guess gcc version used for compilation of some debian package ? I am not aware of any such program. But if all you wanted to know is the gcc version used, then you can take a look at the build logs provided at http

Re: debs and gcc version

2008-04-09 Thread Georgi Naplatanov
Thank you for the answers. I want to use something like strings from binutils packages, something like strings binary_file | grep gcc , but seem that these strings are removed from binaries. Best regards Georgi Kamaraju S Kusumanchi wrote: Georgi Naplatanov wrote: Hello, list

Difficulty setting up gcc packages.

2008-03-16 Thread Luca Renaud
I set up gcc,gcc-4.1 using apt,which installed the necessary packages (I think) and now running the configure script of opensource software(not in Debian) I have this message: configure: error: C compiler cannot create executables,see config.log for more details. I cannot find any file

Re: Difficulty setting up gcc packages.

2008-03-16 Thread Raj Kiran Grandhi
Luca Renaud wrote: I set up gcc,gcc-4.1 using apt,which installed the necessary packages (I think) and now running the configure script of opensource software(not in Debian) I have this message: configure: error: C compiler cannot create executables,see config.log for more details. I cannot

Re: Difficulty setting up gcc packages.

2008-03-16 Thread Kamaraju S Kusumanchi
Luca Renaud wrote: I set up gcc,gcc-4.1 using apt,which installed the necessary packages (I think) and now running the configure script of opensource software(not in Debian) I have this message: configure: error: C compiler cannot create executables,see config.log for more details. I

Re: Difficulty setting up gcc packages.

2008-03-16 Thread Jeff D
Luca Renaud wrote: I set up gcc,gcc-4.1 using apt,which installed the necessary packages (I think) and now running the configure script of opensource software(not in Debian) I have this message: configure: error: C compiler cannot create executables,see config.log for more details. I cannot

Re: how to switch gcc between diffrent versions in debian way?

2008-03-01 Thread Kamaraju S Kusumanchi
hhding wrote: It seems ln /usr/bin/gcc is not a clean way. You can just use gcc-version_number where ever you are using gcc before. If you are configuring source, you can do something like ./configure CC=gcc-version_number hth raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages

how to switch gcc between diffrent versions in debian way?

2008-02-29 Thread hhding
It seems ln /usr/bin/gcc is not a clean way. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: how to switch gcc between diffrent versions in debian way?

2008-02-29 Thread Deng Xiyue
hhding [EMAIL PROTECTED] writes: It seems ln /usr/bin/gcc is not a clean way. Change your CC environmental variable to the version you want, as $ export CC=gcc-4.1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Unable to view gcc manpages on Debian 4.0 r3 i386

2008-02-25 Thread Jude DaShiell
try info gcc and see what happens. On Thu, 21 Feb 2008, Michael Madden wrote: I'm having problems viewing manpages for gcc on Debian 4.0 r3 i386. Other manpages work just fine. :~$ man gcc No manual entry for gcc See 'man 7 undocumented' for help when manual pages are not available

Unable to view gcc manpages on Debian 4.0 r3 i386

2008-02-21 Thread Michael Madden
I'm having problems viewing manpages for gcc on Debian 4.0 r3 i386. Other manpages work just fine. :~$ man gcc No manual entry for gcc See 'man 7 undocumented' for help when manual pages are not available. :~$ man g++ No manual entry for g++ See 'man 7 undocumented' for help when manual pages

Re: Unable to view gcc manpages on Debian 4.0 r3 i386

2008-02-21 Thread Kamaraju S Kusumanchi
Michael Madden wrote: I'm having problems viewing manpages for gcc on Debian 4.0 r3 i386. Other manpages work just fine. :~$ man gcc No manual entry for gcc See 'man 7 undocumented' for help when manual pages are not available. :~$ man g++ No manual entry for g++ See 'man 7 undocumented

Re: Unable to view gcc manpages on Debian 4.0 r3 i386

2008-02-21 Thread Wayne Topa
Michael Madden([EMAIL PROTECTED]) is reported to have said: I'm having problems viewing manpages for gcc on Debian 4.0 r3 i386. Other manpages work just fine. :~$ man gcc No manual entry for gcc See 'man 7 undocumented' for help when manual pages are not available. :~$ man g++ No manual

Re: Unable to view gcc manpages on Debian 4.0 r3 i386

2008-02-21 Thread Douglas A. Tutty
On Thu, Feb 21, 2008 at 07:10:04AM -0600, Michael Madden wrote: I'm having problems viewing manpages for gcc on Debian 4.0 r3 i386. Other manpages work just fine. :~$ man gcc No manual entry for gcc Do you have the manpages-dev package installed? See 'man 7 undocumented' for help when

Re: Unable to view gcc manpages on Debian 4.0 r3 i386

2008-02-21 Thread Sven Joachim
On 2008-02-21 16:16 +0100, Douglas A. Tutty wrote: gcc-doc is in main. No, it is in contrib. I just looked at packages.debian.org: http://packages.debian.org/search?keywords=gcc-docsearchon=namessuite=allsection=allsourceid=mozilla-search My guess would be that gcc-doc[version

varios gcc instalados

2008-02-18 Thread aux
Hola, actualmente veo que tengo varios GCC instalados (por dependencias y demas que se instalaron solos) # dpkg -l|grep gcc ii gcc 4:4.2.2-2 The GNU C compiler ii gcc-3.3-base 1:3.3.6-15 The GNU

Re: varios gcc instalados

2008-02-18 Thread Jonatan Fierro Sáez
no te trae problemas, si eres programador te sirve para ver que problemas te arroja al compilar un mismo fuente en distintas versiones del compilador, ademas de ver cual te genera un codigo mas optimo, etc. ps: sorry se me fue un mensaje a tu email y no a la lista :) -- To UNSUBSCRIBE, email

Re: varios gcc instalados

2008-02-18 Thread Luis Rodrigo Gallardo Cruz
On Mon, Feb 18, 2008 at 06:36:32PM +0100, aux wrote: Hola, actualmente veo que tengo varios GCC instalados (por dependencias y demas que se instalaron solos) # dpkg -l|grep gcc ii gcc-3.3-base 1:3.3.6-15 The GNU Compiler Collection (base package

<    1   2   3   4   5   6   7   8   9   10   >