Re: gcc-10: options order important?

2021-09-03 Thread Sven Joachim
On 2021-09-03 12:24 +0200, Piotr A. Dybczyński wrote: > Hi, > > in contrary to previous versions, now in Debian 11 with gcc-10: > > gcc aa.c -lm -o aa works, but > > gcc -lm aa.c -o aa does not work, saying: > > /usr/bin/ld: /tmp/ccWyhudO.o: in function `main': > aa.c:(.text+0

Re: gcc-10: options order important?

2021-09-03 Thread tomas
On Fri, Sep 03, 2021 at 12:59:27PM -0400, Greg Wooledge wrote: > On Fri, Sep 03, 2021 at 02:12:46PM +0100, Tixy wrote: > > > A man page a found online [1] says linking happens as Greg described, > > > and this is true looking at a 6 year old copy of that page on > > > archive.org. So seems strange

Re: gcc-10: options order important?

2021-09-03 Thread Greg Wooledge
On Fri, Sep 03, 2021 at 02:12:46PM +0100, Tixy wrote: > > A man page a found online [1] says linking happens as Greg described, > > and this is true looking at a 6 year old copy of that page on > > archive.org. So seems strange that for many years my Makefiles have > > worked with Libraries specif

Re: gcc-10: options order important?

2021-09-03 Thread Tixy
On Fri, 2021-09-03 at 14:10 +0100, Tixy wrote: > On Fri, 2021-09-03 at 12:24 +0200, Piotr A. Dybczyński wrote: > > Hi, > > > > in contrary to previous versions, now in Debian 11 with gcc-10: > > > > gcc aa.c -lm -o aa works, but > > > > gcc -lm aa.c -o aa does not work, sayin

Re: gcc-10: options order important?

2021-09-03 Thread Tixy
On Fri, 2021-09-03 at 12:24 +0200, Piotr A. Dybczyński wrote: > Hi, > > in contrary to previous versions, now in Debian 11 with gcc-10: > > gcc aa.c -lm -o aa works, but > > gcc -lm aa.c -o aa does not work, saying: [...] > It seems that an option -lm cannot be placed in a

Re: gcc-10: options order important?

2021-09-03 Thread Greg Wooledge
On Fri, Sep 03, 2021 at 12:24:39PM +0200, Piotr A. Dybczyński wrote: > Hi, > > in contrary to previous versions, now in Debian 11 with gcc-10: > > gcc aa.c -lm -o aa works, but > > gcc -lm aa.c -o aa does not work, saying: > > /usr/bin/ld: /tmp/ccWyhudO.o: in function `main

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 08:35:29AM -0700, Don Armstrong wrote: > On Thu, 14 Jun 2018, to...@tuxteam.de wrote: > > Took out mk-sbuild for a whirl. What I didn't like at all: when you > > invoke a command and it goes out and starts installing packages fo

Re: GCC 7

2018-06-14 Thread Don Armstrong
On Thu, 14 Jun 2018, to...@tuxteam.de wrote: > Took out mk-sbuild for a whirl. What I didn't like at all: when you > invoke a command and it goes out and starts installing packages for > you (and doing other assorted sysadmin tasks). You can do everything that mk-sbuild does for you manually, but

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 01:06:27PM +0200, Irek Szcześniak wrote: > I tried schroot in a different way, as described here: > > https://wiki.debian.org/Schroot > > As part of the process, you install a complete, fresh Buster with: > > debootstrap bust

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
I tried schroot in a different way, as described here: https://wiki.debian.org/Schroot As part of the process, you install a complete, fresh Buster with: debootstrap buster /srv/chroot/buster So this solution is like a container. Best, Irek On 14.06.2018 12:47, to...@tuxteam.de wrote:

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 08:37:57AM -0700, Don Armstrong wrote: > On Wed, 13 Jun 2018, Irek Szcześniak wrote: > > Thanks for pointing out pbuilder, I think I'll give it a try. I also might > > want to try virtual containers, but it seems like an overki

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 10:44:59AM +0200, Irek Szcześniak wrote: > Tomás, thank you again for your email. > > I didn't finally try pbuilder, because compiling GCC solved my > problem. If something goes wrong, I'll use schroot. Thanks for > pointing o

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
Tomás, thank you again for your email. I didn't finally try pbuilder, because compiling GCC solved my problem. If something goes wrong, I'll use schroot. Thanks for pointing out pbuilder, it may come handy one day! Best, Irek On 13.06.2018 12:20, to...@tuxteam.de wrote: -BEGIN PGP SIG

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
Thank you, Don, for your advice! I tried schroot, and it's awesome! I followed the steps on: https://wiki.debian.org/Schroot I was able to build my code just as on Buster. The difference between schroot and chroot is that with schroot you have assess to the files outside the root directory

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
Georgi, thank you for you email. I gave it a try. On Stretch, GCC 8.1 compiled and installed cleanly. I put the path to the gcc binary (/usr/local/gcc-8.1.0/bin) in my PATH, and I compiled and ran my code without any other configuration. I expected some linking problems, but the binary dyna

Re: GCC 7

2018-06-13 Thread Georgi Naplatanov
On 06/13/2018 11:04 AM, Irek Szcześniak wrote: > Hi, > > I need GCC 7 on my Debian Stretch.  Previously I upgraded my Stretch to > Testing (Buster), but I ran to some problems, and reinstalled the system > back to Stretch. > > Could someone offer an advice on how to get a working GCC 7 on Debian

Re: GCC 7

2018-06-13 Thread Don Armstrong
On Wed, 13 Jun 2018, Irek Szcześniak wrote: > Thanks for pointing out pbuilder, I think I'll give it a try. I also might > want to try virtual containers, but it seems like an overkill. You might also try out schroot. Something like: apt-get install schroot ubuntu-dev-tools; mk-sbuild unstable;

Re: GCC 7

2018-06-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 12:06:21PM +0200, Irek Szcześniak wrote: > Thanks, Tomás, for your email. > > I should have written before that I don't want the GCC 7 to be a > system-wide compiler, along with libraries and some other > dependencies. I need G

Re: GCC 7

2018-06-13 Thread Irek Szcześniak
Thanks, Tomás, for your email. I should have written before that I don't want the GCC 7 to be a system-wide compiler, along with libraries and some other dependencies. I need GCC 7 to compile my own code (C++17) that I run. I don't need to distribute the binaries. Yes, GCC 7 is not in the b

Re: GCC 7

2018-06-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 10:04:25AM +0200, Irek Szcześniak wrote: > Hi, > > I need GCC 7 on my Debian Stretch. Previously I upgraded my Stretch > to Testing (Buster), but I ran to some problems, and reinstalled the > system back to Stretch. > > Could

Re: gcc-doc in stretch

2016-08-06 Thread Steven Tan
Thanks for clarifying. On Sat, Aug 6, 2016 at 7:32 AM, Christian Seiler wrote: > On 08/06/2016 04:08 PM, Steven Tan wrote: > > https://packages.debian.org/search?keywords=gcc-doc&; > searchon=names&suite=all§ion=all > > It looks like the package gcc-doc is not provided in stretch, not even in >

Re: gcc-doc in stretch

2016-08-06 Thread Christian Seiler
On 08/06/2016 04:08 PM, Steven Tan wrote: > https://packages.debian.org/search?keywords=gcc-doc&searchon=names&suite=all§ion=all > It looks like the package gcc-doc is not provided in stretch, not even in > contrib or non-free, but the package is provided in jessie and sid. > > Is this a bug or in

Re: gcc and associated pkgs

2014-02-09 Thread Chris Bannister
On Sun, Feb 09, 2014 at 06:29:27PM -0500, Brad Alexander wrote: > What versions of gcc is it safe to remove? I have gcc 4.{1..8} installed on > a box, and I'm fairly sure I can get rid of at least 4.1 - 4.6. Also, what > associated packages should be removed with it? Should I get rid of > equivalen

Re: [r...@verizon.net: Re: GCC - Best way to build cross compiler?]

2012-05-24 Thread rbmj
On 05/21/2012 06:20 AM, Chris Bannister wrote: Hi, rbmj, Please keep messages on list. Read: http://www.debian.org/MailingLists/ If you are not subscribed, you will not rec replies to your queries! Weird, I know, butI thought I'd seen emails from you before hence thought you were subscribed.

[r...@verizon.net: Re: GCC - Best way to build cross compiler?]

2012-05-21 Thread Chris Bannister
lease let the list know so that, hopefully, the mistake will only be made once. - Forwarded message from rbmj - Date: Sun, 20 May 2012 12:34:27 -0400 From: rbmj To: Chris Bannister Subject: Re: GCC - Best way to build cross compiler? On 05/20/2012 11:33 AM, Chris Bannister wrote: >

Re: GCC - Best way to build cross compiler?

2012-05-20 Thread rbmj
On 05/20/2012 11:33 AM, Chris Bannister wrote: On Sat, May 19, 2012 at 10:00:59PM -0400, rbmj wrote: Bump... Am I posting this on the wrong list? Did you see: http://lists.debian.org/debian-user/2012/05/msg01511.html I did not see that. Thanks for the tip - I'll check that out. On 05/20/2

Re: GCC - Best way to build cross compiler?

2012-05-20 Thread Chris Bannister
On Sat, May 19, 2012 at 10:00:59PM -0400, rbmj wrote: > Bump... Am I posting this on the wrong list? Did you see: http://lists.debian.org/debian-user/2012/05/msg01511.html -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people wh

Re: GCC - Best way to build cross compiler?

2012-05-20 Thread keith
On Sat, 19 May 2012 22:00:59 -0400 rbmj wrote: > On 05/14/2012 08:49 PM, rbmj wrote: > > Hi all, > > > > So, I want to create packages for a cross compiler targeting > > powerpc-wrs-vxworks on Wheezy. I don't exactly know how to approach [] > Bump... Am I posting this on the wrong list? >

Re: GCC - Best way to build cross compiler?

2012-05-19 Thread rbmj
On 05/14/2012 08:49 PM, rbmj wrote: Hi all, So, I want to create packages for a cross compiler targeting powerpc-wrs-vxworks on Wheezy. I don't exactly know how to approach the problem. With binutils it's easy enough to just grab the sources with apt-get source and then run 'TARGET=powerpc

Re: GCC - Best way to build cross compiler?

2012-05-14 Thread Chris Bannister
On Mon, May 14, 2012 at 08:49:36PM -0400, rbmj wrote: > Hi all, > > So, I want to create packages for a cross compiler targeting > powerpc-wrs-vxworks on Wheezy. I don't exactly know how to approach > the problem. You'll _probably_ have better luck on the debian-embedded mailing list, mainly bec

Re: gcc using Pipes Some Progress

2011-07-15 Thread lee
Martin McCormick writes: > Ivan Jager writes: > if( write(leftchannel_pipe[1], &leftbyte, 1) < 0) > if ((leftchannel_pipe[0] = fdopen(leftdata,"r")) == NULL) { And leftchannel_pipe is supposed to be an array? Without seeing more of your program, we're left in the dark ... --

Re: gcc using Pipes

2011-07-14 Thread Ivan Jager
On Thu, Jul 14, 2011 at 06:30:21AM -0500, Martin McCormick scribbled: > #After the step, we should have two file descriptors. > (gdb) output leftchannel_pipe > {7, 8} [...] > #that also looks right, but let's try to write to leftchannel_pipe. > main () at 2pipes.c:98 > 98 fwrite(&leftbyte,size

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 but

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 re

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 sa

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 re

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 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 misb

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 misbeh

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

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 there are not

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 there are not

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) versi

Re: gcc-avr update problem

2009-06-17 Thread Umarzuki Mochlis
2009/6/17 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? maybe apt pinnning can be of use > > > Regards, > J

Re: GCC

2009-05-13 Thread Boyd Stephen Smith Jr.
In , 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 in the environment, >but the identical code working (oops

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 (a

Re: GCC compiler

2007-04-29 Thread John L Fjellstad
Cédric Lucantis <[EMAIL PROTECTED]> writes: > This is documented in the make info page, under section 6.5 "How to use > variables/Setting". I don't know if this is specific to gnu make or not. Thanks. I really appreciate the explaination (I looked it up in my make book, it the book I have was m

Re: GCC compiler

2007-04-29 Thread Cédric Lucantis
Le dimanche 29 avril 2007 19:40, John L Fjellstad a écrit : > "Michael Marsh" <[EMAIL PROTECTED]> writes: > > If I'm using GNU make, I hardly ever use "=" instead of ":=", unless I > > really want to define a macro. You're a lot more likely to get what > > you expect most of the time, and you can

Re: GCC compiler

2007-04-29 Thread John L Fjellstad
"Michael Marsh" <[EMAIL PROTECTED]> writes: > If I'm using GNU make, I hardly ever use "=" instead of ":=", unless I > really want to define a macro. You're a lot more likely to get what > you expect most of the time, and you can use "+=". What's the difference? My book on Make mentions "=", bu

Re: GCC compiler

2007-04-29 Thread Michael Marsh
On 4/29/07, Cédric Lucantis <[EMAIL PROTECTED]> wrote: Le dimanche 29 avril 2007 04:56, Micha Feigin a écrit: > On Sat, 28 Apr 2007 22:20:08 -0300 > "Iuri Sampaio" <[EMAIL PROTECTED]> wrote: > > $(BIN): $(OBJS) > > > > $(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LIBS) > > Not really an answe

Re: GCC compiler

2007-04-29 Thread Cédric Lucantis
Le dimanche 29 avril 2007 04:56, Micha Feigin a écrit : > On Sat, 28 Apr 2007 22:20:08 -0300 > > "Iuri Sampaio" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > > > > > I tried to compile a C source code, using make command: > > > > > > > > The Makefile script is: > > > > > > > > BINDIR = ./ > > > > LIBD

Re: GCC compiler

2007-04-28 Thread Micha Feigin
On Sat, 28 Apr 2007 22:20:08 -0300 "Iuri Sampaio" <[EMAIL PROTECTED]> wrote: > Hi, > > > > I tried to compile a C source code, using make command: > > > > The Makefile script is: > > > > BINDIR = ./ > > LIBDIR = /foo/im/lib/Linux24 > > INCLUDE = /foo/im/include > > > > CC = gcc

Re: gcc docs and linking...

2007-01-30 Thread Digby Tarvin
On Tue, Jan 30, 2007 at 07:18:07PM +, Digby Tarvin wrote: > Just when I thought I just about had a Debian system that > was complete enough to develop on without needing access > to my older distros > > Does anyone know how to fix: > [EMAIL PROTECTED]:~/work/audio$ man gcc > No

Re: gcc docs and linking...

2007-01-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/07 13:18, Digby Tarvin wrote: > Just when I thought I just about had a Debian system that > was complete enough to develop on without needing access > to my older distros > > Does anyone know how to fix: > [EMAIL PROTECTED]:~/work/a

Re: gcc version used to compile the kernel

2006-10-28 Thread Pollywog
On Sunday 29 October 2006 02:09, Pollywog wrote: > On Sunday 29 October 2006 02:01, Elimar Riesebieter wrote: > > > I believe the errors are due to incorrect gcc versions used to compile > > > the module and the kernel. I am using > > > > Hmm, you have to be root to insmod the drivers. > > Shouldn'

Re: gcc version used to compile the kernel

2006-10-28 Thread Kamaraju Kusumanchi
On Saturday 28 October 2006 22:01, Elimar Riesebieter wrote: > On Sat, 28 Oct 2006 the mental interface of > > Kamaraju Kusumanchi told: > > Hi all > > How can I find the gcc version that was used to compile the kernel? I > > am running debian testing (etch) with > > > > $uname -a > > Linux kus

Re: gcc version used to compile the kernel

2006-10-28 Thread Pollywog
On Sunday 29 October 2006 02:01, Elimar Riesebieter wrote: > > I believe the errors are due to incorrect gcc versions used to compile > > the module and the kernel. I am using > > Hmm, you have to be root to insmod the drivers. > Shouldn't one use modprobe with current versions of Linux? Of cours

Re: gcc version used to compile the kernel

2006-10-28 Thread Elimar Riesebieter
On Sat, 28 Oct 2006 the mental interface of Kamaraju Kusumanchi told: > Hi all > How can I find the gcc version that was used to compile the kernel? I am > running debian testing (etch) with > > $uname -a > Linux kusumanchi 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686 > GNU/Linux

Re: gcc-4.1

2006-09-11 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/11/06 23:58, H.S. wrote: > Rocky Ou wrote: > [snip] > Others have given you good replies. I would add that do not name > your output file (the executable) as "test". A "test" command > already exists in Linux. But not in DOS/Windows... :\ - --

Re: gcc-4.1

2006-09-11 Thread CaT
On Tue, Sep 12, 2006 at 12:58:49AM -0400, H.S. wrote: > Others have given you good replies. I would add that do not name your > output file (the executable) as "test". A "test" command already exists > in Linux. I don't believe it matters much. Only the crazy and the inept have . in their $PATH

Re: gcc-4.1

2006-09-11 Thread H.S.
Rocky Ou wrote: Hey all here it is [EMAIL PROTECTED]:~$ ls -l c_0912.c -rw-r--r-- 1 lover lover 103 2006-09-12 10:58 c_0912.c [EMAIL PROTECTED]:~$ more c_0912.c #include using namespace std; int main() { out<<"Hey, YOU:) I'm good"\n; cin.get(); } [EMAIL PROTECTED]:~$ gcc c_0912.c -o test

Re: gcc-4.1

2006-09-11 Thread Joshua J. Kugler
On Monday 11 September 2006 19:11, Rocky Ou wrote: > On 9/12/06, Kevin Mark <[EMAIL PROTECTED]> wrote: > > On Mon, Sep 11, 2006 at 10:32:09PM +0800, Rocky Ou wrote: > > > Hey, > > > > > > Thanks for your reply but it still not doing the work. > > > > > > [EMAIL PROTECTED]:~$ gcc good.c > > > gcc: g

Re: gcc-4.1

2006-09-11 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/11/06 22:11, Rocky Ou wrote: > On 9/12/06, Kevin Mark <[EMAIL PROTECTED]> wrote: >> On Mon, Sep 11, 2006 at 10:32:09PM +0800, Rocky Ou wrote: [snip] > Hey all here it is > > [EMAIL PROTECTED]:~$ ls -l c_0912.c > -rw-r--r-- 1 lover lover 103 2006

Re: gcc-4.1

2006-09-11 Thread Rocky Ou
On 9/12/06, Kevin Mark <[EMAIL PROTECTED]> wrote: On Mon, Sep 11, 2006 at 10:32:09PM +0800, Rocky Ou wrote: > Hey, > > Thanks for your reply but it still not doing the work. > > [EMAIL PROTECTED]:~$ gcc good.c > gcc: good.c: No such file or directory > gcc: no input files > [EMAIL PROTECTED]:~$ >

Re: gcc-4.1

2006-09-11 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/11/06 21:01, Rocky Ou wrote: > On 9/12/06, Kevin Mark <[EMAIL PROTECTED]> wrote: >> On Mon, Sep 11, 2006 at 10:32:09PM +0800, Rocky Ou wrote: >>> Hey, >>> >>> Thanks for your reply but it still not doing the work. >>> >>> [EMAIL PROTECTED]:~$ g

Re: gcc-4.1

2006-09-11 Thread Rocky Ou
On 9/12/06, Kevin Mark <[EMAIL PROTECTED]> wrote: On Mon, Sep 11, 2006 at 10:32:09PM +0800, Rocky Ou wrote: > Hey, > > Thanks for your reply but it still not doing the work. > > [EMAIL PROTECTED]:~$ gcc good.c > gcc: good.c: No such file or directory > gcc: no input files > [EMAIL PROTECTED]:~$ >

Re: gcc-4.1

2006-09-11 Thread Rocky Ou
On 9/12/06, Kevin Mark <[EMAIL PROTECTED]> wrote: On Mon, Sep 11, 2006 at 10:32:09PM +0800, Rocky Ou wrote: > Hey, > > Thanks for your reply but it still not doing the work. > > [EMAIL PROTECTED]:~$ gcc good.c > gcc: good.c: No such file or directory > gcc: no input files > [EMAIL PROTECTED]:~$ >

Re: gcc-4.1

2006-09-11 Thread Kevin Mark
On Mon, Sep 11, 2006 at 10:32:09PM +0800, Rocky Ou wrote: > Hey, > > Thanks for your reply but it still not doing the work. > > [EMAIL PROTECTED]:~$ gcc good.c > gcc: good.c: No such file or directory > gcc: no input files > [EMAIL PROTECTED]:~$ > > > Can any of you help me please? Hi Rocky,

Re: gcc-4.1

2006-09-11 Thread Michael Marsh
On 9/11/06, Rocky Ou <[EMAIL PROTECTED]> wrote: On 9/11/06, Michael Marsh <[EMAIL PROTECTED]> wrote: > On 9/11/06, Rocky Ou <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED]:~$ gcc good.c > > gcc: good.c: No such file or directory > > gcc: no input files > > [EMAIL PROTECTED]:~$ > > Silly question

Re: gcc-4.1

2006-09-11 Thread Michael Marsh
On 9/11/06, Rocky Ou <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED]:~$ gcc good.c gcc: good.c: No such file or directory gcc: no input files [EMAIL PROTECTED]:~$ Silly question but, is there a file called "good.c" in that directory? -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://ma

Re: gcc-4.1

2006-09-11 Thread Rocky Ou
Hey, Thanks for your reply but it still not doing the work. [EMAIL PROTECTED]:~$ gcc good.c gcc: good.c: No such file or directory gcc: no input files [EMAIL PROTECTED]:~$ Can any of you help me please? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble?

Re: gcc-4.1

2006-09-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/11/06 01:14, Rocky Ou wrote: > Hey list, > > I'm using Debian sid. And I have gcc-4.1 installed on it. It seem I can not > even start the aplication. Blow are my few tries. > > [EMAIL PROTECTED]:~$ gcc filename > gcc: filename: No such file or

Re: gcc change from 4.0 to 3.4

2006-03-11 Thread Marco Calviani
Hi Hugo, > But you didn't tell us what the problem was. it was related to this problem. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303098 with cernlib libraries. Regards, MC

Re: gcc change from 4.0 to 3.4

2006-03-11 Thread Hugo Vanwoerkom
Marco Calviani wrote: Hi Andrew, run the following: update-alternatives --config cc thank you very much. This has been a good help, that resolved also my compiling process. Regards, MC But you didn't tell us what the problem was. H -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: gcc change from 4.0 to 3.4

2006-03-11 Thread Marco Calviani
Hi Andrew, > run the following: > update-alternatives --config cc thank you very much. This has been a good help, that resolved also my compiling process. Regards, MC

