Mi Apr 10 16:35:29 2013
Good evening
Thank You for help.
>
> *
> OK
>
> But when I
> compile with Xubuntu
> the file doit.pas to doit.out
> it only is able to run with a Debian Linux.
> Is this right?
>
It is a little complex, mostly the program will run on most versions of
linux.
*
How about the big families
deb
and
Fedora?
BUT (There's always a but) your compiler will detect your computers cpu
type and compile for that it may produce very plain code which will run
on just about any machine but it might not.
*
Does this mean
pascalcode.pas
tranlated to
pascalcode.out
is running only the computer
where I did compile it?
But
pascalcode.pas compiled by Doscompiler als pascalcode.out is running
on every Dosmachine?
My development machine is a
64 bit/ 8 processor machine and I often target it, the code would not
run on a 32 bit machine or a single cpu core. if you have an amd chip
you might have problems with intel machines and vice versa*
*
How about to compile with 32 bit Linux
and then use a 64 bit Linux?
If you link to librarys you need to check that they are available on the
machine running your program. this is specially true of those librarys
that are 'dynamically' linked (.dll in windows, .so in linux)
*
What is the problem
if I do not use libraries
also simple commands like write read and so on?
mostly in the linux world programs are distributed either in source form
(in a tar ball file ending .tgz) which you unzip then run the old
configure / make / make install or as packages (.deb or .rpm) both of
which check for all the 'dependencies'
*
Does that mean
example
Pascal
there are distributed source.pas files?
> "Gnu Compiler Collection"
> Is this a good idea to use it as beginner?
Yup, it can be quite simple to use 'gpc myprog.pas -omyprog' on the
command line.
*
OK
As you learn more, and your programs get more
sophisticated you get more interested in the compiler.
*
Yes.
Also you can
start using simple makefiles and the like. fpc is probably a better
pascal compiler specially when coupled with lazarus (the ide)
*
Here in the mailing list
some told me
Lazarus is better
others told me
GNU is better.
You can usually rely on any linux machine having gcc installed whereas
fpc is not as common.
Is fpf and Freepascal the same?
Regards
Sophie
------------------------------------
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
LINUX_Newbies-digest@yahoogroups.com
LINUX_Newbies-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
LINUX_Newbies-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment