08-15-2008
Ah, thanks for that feedback.
I guess there's nothing that can be done about that right? no gcc options which create generally compatible instructions (if there is such a thing)?
In any case, thanks for sharing your experience.
Sam
10 More Discussions You Might Find Interesting
1. Programming
Hi,
We are trying to run dbx on a core file for which we have the original executable and libs, but not the source / object tree. We have recompiled the objects from the original source, but dbx complains that they were compiled at a different time, and refuses to read them:
Object file:... (0 Replies)
Discussion started by: Sabari Nath S
0 Replies
2. Linux
Hi,
I am building GCC cross compiler for x86_64-elf
for that a have followed steps,
1. mkdir build-gmp build-mpfr
2. cd build-gmp
3. ../gmp-4.2/configure --prefix=/usr/local
4. make all install
5. make check
6.cd ../build-mpfr
7. ../mpfr-2.3.2/configure... (5 Replies)
Discussion started by: Mandar123
5 Replies
3. Linux
Hi,
I am tried to install GCC cross compiler for 64-bit machine.
i want compile one application for 64 bit machine.
I have followed steps form GCC Cross-Compile - OSDev Wiki .
Please if anybody have installed cross compiler successfully, please tell me the steps followed by you.
Thanking... (0 Replies)
Discussion started by: Mandar123
0 Replies
4. Solaris
Hi
I compiled an executable on Solaris 10 which creates semaphore ( semget)
but it didn't work on solaris 9 , while it is executing sucessfully on solaris 10. It is throwing the system error that Invalid arguments ( system error 22) on solaris 9.
the ldd for the executable on two servers is as... (4 Replies)
Discussion started by: ash_bit2k2
4 Replies
5. Programming
Hi,
Can anyone tell me how to find out how many bits a c executable was compiled in?
I am trying to do some investigation of running 32bit programs in 64bit systems. (1 Reply)
Discussion started by: Leion
1 Replies
6. UNIX for Advanced & Expert Users
I've got a executable binary file (source code fortran77, compiled using gfortran).
I'm not sure this is even possible but I remember someone I knew was able to view the source code that created this binary file, i.e. he used a program that enabled him to see what the source code was.
Is this... (2 Replies)
Discussion started by: lost.identity
2 Replies
7. Programming
I have put some yellow color codes and works well.
I call the funstion using
print_usage(stderr, 0);
I would like to know if there is any way, to store the ansi color codes in variables and then call them inside fprintf.
Or have a format followed by the strings I want to output.
... (5 Replies)
Discussion started by: kristinu
5 Replies
8. Solaris
Hello experts,
This issue has kept me busy all day long. It started off with openssl compilation which was giving linking error with following message:
/usr/local/bin/ld: target elf32-sparc not found
collect2: ld returned 1 exit status
I tried every step possible thing that I could think... (2 Replies)
Discussion started by: d_shanke
2 Replies
9. Linux
Hello Friends,
I tried to take tar backup in my server, but it ended with an error.
It said that:
/home/back/pallava_backup/fbackup_backup/stape_config
/home/back/romam_new.tar.gz
tar: /home/backup/back.tar.gz: Cannot write: No space left on device
tar: Error is not recoverable: exiting... (10 Replies)
Discussion started by: siva3492
10 Replies
10. Programming
Hi,
I am working in UEFI EDK2 Bios source. We created a platform related new package in the EDK2 source. I find a strange issue with the platform related code we added.
When I did source level debugging I noticed the
local variable in a C function is not getting created in stack when its... (6 Replies)
Discussion started by: Divya R
6 Replies
LEARN ABOUT SUSE
iwidgets_feedback
iwidgets::feedback(1) [incr Widgets] iwidgets::feedback(1)
__________________________________________________________________________________________________________________________________________________
NAME
iwidgets::feedback - Create and manipulate a feedback widget to display feedback on the current status of an ongoing operation to the user.
SYNOPSIS
iwidgets::feedback pathName ?options?
INHERITANCE
itk::Widget <- iwidgets::Labeledwidget <- iwidgets::Feedback
STANDARD OPTIONS
background cursor foreground highlightColor
highlightThickness
See the "options" manual entry for details on the standard options.
INHERITED OPTIONS
labelBitmap labelFont labelImage labelMargin
labelPos labelText labelVariable sticky
See the "labeledwidget" class manual entry for details on the inherited options.
WIDGET-SPECIFIC OPTIONS
Name: barcolor
Class: BarColor
Command-Line Switch: -barcolor
Specifies the color of the status bar, in any of the forms acceptable to Tk_GetColor. The default is DodgerBlue.
Name: barheight
Class: BarHeight
Command-Line Switch: -barheight
Specifies the height of the status bar, in any of the forms acceptable to Tk_GetPixels. The default is 20.
Name: troughColor
Class: TroughColor
Command-Line Switch: -troughcolor
Specifies the color of the frame in which the status bar sits, in any of the forms acceptable to Tk_GetColor. The default is white.
Name: steps
Class: Steps
Command-Line Switch: -steps
Specifies the total number of steps for the status bar. The default is 10.
DESCRIPTION
The iwidgets::feedback command creates a widget to display feedback on the current status of an ongoing operation to the user. Display is
given as a percentage and as a thermometer type bar. Options exist for adding a label and controlling its position.
METHODS
The iwidgets::feedback command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on
the widget. It has the following general form: pathName option ?arg arg ...? Option and the args determine the exact behavior of the com-
mand. The following commands are possible for scrolledtext widgets:
WIDGET-SPECIFIC METHODS
pathName cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the scrolled-
html command.
pathName configure ?option? ?value option value ...?
Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available
options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then
the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value
returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget
option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted
by the iwidgets::feedback command.
pathName reset
Reset the current number of steps completed to 0, and configures the percentage complete label text to 0%
pathName step ?inc?
Increase the current number of steps completed by the amount specified by inc. Inc defaults to 1.
EXAMPLE
package require Iwidgets 4.0
iwidgets::feedback .fb -labeltext "Status" -steps 20
pack .fb -padx 10 -pady 10 -fill both -expand yes
for {set i 0} {$i < 20} {incr i} {
.fb step
after 500
}
ACKNOWLEDGEMENTS
Sam Shen
This code is based largely on his feedback.tcl code from tk inspect. The original feedback code is copyright 1995 Lawrence Berkeley
Laboratory.
AUTHOR
Kris Raney
KEYWORDS
feedback, widget
Tk iwidgets::feedback(1)