Re: gcc change from 4.0 to 3.4

2006-03-10 Thread Andrew Cady
On Fri, Mar 10, 2006 at 02:56:45PM +0100, Marco Calviani wrote: > Hi list, >i'm asking if there is some way to change the default compiler > and related variables in a consistent way to another version. In > particular i would like to change it, due to some incompatibilies, > from 4.0 to 3.4. I

Re: gcc change from 4.0 to 3.4

2006-03-10 Thread kamaraju kusumanchi
Marco Calviani wrote: Hi list, i'm asking if there is some way to change the default compiler and related variables in a consistent way to another version. In particular i would like to change it, due to some incompatibilies, from 4.0 to 3.4. I've tried the "brutal" way changing the symlink of

Re: gcc 4.0.3 and kernel 2.6.8

2006-02-14 Thread Glenn Meehan
Hi, I downgraded gcc to stable. gcc version 3.3.6 It works ok now. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: gcc 4.0.3 and kernel 2.6.8

2006-02-14 Thread Andreas Janssen
Hello Glenn Meehan (<[EMAIL PROTECTED]>) wrote: > It seems there is a bug with the kernel 2.6.8 that the new verison of > gcc (4.0.3) has picked up. So I am now unable to make menuconfig: > > make menuconfig > HOSTCC scripts/kconfig/mconf.o > scripts/kconfig/mconf.c:91: error: static declarat

