[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gEDA-dev: pcb and -rdynamic




The recently added check for -rdynamic in pcb has broken non-gcc builds. 
   For example:

 > cc -rdynamic -o foo foo.c
cc: Warning: illegal option -dynamic
 > echo $?
0

so configure things rdynamic is ok however, foo is not ok:

 > file foo
foo:            ELF 32-bit MSB relocatable SPARC32PLUS Version 1, V8+ 
Required
 > ls -l foo
-rw-r--r--   1 yyyyy yyyyy     429116 Oct 16 22:12 foo

note that foo is not an executible

Without  -rdynamic, things are ok:

 > cc  -o foo foo.c
 > file foo
foo:            ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ 
Required, dynamically linked, not stripped
 > ls -l foo
-rwxr-xr-x   1 yyyyy yyyyy       6984 Oct 16 22:12 foo


 > cc -V
cc: Sun C 5.8 2005/10/13
usage: cc [ options] files.  Use 'cc -flags' for details


Any suggestions on the right way to get the compiler specific flags 
which are needed here?

Thanks
-Dan



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev