Anonymous,
Dell OEM licenses are valid ONLY on Dell computers and are invalid on any other computer.
Your best option is to acquire the correct Recovery/Reinstallation CD for the exact model of Gateway computer you have and use that to install XP on the Gateway.
Most major manufacturers will send you their Recovery/Reinstallation CDs if they have them in stock for a relatively modest fee to cover costs and shipping.