@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> hello
<0> i need to compile something with gcc 2.95
<0> where do i specify that?
<0> how do i tell makefile which version to use?
<0> i need help
<0> hello
<0> somebody here?
<1> Apparently i broke it
<0> i need to compile something with gcc 2.95
<0> how do i tell makefile which version to use?
<0> when i type ./configure
<0> then make
<0> where it is specified the compiler?
<2> What is a good idea, like Visual Studio, for Ubuntu Dapper though.
<2> What is a good program like Visual Studio for Ubuntu Dapper? For c++
<2> sorry if someone answered me before, my client crashed



<3> Hi all. Anyone familiar with gcj here? I'm trying to port something across to gcj and GNU Cl***path, but I'm running into some compilation problems.
<3> Specifically, it complains about some inner cl***es in my code. There are some bugzilla entries about inner cl***es, just wanted to know if these are working on being fixed...
<4> morning
<5> hi all
<5> does gcc generate fused multiply/add instructions by default on ia64 ?
<5> or is there some flag to force generation of such instructions?
<6> Can someone explain what this means to me?
<6> gcc: -llibpython2.3: linker input file unused because linking not done
<6> gcc: -export-dynamic: linker input file unused because linking not done
<6> And how I can fix it?
<7> you are using linking options even though you do not link (e.g. because you omit linking with -c)
<6> o
<6> thanks.. one other quick question.. Do you know how I can find out the name of a library for ld? I have tried manually looking for it and it keeps telling me it cant find it.
<7> on linux a dynamic libraries are named libfoo.so and static libraries are named libfoo.a the -l option would be -lfoo
<7> by default dynamic libraries are used
<8> hello
<8> what's the equivalent of #pragma comment(lib, "foo.lib") in gcc?
<9> Hi people, for some code thats not valid C++, is it worth sending a bugreport about an ice?
<10> PlasmaHH: unless someone else did already for the same cause, in general yes.
<9> ok, just to confirm, can anyone with a newer g++ than 4.1.0 test this code and tell me if it ices out there too? http://cpp.sourceforge.net/?show=19705
<8> I did read the docs...is correct a "-l libmx.lib" to link a library?
<10> urca: no idea how it is on systems having .lib suffixes, but it looks more like -lmx
<8> ok
<8> I tried but it still complains about not finding the file
<9> maybe you need -L too
<8> even if I added the dir to the path search
<8> with -L it finds the lib
<8> but I still get errors like this: [Linker error] undefined reference to `mexErrMsgTxt'
<8> damn, never figured out it would be so difficult to make a library for matlab
<9> then you need to link against whatever has mexErrMsgTxt
<8> mexErrMsgTxT is in mex.h that is included
<9> its certainly not defined there
<5> urca, no. thats just the declaration
<8> wait
<8> may I past ot?
<9> use a pastebin
<8> ok
<5> past ot? if you mean paste, use a paste site
<8> paste, yes, sorry
<8> http://rafb.net/paste/results/lNhXsB76.html
<8> I found some docs about compiling mex files...sadly only for visual studio
<8> nothing for gcc
<5> urca, yes, thats the declaration.
<9> urca: definition =~= code that will be executed.
<5> just saying that its an extern. you need to find the lib that has the definition
<8> you're right, sorry, I got utterly confused by all these codes, because I am able with matlab, but I know only the very basics of c
<8> probably it would be in those .lib files
<5> possibly in one of those lib files
<8> since I read that in VS you need to use #pragma comment
<8> for those libraries
<8> can't check if it's there...they are compiled...I can oly see them in binary format
<5> are you on some sort of unix or windows?
<8> windows xp
<5> uh ok. so you have cygwin?
<8> not exactly
<8> I am using bloodshed dev c++
<8> dunno if it relies on something like cygwin
<5> uh ok.
<8> maybe I found something
<8> these libs seems to be in different directories compiled for different IDE



<8> could it be the reason?
<8> compilers I meant, not IDE, sorry
<8> the compilers supported are: borland's, watcom's, lcc and VS
<8> dunno which one can be more similar to gcc
<8> currently lcc dir is on the search path
<8> is there a way to see if these libs are compatible with gcc?
<8> maybe I'll do best changing compiler
<8> tnx anyway
<8> see you
<11> hi
<11> i'd need some help with using gcc for a shared objects library
<11> in my file I declare a function which uses Allegro functions (allegro is a games library) and I do include "allegro.h"
<11> so when doing gcc -fPIC -c myModule.c I get no error
<11> neither for gcc -shared -o myModule.so myModule.o
<11> and the .so works fine except that in Python (i created a python module), the function that uses allegro functions is invisible in the namespace
<11> do you have an idea?
<11> ah ok
<11> sorry
<11> there's no problem.. well I haven't tested everything
<5> huh?
<11> i've just done gcc -shared -o myModule.so myModule.o `allegro-config --libs` and it works fine
<5> ok
<11> maybe I had omitted at first to write myModule.o and gcc didn't care...
<11> I have a question..
<11> what is the -c parameter for?
<5> its for compile only.
<5> by default gcc will compile and link.
<5> myselfhimself, you can read the manpage for gcc with: man gcc
<5> or read some introductory tutorial on gcc on the internet
<11> : )
<11> I have read somewhere that in man, you can in some way click on a hyperlink with shift-k, provided you have the cursor on something in bold...
<11> how do you move the cursor?
<11> i'm stupid
<11> thanks for you help
<12> does anyone know how i can make a library give a warning? like "warning: clock is not implemented and will always fail"
<9> you could link against that function and when someone else tries to link against your library without that function, there will be some error
<13> diabolix: what compiler ?
<13> hmm, gcc apparently ...
<9> o rly?
<13> given we are in #gcc, I'd a natural ***umption to make, ok ?
<9> then why ask? :P
<5> heh, maybe velco just woke up?
<13> **** opff
<14> how do I build cross-gcc for mips from linux machine?
<13> diabolix: the only thing that comes in mind the how glibc warns for deprecated or dengerous functions, for example try to link tempnam(). It is done by a special section in the object file, named ".gnu.warning"
<13> diabolix: for details you can look in glibc sources, stdio-common/tempnam.c and include/libc-symbols.h
<7> diabolix: #warning foobar in a common library header
<13> glen_quagmire: do you need c++ and/or C standard library ?
<14> _velco: nope
<13> glen_quagmire: then first you need to build ***embler linker
<14> i just want to use gcc to spit out mips ***embly code
<13> ok
<14> gcc -S -march=mips32
<14> bad value(mips32)
<13> then $gccsrc/configure --prefix=/some/path --target=mips-elf --enable-languages=c
<13> the make -k
<13> don't forget the ``-k''
<13> the make -k install
<13> again ``-k''
<14> thanks you're my hero
<13> and you'll have a compiler, which is good only for mips-elf-gcc -S x.c
<13> (and -march and stuff ;) )
<14> it wont overwrite my existing gcc?
<13> no it won't
<13> in $prefix/bin it will be calls mips-elf-gcc etc
<13> and there wil be a dir $prefix/mips-elf
<13> and $prefix/libc/gcc/mips-elf/$version/...
<14> thanks!!!
<12> _velco, thanks
<14> to build cross compiler for mips-elf, do I need to download the whole thing? can I just use gcc-core ?
<15> Hello
<15> Does anyone know if GNU Java has a Firefox plugin?
<15> That way, I wouldn't have to use Sun's.
<14> I want to have minimal configure options for mips-elf-gcc


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #gcc
or
Go to some related logs:

directly submit ata commands linux
blinken lighten
#debian
emerge xorg-server + 3dfx
dncrTS
colinux debian already installed
#linux
perl sybase libct.so.3
#gentoo
wingrub and suse



Home  |  disclaimer  |  contact  |  submit quotes