Re: gcc internal error

2005-12-11 Thread David E. Fox
On Sat, 10 Dec 2005 15:40:50 -0500 Marty Landman <[EMAIL PROTECTED]> wrote: > UNCLELEO:~# memtest86 > bash: memtest86: command not found > UNCLELEO:~# find / -name memtest86 > UNCLELEO:~# It's probably not included on the mini-iso. If you have a repository setup, you could easily just aptitude in

Re: gcc internal error

2005-12-10 Thread Stephen Cormier
On Saturday 10 December 2005 16:40, Marty Landman wrote: > UNCLELEO:~# memtest86 > bash: memtest86: command not found > UNCLELEO:~# find / -name memtest86 > UNCLELEO:~# > > Did above as root. Or could this indicate a hosed install? You download from the web and burn the memtest86 iso image to CD t

Re: gcc internal error

2005-12-10 Thread Marty Landman
At 03:08 PM 12/10/2005, David E. Fox wrote: Is the error repeatable - same source file, same error? Yes, I tried a few times. does it happen with other compiles? Don't know yet, wanted to do Samba first. I'd first try memtest86 - run it through and see if there are any memory errors foun

Re: gcc internal error

2005-12-10 Thread David E. Fox
On Fri, 09 Dec 2005 12:53:23 -0500 Marty Landman <[EMAIL PROTECTED]> wrote: > I've recently installed Woody on an old PC - 166Mhz w/ 2.5 GB hd. Am trying > to get Samba installed from the source; after doing ./configure, apparently Woody is a bit old - you might do well to install (sarge) stabl

Re: gcc-4 : am I the only one having problems?

2005-11-11 Thread Mike Chandler
On Thursday 10 November 2005 07:49 pm, Jules Dubois wrote: > On Thursday 10 November 2005 19:40, Mike Chandler > <[EMAIL PROTECTED]> > > (<[EMAIL PROTECTED]>) wrote: > > Since my testing system updated to gcc-4, I can no longer build a kernel > > (the > > debian way). Doing "make oldconfig" or "ma

Re: gcc-4 : am I the only one having problems?

2005-11-10 Thread Jules Dubois
On Thursday 10 November 2005 19:40, Mike Chandler <[EMAIL PROTECTED]> (<[EMAIL PROTECTED]>) wrote: > Since my testing system updated to gcc-4, I can no longer build a kernel > (the > debian way). Doing "make oldconfig" or "make xconfig" gives errors almost > immediately and won't build. What ver

Re: gcc-4 : am I the only one having problems?

2005-11-10 Thread pascal
I'm also using gcc4 and can't build the hpt374 driver. Oldconfig is working. How about menuconfig? Mike Chandler schreef: >Folks, hello and thanks for the help you've generously offered thus far. >Since my testing system updated to gcc-4, I can no longer build a kernel (the >debian way). Doing "

Re: gcc always does a segmentation fault

2005-01-09 Thread Alex Papadopoulos
Ok, two friends of mine tried 'gcc -v'. They have the exact same error. The funny thing is that one of them seems to have a functionnal gcc (he managed to compile shfs module, I couldn't (that's why I found out of this bug)).. Anyway, I'm sending a mail to the package maintainer... _

Re: gcc always does a segmentation fault

2005-01-09 Thread Alex Papadopoulos
I reinstalled gcc but it didn't work. I changed myself the link to /usr/bin/gcc-3.3 still segfault. But you're right :) I linked /usr/lib/gcc-lib/i486-linux/2.8.1 to /usr/lib/gcc-lib/i486-linux/3.3.5 and it worked ! Now what I need to know is WHY does my gcc try to access 2.8.1 and not 3.3.5 ?

Re: gcc always does a segmentation fault

2005-01-09 Thread Elimar Riesebieter
On Sun, 09 Jan 2005 the mental interface of Alex Papadopoulos told: [...] > Reading specs from /usr/lib/gcc-lib/i486-linux/2.8.1/specs ^ > Segmentation fault It seems, that you are using gcc-2.8.1. A proper dir for 3.3 must look like /usr/lib/gc

Re : gcc always does a segmentation fault

2005-01-09 Thread Alex Papadopoulos
Yes Rem, everything is working fine, except gcc... I don't get it... I'm using sid yes... _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ -- To UNSUBSCRIBE

Re: gcc with Debian on amd64

2004-12-24 Thread Michael Madden
David Purton wrote: Usually development headers and import libraries are not installed by default. You want libc6-dev. dc Thanks for all the help. libc6-dev wasn't installed. I've used potato, woody, and sarge forever, and I never had to install libc6-dev by hand. I guess it is part of the base i

Re: gcc with Debian on amd64

2004-12-24 Thread Nikita V. Youshchenko
> [EMAIL PROTECTED]:~$ gcc -o hello hello.c > hello.c:1:19: stdio.h: No such file or directory If one package (namely: gcc-3.3) recommends another package (namely: libc6-dev), you probably should install second together with the first unless you have seriuos reasons not to do so :). If you are

Re: gcc with Debian on amd64

2004-12-23 Thread Rogério Brito
On Dec 23 2004, Michael Madden wrote: > #include > > int main(void) > { > printf("Hello World!\n"); > return (0); The parentheses here are superfluous. The return word in C is a command, not a function. > } > > [EMAIL PROTECTED]:~$ gcc -o hello hello.c > hello.c:1:19: stdio.h: No such

Re: gcc with Debian on amd64

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 09:22:33PM -0600, Michael Madden wrote: > [EMAIL PROTECTED]:~$ gcc -o hello hello.c > hello.c:1:19: stdio.h: No such file or directory install "build-essential", and "devscripts" if you want to be able to build debian packages. -- To UNSUBSCRIBE, email to [EMAIL PROTEC

Re: gcc with Debian on amd64

2004-12-23 Thread David Purton
On Thu, Dec 23, 2004 at 09:22:33PM -0600, Michael Madden wrote: > I just installed the latest amd64 netboot on my Sun > SunFire V20z, and I tried to compile a simple C program: > > #include > > int main(void) > { > printf("Hello World!\n"); > return (0); > } > > [EMAIL PROTECTED]:~$ gcc

Re: Gcc problem on Athlon box

2004-12-01 Thread Lian Liming
Thank you very much for reply. Your solution my solve the problem of compiling kernel. But in my athlon box, i find i can't successfully compile any software form the source. So i just think is there any common rule to solve this problem? Thank you very much for reply. Sarunas wrote: -BEGIN P

Re: Gcc problem on Athlon box

2004-12-01 Thread Sarunas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lian Liming wrote: | Hi all, | I have a Athlon XP 1400 box. And after installing Debian, i find i | can never successfully compile the new kernel, there are always | "internal compile error" reported by gcc. I believe I had the same problem. To suc

Re: gcc-3.2: what happened to libgcc1, libg2c0, binutils

2004-11-27 Thread David A. Cobb
Alexander Sack wrote: David A. Cobb wrote: On Tuesday 23 November 2004 00:19, David A. Cobb wrote: After five months of struggling ( I had connectivity very briefly before an "upgrade" make my whole installation useless and sent me back to the CD's ), it appears that I need to be able to build

Re: gcc-3.2: what happened to libgcc1, libg2c0, binutils

2004-11-23 Thread Alexander Sack
David A. Cobb wrote: On Tuesday 23 November 2004 00:19, David A. Cobb wrote: After five months of struggling ( I had connectivity very briefly before an "upgrade" make my whole installation useless and sent me back to the CD's ), it appears that I need to be able to build the nVidia kernel-patc

Re: gcc-3.2: what happened to libgcc1, libg2c0, binutils

2004-11-22 Thread David A. Cobb
Rui Silva wrote: why not do apt-get install --reinstall gcc3.2 it would download all the dependecies First reason: this damn nVidia box won't give me internet connectivity from Linux until I can apply the patches. Second reason: if it isn't on the download site, it isn't gonna be downloaded an

  1   2   3   4   5   >